Re: Now is: Finder tell block
Re: Now is: Finder tell block
- Subject: Re: Now is: Finder tell block
- From: JollyRoger <email@hidden>
- Date: Sun, 03 Mar 2002 12:27:22 -0600
On 3/3/2002 12:11 PM, "J. B Stewart" <email@hidden> wrote:
>
The second really good reason not to use unnecessary tells is execution
>
time. When you use a tell wrapper you send all the commands it encloses to
>
the subject of the tell, even if the command being sent isn't part of its
>
command set. The application being "told" will check every command in it's
>
suite to see if it is there before sending it up the pipe to AppleScript or
>
to a Scripting Addition (assuming it doesn't error as above). This can
>
consume a lot of processor cycles especially if the tell is inside recursive
>
code.
>
>
Placing a tell within another tell adds yet another layer of commands to
>
check out before you can execute at the "proper" layer. While I agree that
>
this can sometimes be used to prevent conflicts I would recommend using
>
other methods instead, raw codes are so much cheaper and efficient in
>
execution.
Right on, John.
JR
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.