Re: Finding lines containing foo in a file
Re: Finding lines containing foo in a file
- Subject: Re: Finding lines containing foo in a file
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 21 Dec 2005 12:10:11 -0800
- Thread-topic: Finding lines containing foo in a file
On 21/12/05 11:32, "Stockly, Ed" <email@hidden> wrote:
> I'll also test to see if TIDs is faster than getting the offset
You really don't need to bother. TIDs is much, much faster. 'offset' is a
scripting addition. Every single time you call 'offset' there is an overhead
toll. With so many paragraphs as you have, that's going to take a huge
amount of time. TIDs are super-fast.
Nigel also carefully used 'paragraph [number]' rather than 'item [number]'
as the fastest method, avoiding the need for a "Serge" script object to do
the same.
Nigel is still using 'path to At Ease documents folder', as needed back in
OS 9 and up through 10.2.x. It still works (as does the more arcane 'path
to "docs"') , but OS 10.3 (AS 1.9.2) introduced 'path to documents folder'.
At ease, At Ease...
--
Paul Berkowitz
_______________________________________________
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