• 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: System Events Keypress Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Events Keypress Question


  • Subject: Re: System Events Keypress Question
  • From: email@hidden
  • Date: Fri, 20 Dec 2013 09:59:51 -0600

On Dec 18, 2013, at 16:56, Christopher Stone <email@hidden> wrote:
When sending a simple keypress with system events like this:
______________________________________________________________________

Hey Folks,

It's looking like there's a bug here when running key events using system events from Keyboard Maestro.

(Still pending.)

What I want to know now is whether it's possible to use code like this to affect the Command-Key.

tell application "System Events"
tell process "Finder"
set frontmost to true
key up (get character id <Command-Key>)
end tell
end tell

Thanks.

--
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: 
 >System Events Keypress Question (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Rewriting Mach in AppleScript?!
  • Next by Date: Re: Rewriting Mach in AppleScript?!
  • Previous by thread: System Events Keypress Question
  • Next by thread: SmartList
  • Index(es):
    • Date
    • Thread