Re: Now is: Finder tell block
Re: Now is: Finder tell block
- Subject: Re: Now is: Finder tell block
- From: Christopher Nebel <email@hidden>
- Date: Mon, 4 Mar 2002 11:54:46 -0800
On Monday, March 4, 2002, at 08:20 AM, John W Baxter wrote:
At 9:26 +0000 3/4/2002, Mr Tea 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'
Before Chris N provides the answer, I'll provide my best guess (ready
to be
shot down...again):
1. Statement: The compiled scripts are clearly different (proof:
AppleScript decompiles them to the original, different source code
forms).
2. Contention: the actual executable stuff in the compiled scripts is
the
same...it is only the decompiling hints that differ.
Give that man a kewpie doll! Yes, the events sent in either case are
the same; it's just a notational difference.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.