Google Answers Logo
View Question
 
Q: Applescript find-by-content index updating ( No Answer,   1 Comment )
Question  
Subject: Applescript find-by-content index updating
Category: Computers > Programming
Asked by: jpalme-ga
List Price: $20.00
Posted: 12 Mar 2004 02:51 PST
Expires: 11 Apr 2004 03:51 PDT
Question ID: 315941
Is it possible to write an applescript which updates the
find-by-content index of a disk in Mac OS X 10.3, or is there some
other way to get the find-by-content index to be updated regularly
automatically?

Clarification of Question by jpalme-ga on 16 Mar 2004 01:09 PST
A negative answer is also an answer if I ask for something which does
not exist! So thank you very much!
Answer  
There is no answer at this time.

Comments  
Subject: Re: Applescript find-by-content index updating
From: superamit-ga on 13 Mar 2004 20:59 PST
 
Hi there,

Unfortunately, there's nothing in the Finder's dictionary to allow
applescript to trigger a folder or volume's indexing. Apple's moved to
'automatic' indexing in 10.3. You can no longer schedule index
updates, they just happen right before you search any particular
directory or volume. As you've no doubt noticed, this means that you
sometimes encounter a delay prior to being able to search.

There does not appear to be a way to trigger ContentIndexing.app from
the command line. If there were, you could use cron. Potential
alternatives are to use some other find-by-content solution. Apple's
system is known to be buggy and only indexes the first 2,000 words of
each file.

More info on apple's 10.3 find-by-content system:
http://developer.apple.com/documentation/ReleaseNotes/Carbon/FindbyContent.html
http://docs.info.apple.com/article.html?artnum=106986

Otherchoices: DevonThing, BBEdit, egrep (command line, graphical
interfaces available on versiontracker)

Hope this is helpful!

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy