Leopard-Spotlight-Applescript

Jim Sims sims at ezpzapps.com
Sun Nov 4 13:21:54 EST 2007


Looks like I will not have a copy of Leopard very soon
(living on far & distant planets has pluses and minuses)
so could some kind soul please test the following Applescript
on Leopard for me?

If it works it will open a spotlight search for "bob".

TIA
sims

tell application "Finder"
	set the search_string to "bob"
end tell
tell application "System Events"
	keystroke " " using {option down, command down}
	delay 1
	keystroke search_string
	delay 1
end tell









More information about the use-livecode mailing list