Is there a way to send a keystroke to a background app without an AppleScript dictionary?
Is there a way to send a keystroke to a background app without an AppleScript dictionary?
- Subject: Is there a way to send a keystroke to a background app without an AppleScript dictionary?
- From: Jim Krenz via AppleScript-Users <email@hidden>
- Date: Sun, 26 Apr 2020 16:46:53 -0700
Hello all,
Is there a way to send a keystroke to a background app without an AppleScript
dictionary?
From what I can tell, the Podcasts app does not have a AppleScript dictionary.
What I want to do, is to send a keystroke (⌘ ⇧ →) to the Podcasts app, without
activating it.
Here is what I have thus far (but it does not work):
tell application "System Events"
tell process "Podcasts"
key code 124 using {shift down, command down}
end tell
end tell
Thanks for any ideas or suggestion on how to do the above.
Sincerely,
Jim
_______________________________________________
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