Skip to content
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

How to record system wide shortcuts as Cmd+Tab? #66

Closed
larsblumberg opened this issue Jun 18, 2016 · 3 comments
Closed

How to record system wide shortcuts as Cmd+Tab? #66

larsblumberg opened this issue Jun 18, 2016 · 3 comments

Comments

@larsblumberg
Copy link

How can I make SRRecorderControl record system wide keyboard shortcuts such as Cmd+Tab or Cmd+Space?

@Kentzo
Copy link
Owner

Kentzo commented Jun 18, 2016

Mac OS X handles those before it even reaches your app.

@larsblumberg
Copy link
Author

I thought there would be an OS X API that would allow to temporarily disable system wide shortcut and thus sent to our apps. I had seen another shortcut recorder control that had an extra option that when enabled would allow system keyboard shortcuts such as Cmd+Tab

@Kentzo
Copy link
Owner

Kentzo commented Jun 20, 2016

@larsblumberg It should be possible to handle Cmd+Tab, e.g. see this stackoverflow question.

ShortcutRecorder is just a UI component that tries to avoid any sophisticated interaction with system events. I'd suggest you to implement the necessary bits somewhere in your app where it's the most appropriate. Then simply set new value of the shortcut recorder for rendering.

@Kentzo Kentzo closed this as completed Jun 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants