Hi all!
Is it possible that whenever TM is invoked from a Spotlight query, it automatically jumps (when present) to the first occurrence of the search term(s)? I've had a look at Apple's documentation on the developer site, but not found any information on whether it's possible, although Preview.app certainly does it for PDF documents.
Thanks, Daniel.
On 5/12/2005, at 12:43, Daniel Vollmer wrote:
Is it possible that whenever TM is invoked from a Spotlight query, it automatically jumps (when present) to the first occurrence of the search term(s)? [...]
I believe there are some undocumented additional ODOC parameters for this info. It's a little messy, especially for a Cocoa application (which generally do not see these events), but I'll add it to the list.
While we're slightly on the subject, what's a good way to make spotlight index other files than xml and html, say for instance javascript as well?
Andreas
On 05 Dec 2005, at 14:35, Andreas Wahlin wrote:
While we're slightly on the subject, what's a good way to make spotlight index other files than xml and html, say for instance javascript as well?
Andreas
This should help you: http://www.macosxhints.com/article.php?story=2005052015041510
On 05 Dec 2005, at 16:40, Fred B. wrote:
On 05 Dec 2005, at 14:35, Andreas Wahlin wrote:
While we're slightly on the subject, what's a good way to make spotlight index other files than xml and html, say for instance javascript as well?
Andreas
This should help you: http://www.macosxhints.com/article.php?story=2005052015041510
BTW, you can find spotlight plug-ins to search man pages, ruby and python metada, etc. here: http://www.apple.com/downloads/macosx/spotlight/
python guys out there, check this out:
http://www.apple.com/downloads/macosx/spotlight/ pythonmetadataimporter.html
On Dec 5, 2005, at 7:40 AM, Fred B. wrote:
On 05 Dec 2005, at 14:35, Andreas Wahlin wrote:
While we're slightly on the subject, what's a good way to make spotlight index other files than xml and html, say for instance javascript as well?
Andreas
This should help you: http://www.macosxhints.com/article.php?story=2005052015041510
If you'd rather not modify system plists and just want it indexed as plain text, you can set the file's type code:
$ /Developer/Tools/SetFile -t TEXT /path/to/file