Re: GUI Scripting / Keystroke
Re: GUI Scripting / Keystroke
- Subject: Re: GUI Scripting / Keystroke
- From: Rob Jorgensen <email@hidden>
- Date: Thu, 12 Jun 2003 23:13:36 -0400
At 7:57 PM -0700 6/12/03, Paul Berkowitz wrote:
On 6/12/03 7:35 PM, "James Spahr" <email@hidden> wrote:
tell application "System Events"
tell process "Acrobat 6.0 Professional.app"
keystroke "o" with command and with shift down
end tell
end tell
obviously, this will not compile.
Remove the second 'with':
tell application "System Events"
tell process "Acrobat 6.0 Professional.app"
keystroke "o" with command and shift down
end tell
end tell
While this compiles just fine, I get this error at run time:
Can't make <<constant eMkyeCmd>> into a boolean.
--
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.