• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GUI Scripting / Keystroke
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: GUI Scripting / Keystroke
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: GUI Scripting / Keystroke (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: GUI Scripting / Keystroke
  • Next by Date: Re: Resurgence in AppleScript interest
  • Previous by thread: Re: GUI Scripting / Keystroke
  • Next by thread: Re: GUI Scripting / Keystroke
  • Index(es):
    • Date
    • Thread