• 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: Now is: Finder tell block
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Now is: Finder tell block (From: John W Baxter <email@hidden>)

  • Prev by Date: Re: Damn send button / Wind chill (nesting more efficient shock)
  • Next by Date: Re: Terminal question
  • Previous by thread: Re: Now is: Finder tell block
  • Next by thread: Re: Finder tell block
  • Index(es):
    • Date
    • Thread