• 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: NSAppleScript: Compiling a script launches an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSAppleScript: Compiling a script launches an application (From: Alexander von Below <email@hidden>)
 >Re: NSAppleScript: Compiling a script launches an application (From: "Alexander v. Below" <email@hidden>)

  • Prev by Date: Re: NSAppleScript: Compiling a script launches an application
  • Next by Date: Re: NSAppleScript: Compiling a script launches an application
  • Previous by thread: Re: NSAppleScript: Compiling a script launches an application
  • Next by thread: Re: NSAppleScript: Compiling a script launches an application
  • Index(es):
    • Date
    • Thread