How do I trigger a command that contains modifiers? #272
robinson-love
started this conversation in
General
Replies: 4 comments
-
|
Use osascript -e 'tell application "System Events" to keystroke "q" using {control down, command down}' |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you Mikkel. That got it! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for the quick response! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
No worries 😊 have fun! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Thanks for the very cool utility. I'm looking to send commands that contain modifier keys and, for the life of me, I can't figure out how to put this into LeaderKey. As an example, I want to have a key to lock my screen. The standard keyboard shortcut is Control+Command+Q. How do I enter this into the command field in LeaderKey?
Beta Was this translation helpful? Give feedback.
All reactions