Re: Best practices for creating and comparing lists of text?
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