Re: NSAppleScript: Compiling a script launches an application
Re: NSAppleScript: Compiling a script launches an application
- Subject: Re: NSAppleScript: Compiling a script launches an application
- From: Helmut Fuchs <email@hidden>
- Date: Fri, 29 Jul 2005 15:29:33 +0200
So this means it is not possible to write one script with:
- First checks if an app is running and
- Then talks to the application?
I don't get the question - that's what your script is already doing, isn't it?
Your problem lies in the compilation: If your AppleScript has not to
be compiled during runtime, but is compiled beforehand, your problems
are solved.
I don't have an explanation for why the script compiler has to launch
the application that's being told to do something, but that's a fact
you can't get around.
Every tell application "X" statement in an AppleScript leads to
application "X" being launched by the compiler.
HTH,
Helmut
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden