You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current use of NSEvent.addGlobalMonitorForEventsMatchingMask_() to capture the ESM "hotkey" of Cmd-Shift-Enter does not intercept the keystroke but only listens for it. This means the keystroke will still be sent to the current application (sending Enter to a text editor for example).
Seems that Quartz Taps handle whole classes of events (Keyup, keydown, Mousedown) and can only be made to listen or intercept these classes rather than more specific events (like Cmd-Shift-Enter).
The other option is to use Carbon APIs as in the link below, but these APIs seem depricated:
The current use of NSEvent.addGlobalMonitorForEventsMatchingMask_() to capture the ESM "hotkey" of Cmd-Shift-Enter does not intercept the keystroke but only listens for it. This means the keystroke will still be sent to the current application (sending Enter to a text editor for example).
We should consider using the Carbon API or https://github.com/davedelong/DDHotKey to implement a more robust hotkey that intercepts the keystroke.
The text was updated successfully, but these errors were encountered: