scripting a search using sherlock 2
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