• 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
Question about attachable apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about attachable apps


  • Subject: Question about attachable apps
  • From: Brennan Young <email@hidden>
  • Date: Fri, 20 Apr 2001 13:25:08 +0200
  • Organization: Magic Lantern

If an app is attachable, my understanding is that I don't need to target
it explicitly, although in order to have the script compile correctly in
script editor, and have some measure of debugging, I do

What I'm wondering about is whether there is any overhead involved in

tell application "SomeAttachableApp"

-- blah blah blah

end tell

... because if this script runs inside that app, surely I am telling the
app to tell itself something. Is there any penalty here?

In other words, if I run an attached script from the application's own
script menu (or from OSA menu) it seems to me that I am actually doing this:

tell application "SomeAttachableApp"

tell application "SomeAttachableApp"

-- blah blah blah

end tell

end tell

...and if so, does this incur any performance or memory issues?

A related question: If, afer I check the script is working ok in script
editor, I then replace the 'tell' with 'using terms from' before
distributing it, is there any advantage?

Thanks in advance.

--
_____________

Brennan


  • Prev by Date: Re: Setting the startup disk.
  • Next by Date: Re: Targeting an application where there are two versions with the same name
  • Previous by thread: Re: open for access help
  • Next by thread: Re: Targeting an application where there are two versions with the same name
  • Index(es):
    • Date
    • Thread