Description:
A script to quickly search files and folders using Quicksilver [1] and
EasyFind [2].
Written by Simon Dorfman, January 8, 2006. www.SimonDorfman.com

[1] http://www.versiontracker.com/dyn/moreinfo/macosx/22549
[2] http://www.versiontracker.com/dyn/moreinfo/macosx/11706

Note: again, another script from the old forums, not written by
myself. EasyFind is an "oldschool" searching program, similar to the
pre-OSX "Find" command (aka NOT Spotlight)

Where to save: Actions folder i.e. Save this script to ~/Library/
Application Support/Quicksilver/Actions/EasyFind.scpt

Usage: You'll need to have "Enable access for assisstive devices"
enabled under Universal Access in System Preferences.
To use:
        1. activate Quicksilver
        2. type "." (i.e. hit the period key)
        3. type the text you want to search for (i.e. httpd.conf)
        4. press tab
        5. start typing "EasyFind.scpt"
        6. once Quicksilver finds "EasyFind.scpt", press return

Script: (copy from " (* " until "end using terms from")

(*
A script to quickly search files and folders using Quicksilver [1] and
EasyFind [2].
Written by Simon Dorfman, January 8, 2006. www.SimonDorfman.com

Save this script to ~/Library/Application Support/Quicksilver/Actions/
EasyFind.scpt
You'll need to have "Enable access for assisstive devices" enabled
under Universal Access in System Preferences.
To use:
        1. activate Quicksilver
        2. type "." (i.e. hit the period key)
        3. type the text you want to search for (i.e. httpd.conf)
        4. press tab
        5. start typing "EasyFind.scpt"
        6. once Quicksilver finds "EasyFind.scpt", press return

[1] http://www.versiontracker.com/dyn/moreinfo/macosx/22549
[2] http://www.versiontracker.com/dyn/moreinfo/macosx/11706
*)

using terms from application "Quicksilver 55"
        on process text t
                tell application "EasyFind" to activate
                tell application "System Events"
                        tell process "EasyFind"
                                set value of text field 1 of window 1 to t 
--type text in search
field
                                --uncomment your preferred search option, or 
save separate scripts
with each option
                                click radio button 1 of radio group 1 of window 
1 --"Files &
Folders"
                                --click radio button 2 of radio group 1 of 
window 1 --"Only Files"
                                --click radio button 3 of radio group 1 of 
window 1 --"Only
Folders"
                                --click radio button 4 of radio group 1 of 
window 1 --"File
Contents"
                                click button 4 of window 1 --start search
                        end tell
                end tell
        end process text
end using terms from

Reply via email to