Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: An AppleScript to do a 'find by name' search' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: An AppleScript to do a 'find by name' search
Authored by: withdave on Feb 13, '06 11:31:34PM
The 'find by name' script no longer works for me as of 10.4.4. I found that the following very simple script is working perfectly for me and probably has a good chance being compatible with future Finder versions. Note you don't have to type an ending quote after your search string. Enjoy.
tell application "Finder"
    activate
    set windowCount to count of windows
end tell
tell application "System Events"
    tell process "Finder"
        click menu item "Findů" of menu "File" of menu bar 1
        repeat until (count of windows) is not windowCount
        end repeat
        keystroke quote
    end tell
end tell


[ Reply to This | # ]