Re: Find Window And the Find Dialog
Re: Find Window And the Find Dialog
- Subject: Re: Find Window And the Find Dialog
- From: Mr Tea <email@hidden>
- Date: Tue, 01 Apr 2003 09:20:36 +0100
This from Matthew Van Wyk - dated 1/4/03 6:22 am:
>
I have Tried
>
Show the Find Dialog
>
Show the Find Window
>
>
And a few other unsuccessful ones, that i wont mention here, to avoid
>
embarresment mostly;)
I don't think it's you that should feel embarrassment, Matthew.
Astonishingly, there's no 'Find' command in the Finder's dictionary, and
(from an AS point of view) Finder isn't even aware of the window's existence
unless you go in through the back door via System Events GUI scripting.
If you have the GUI scripting beta gear (available at
<
http://www.apple.com/applescript/GUI/>), you can do this...
tell application "Finder" to activate
tell application "System Events"
tell process "Finder" to keystroke "f" with command down
end tell
HTH
Nick
pp Mr Tea
--
Brew of the day: Yorkshire Red
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.