Re: Dumb performance question: tell blocks
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