Re: Now is: Finder tell block
Re: Now is: Finder tell block
- Subject: Re: Now is: Finder tell block
- From: JollyRoger <email@hidden>
- Date: Mon, 04 Mar 2002 07:05:29 -0600
On 3/4/2002 3:26 AM, "Mr Tea" <email@hidden> wrote:
>
When a script is compiled, is the construction:
>
>
tell application "Finder" to do something
>
>
...treated in any way differently to:
>
>
tell application "Finder"
>
do something
>
end tell
>
>
...or do they both end up being treated as exactly the same thing. I
>
understand what you are saying about the advantages of writing in this
>
style, but I want to know if anything different is going on 'under the hood'
Sorry about that, Mr Tea.
That's something only the AppleScript developers can answer. My guess is
no, nothing different happens. As far as I know, both writing styles result
in a single Apple Event being sent to the application in question for each
individual command in the tell/tell block. Someone with authority please
correct me if I am wrong.
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.