Re: Running Scripts
Re: Running Scripts
- Subject: Re: Running Scripts
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 2 Nov 2007 19:37:46 -0400
Why not use Folder Actions to trigger the scripts only when a file is
added to the folder, rather than having them check over and over?
On 11/2/07, Ruby Madraswala <email@hidden> wrote:
> I have about 15 scripts running; all the scripts check their respective
> hotfolder and if it finds a file it processes the file. Files are
> dropped in hotfolder about 2 -10 times a day. The scripts check the
> hotfolders every 2-5 minutes. Running all script at same time slows the
> computer
>
> I know how to check for files in a folder, but how I do call a script to
> run from a folder on the desktop.
>
>
> If file in hotfolder1
> Run script1
> End if
>
> If file in hotfolder2
> Run script2
> End if
>
> And so on. This way the scripts run only when there is a file in any of
> the hotfolders. This hopefully will avoid 15 scripts to run
> simultaneously OR any other suggestions.
>
>
> Thanks
>
> Ruby
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden