• 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: Finding lines containing foo in a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >RE: Finding lines containing foo in a file (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: RE: Finding lines containing foo in a file
  • Next by Date: Re: How can I set a background image to a Volume ?
  • Previous by thread: RE: Finding lines containing foo in a file
  • Next by thread: RE: Finding lines containing foo in a file
  • Index(es):
    • Date
    • Thread