• 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: three key press emulation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: three key press emulation


  • Subject: Re: three key press emulation
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 06 Feb 2012 23:03:27 -0600

On Feb 06, 2012, at 22:28, Yuma Decaux wrote:
I don't really know whether this is possible, but can one simulate a three key press such as keystroke "D" with {command, option down}?
______________________________________________________________________

Hey Yuma,

Yeah.  You can do something like this:

tell application "System Events"
keystroke "m" using {command down, option down}
end tell

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >three key press emulation (From: Yuma Decaux <email@hidden>)

  • Prev by Date: Re: never mind about several function keystrokes
  • Next by Date: Re: never mind about several function keystrokes
  • Previous by thread: Re: three key press emulation
  • Next by thread: never mind about several function keystrokes
  • Index(es):
    • Date
    • Thread