• 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: 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.

References: 
 >Re: Now is: Finder tell block (From: "J. B Stewart" <email@hidden>)

  • Prev by Date: Sorting routing (Re: Application tell nesting (was: Damn send button/Wind chill))
  • Next by Date: The great OS X Finder [WAS: Re: Delay in the Finder]
  • Previous by thread: Re: Now is: Finder tell block
  • Next by thread: Re: Now is: Finder tell block
  • Index(es):
    • Date
    • Thread