Zlistyk Posted August 27, 2015 Posted August 27, 2015 I want to create a workflow where I can use the media keys with a certain keyword. For example my keyword input is 'ne' and when I type 'ne' in alfred, it presses the 'next' media key on the keyboard. How do I do it? Thank you for any help.
deanishe Posted August 29, 2015 Posted August 29, 2015 What are "media keys"? At any rate, the way to trigger keypresses that aren't characters is: tell application "System Events" to key code XX where "XX" is the numerical code of the key.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now