Re: GUI Scripting / Keystroke
Re: GUI Scripting / Keystroke
- Subject: Re: GUI Scripting / Keystroke
- From: Rob Jorgensen <email@hidden>
- Date: Thu, 12 Jun 2003 23:03:39 -0400
At 10:35 PM -0400 6/12/03, James Spahr wrote:
Is it possible to to use GUI scripting to enter a keystroke with 2
or more modifiers?
example:
tell application "Acrobat 6.0 Professional"
activate
end tell
tell application "System Events"
tell process "Acrobat 6.0 Professional.app"
keystroke "o" with command and with shift down
end tell
end tell
Does this work?
keystroke "O" with command down
The uppercase O is the same as "keystroke o with shift", so all you
need to add is the command key. Paul Berkowitz was kind enough to
share this with me. :-)
--
Rob Jorgensen
Ohio, USA
_______________________________________________
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.