Re: How to Trigger keystrokes
Re: How to Trigger keystrokes
- Subject: Re: How to Trigger keystrokes
- From: "Robert C. Jacobson" <email@hidden>
- Date: Fri, 16 Aug 2002 07:40:57 -0400
At 3:07 PM -0700 8/15/02, Eleanor Cheung wrote:
I want to use AppleScript to trigger command for me, "cmnd-shift-m".
How do I do that, or incorporate it in the script? Thanks.
Depends on the application. Some applications (like FileMaker) have
a "do menu" command which allows you to execute menu commands. Or
the application has an equivalent keyword ("print" instead of trying
to "Cmd-P")
But for the most part, if you want to enter arbitrary keystrokes, you
have to use an OSAX like AutoType.
<
http://graphics.stanford.edu/~jedavis/projects/mac/autotype.html>
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson email@hidden
BS, Aeronautical Engineering Univ. of Md., College Park
Flight Ops. Team - SOlar Heliospheric Observatory (SOHO)
(301) 286-1591
_______________________________________________
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.