Re: launching Script Editor launches app
Re: launching Script Editor launches app
- Subject: Re: launching Script Editor launches app
- From: "Marc K. Myers" <email@hidden>
- Date: Thu, 18 Jan 2001 16:29:48 -0500
- Organization: [very little]
Michael Turner wrote:
>
Date: Thu, 18 Jan 2001 11:27:34 -0500
>
Subject: launching Script Editor launches app
>
From: Michael Turner <email@hidden>
>
To: <email@hidden>
>
>
I have several scripts that immediately launch the associated application
>
upon being launched themselves. This is most annoying because the
>
application in question (Quark) launches WRONG (Xtensions wacked), and I
>
have to quit it and relaunch anyway. What is causing this?
I'm not sure I understand what you mean. If a script sends events to an
application and the application isn't already running, the application
will get launched. If being launched from a script doesn't work
properly, I can think of two fixes. The easiest is to have the app
already running when you fire up the script. The other is to put code
into your script to give the app enough time to finish up its
initialization procedures before you send it any commands beyond "turn
yourself on". It's possible that Quark just needs a little more time
for housekeeping before it's ready to function.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[1/18/01 4:27:24 PM]