• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running Scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Running Scripts (From: "Ruby Madraswala" <email@hidden>)

  • Prev by Date: Re: [Slightly OT] Scripting Bridge in Leopard
  • Next by Date: Re: Why doesn't this script work?
  • Previous by thread: Running Scripts
  • Next by thread: Re: Script Debugger
  • Index(es):
    • Date
    • Thread