Re: Sending commands to the finder
Re: Sending commands to the finder
- Subject: Re: Sending commands to the finder
- From: Paul Skinner <email@hidden>
- Date: Thu, 03 May 2001 12:01:55 -0400
on 5/2/01 8:12 PM, Craig Walsh wrote:
>
Hi All,
>
does anyone know how to send keyboard commands to the finder eg,
>
command + L etc..
>
>
any help on this would be greatly appreciated
>
>
Thanks
>
craig
Sigma's additions has type text.
I prefer it because it only adds this one command.
Sandi's additions has type text and other cool stuff.
--Using Sandi's additions...
tell application "Finder"
activate--don't forget to do this. Otherwise the Finder
--will not act on the current selection.
set selection to alias "dark star:Desktop Folder:ReadMe"
TypeText "O" with Command--'O'pen.
end tell
Generally there are better ways to accomplish this kind of finder
interaction via applescript. But if you have to do it, there you go.
By the way, What is command-L? It's not O.M.M.
--
Paul Skinner