• 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 a search using sherlock 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scripting a search using sherlock 2


  • Subject: scripting a search using sherlock 2
  • From: John Lockwood <email@hidden>
  • Date: Thu, 30 Nov 2000 08:47:26 -0500

Hey,

I am trying to write a script that tell sherlock to search file names for
the contents of the clipboard. But when I run this script it searches by
contains. Does anyone know how to set it to search by file names?

tell application "Sherlock 2"
activate
set mysearchword to the clipboard
set mydisk to alias "Macintosh HD:"
search mydisk for mysearchword with display
end tell


thanks,

-John Lockwood


References: 
 >Re: applescript-users digest, Vol 2 #75 - 8 msgs (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Image dimensions
  • Next by Date: Re: Image dimensions
  • Previous by thread: Re: applescript-users digest, Vol 2 #75 - 8 msgs
  • Next by thread: Filemaker print command
  • Index(es):
    • Date
    • Thread