• 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
Scripting Spotlight?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Scripting Spotlight?
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: merge same (beginning) filenames into different variables
  • Next by Date: Re: merge same (beginning) filenames into different variables
  • Previous by thread: Re: merge same (beginning) filenames into different variables
  • Next by thread: Re: Scripting Spotlight?
  • Index(es):
    • Date
    • Thread