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
{{ message }}
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.
Hi, I'm building an app that when is visible (it's a borderless window so even if he app is front most the active app is the one behind it) it captures all the important keys and does something with them. All works fine except when I enable the sandbox, then only the arrows and backspace and enter is captured, if I type letters and numbers they go to the active app.
Is this a limitation of sandboxed apps or i'm doing something wrong?
The text was updated successfully, but these errors were encountered:
@jhoughjr This is because MASShortcutView uses RegisterEventHotKey Carbon function which, by definition, registers modifier keys + alphanumerics or keys like space or Tab which are neither alphanumeric nor modifier keys.
I wish there was a way to capture just an alphanumeric without any modifier key involved. Some apps do it (not sandboxed ones).
I think is not about what MAS uses but about the sandbox, if they allow this some random utility in your status bar could steal what you type in other apps.
You can capture any key if is not a sandboxed app, not sure why you say you wish you can, i'm using. this to populate a search field when my borderless app is on screen
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I'm building an app that when is visible (it's a borderless window so even if he app is front most the active app is the one behind it) it captures all the important keys and does something with them. All works fine except when I enable the sandbox, then only the arrows and backspace and enter is captured, if I type letters and numbers they go to the active app.
Is this a limitation of sandboxed apps or i'm doing something wrong?
The text was updated successfully, but these errors were encountered: