Re: applescript-users digest, Vol 2 #1100 - 6 msgs
Re: applescript-users digest, Vol 2 #1100 - 6 msgs
- Subject: Re: applescript-users digest, Vol 2 #1100 - 6 msgs
- From: "Marc K. Myers" <email@hidden>
- Date: Sun, 23 Sep 2001 02:39:24 -0400
- Organization: [very little]
>
Date: Sun, 23 Sep 2001 16:09:12 +1200
>
To: email@hidden
>
From: Blair Ward <email@hidden>
>
Subject: Srcipts in Start Up Folder
>
>
I have had a mixed bag of success with scripts in the Start Up
>
folder. I have been unable to obtain a fail safe method of first
>
ensuring the scripts operate and secondly that they work in the
>
desired order. I have used a variety of naming systems for the
>
scripts. I would appreciate hearing from anyone with information on
>
this. Thanks for your time.
>
Blair
>
email@hidden
You weren't very specific about what kind of problems you're
experiencing. If you could amplify on that maybe someone here could
help you with them.
As for getting scripts to execute in the right order, the easiest way I
can come up with is to have a master script that calls the other
scripts, using "run script", in the desired order. If you have
non-script applications that must run between the scripts you could
initiate them from the master script as well.
Another approach would be for each script to have an idle handler that
would check to see if the previous script had completed and only
continue with the "body" of the script when it had. The "Sleep
Commands" OSAX (in a loop) will give you the same functionality without
having an idle handler or requiring the script to be saved as stay-open.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[9/23/01 2:36:15 AM]