-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hotkey binding on ctrl 1-2 doesn't work #305
Comments
I'm able to reproduce this, but only with ctrl+1. Not sure what's causing it though. |
Check System Preferences -> Keyboard -> Shortcuts and look under the Mission Control shortcuts... I haven't tried your code myself yet, but Ctrl-# is the default for jumping to a specific screen, which caught my eye. There is at least one other case that I know of where a system keyboard shortcut can't be overridden by Hammerspoon but I've not yet found a way to detect these at the time of binding.
|
Aha! That was it. I didn't have the keyboard shortcut checkbox "Switch to Desktop 1" enabled, but just because it was set to it hammerspoon didn't want to respond to it. I now have set it to Thanks for the help! |
I'm having some problems binding hotkeys to certain combinations.
Hotkeys using
ctrl + #
combinations work only for 3 and up.ctrl + 1
andctrl + 2
do not respond. Numbered hotkeys do work withalt
andcmd
.Any idea why? Can it be something on my machine or is it known behavior?
A test case that creates hotkeys for all ctrl, alt and cmd options using the top row keyboard keys and numbers:
Technical details:
OSX 10.10.3
Hammerspoon version 0.9.31
config, only the above example
The text was updated successfully, but these errors were encountered: