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

System Events Keypress Question


  • Subject: System Events Keypress Question
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 18 Dec 2013 16:56:23 -0600

Hey Folks,

When sending a simple keypress with system events like this:

tell application "System Events"
if quit delay ≠ 0 then set quit delay to 0
tell process "Finder"
keystroke "t" using {command down}
end tell
end tell

Is there any need to reset the key-state?

I'm seeing a weird interaction when the above is run from Keyboard Maestro as part of a larger script.

Thank you.

--
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

  • Follow-Ups:
    • Re: System Events Keypress Question
      • From: email@hidden
  • Prev by Date: Re: Use of "return"
  • Next by Date: Re: Changes in Evernote syntax?
  • Previous by thread: Re: Use of "return"
  • Next by thread: Re: System Events Keypress Question
  • Index(es):
    • Date
    • Thread