• 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: Best practices for creating and comparing lists of text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best practices for creating and comparing lists of text?


  • Subject: Re: Best practices for creating and comparing lists of text?
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 22 Dec 2005 21:58:23 +1100
  • Thread-topic: Best practices for creating and comparing lists of text?

On 22/12/05 9:47 PM, "John Cochrane" <email@hidden> wrote:

>> Perhaps I should add that nested application tell blocks are generally
>> considered best avoided
>
> I have sensed that this was the case but wondered why. Is it the likely
> clash of terms from different dictionaries?

No -- there's really no reason other than, perhaps, taste.
>
> While talking about best practices I have read that it is inefficient
> to have frequent separate calls to an application.
> Is it better then to enclose a long script in one tell "Finder" block
> (for example) even though the Finder might only actually be needed for
> a few of the lines. Or is it better to make a couple of separate tell
> "Finder" to do_something calls.

It makes no difference unless there are calls to scripting additions
involved, in which case moving them out of the app's scope can speed things
up. But speed isn't everything.

--
Shane Stanley <email@hidden>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Best practices for creating and comparing lists of text?
      • From: kai <email@hidden>
References: 
 >Re: Best practices for creating and comparing lists of text? (From: John Cochrane <email@hidden>)

  • Prev by Date: Re: Best practices for creating and comparing lists of text?
  • Next by Date: quicktime export, 3gpp
  • Previous by thread: Re: Best practices for creating and comparing lists of text?
  • Next by thread: Re: Best practices for creating and comparing lists of text?
  • Index(es):
    • Date
    • Thread