Re: launching Script Editor files launches associated applications
Re: launching Script Editor files launches associated applications
- Subject: Re: launching Script Editor files launches associated applications
- From: Mike at Lens and Shutter <email@hidden>
- Date: Thu, 18 Jan 2001 11:12:29 -0800
on 1/18/01 9:36 AM, Michael Turner at email@hidden wrote:
>
The following script launches 2 applications if double clicked from the
>
finder: (3 including ScriptEditor)
>
>
tell application "Adobe. Photoshop. 5.0.2"
>
activate
>
end tell
>
>
tell application "QuarkXPress 4.1"
>
activate
>
end tell
>
>
They also launch when the script is opened via the "open" command in
>
ScriptEditor. Subsequent opening of the file does not re-launch the
>
application.
try using "Smile", it opens the script without opening the apps (in this
case, at least).
>
The both launch incorrectly. Quark because of my Xtension wonks out when
>
launched this way (ScriptMasterXT ironically enough)
Not sure why you are getting a problem there, I am running ScriptMasterXT
and Quark opens fine.
When I record opening Quark it reads as follows.
tell application "Adobe. Photoshop. 5.0.2"
activate
end tell
tell application "QuarkXPress 4.1"
activate
(*"ScriptMaster XT active"*)
end tell
I removed the (*"ScriptMaster XT active"*) and it still opened fine so I
don't think that is the problem. You may want to try it though.
Mike Hinkins