Scripting Spotlight?
Scripting Spotlight?
- Subject: Scripting Spotlight?
- From: Stephen Jonke <email@hidden>
- Date: Thu, 19 May 2005 06:24:12 -0400
Has anyone figured out the new "find" command in the Finder's
dictionary? When I do this:
tell app "Finder"
find "some text"
end tell
The full spotlight window appears, albeit without a search field and
the content is blank regardless of what I put as the search string.
Is this just not working, or is there some trick to it? The Finder
dictionary isn't very helpful, just saying:
find v : Return object that match the provided query
find Unicode text : the query to execute (in Spotlight form)
What is "Spotlight form"?
I want to create an applet that does a name-only search, but so far I
can't get any search to work. The command-line tools work, but I want
the matches to show up in the Finder.
Steve
------------------
Stephen Jonke
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