• 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: Dumb performance question: tell blocks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dumb performance question: tell blocks


  • Subject: Re: Dumb performance question: tell blocks
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 17 Oct 2006 06:11:17 -0700

On Oct 17, 2006, at 6:04 AM, Mark J. Reed wrote:

repeat with i from 1 to N
    use an applescript builtin
    use an applescript builtin
    tell application "Foo" to do something
    use an applescript builtin
end repeat

is that going to perform better, worse, or about the same as wrapping
the whole thing in a tell application "Foo" block?  Does it depend on
the app?

I believe that if you put it inside a tell block, AS will first send the command to the application; if the application doesn't know what to do with it, it will go back to AS and then do the built in. Also, if there is a terminology clash because the app has the same command that does something different, the app will do it, and the results, as they say, will be unexpected.


-- Michelle

--
"In Chico, California you'll find Velveeta in the gourmet section." --Herb Caen


_______________________________________________
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


  • Follow-Ups:
    • Re: Dumb performance question: tell blocks
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Dumb performance question: tell blocks (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Dumb performance question: tell blocks
  • Next by Date: XCode 2.4 Affects "do shell script"?
  • Previous by thread: Dumb performance question: tell blocks
  • Next by thread: Re: Dumb performance question: tell blocks
  • Index(es):
    • Date
    • Thread