Jump to content

<key>hotkey</key>, what are these values?


Recommended Posts

Posted (edited)

I've got a script that reads a text file then creates the info.plist to a workflow.  What is the <key>hotkey</key> value represent in a hotkey trigger (type: alfred.workflow.trigger.hotkey)?  I'm getting what appears to me like odd values.  I see values like 8, 17, 40, etc.   thanks -Noah

Edited by noahcoad
Posted

I'd have to double-check, but they're probably the values mapped to the keyboard. Each key on the keyboard has a certain numeric value, which is what lets you change keyboard layouts and still have it work out.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...