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

Macro for App Switcher while holding ALT-TAB ? #870

Open
matt22207 opened this issue Apr 4, 2024 · 0 comments
Open

Macro for App Switcher while holding ALT-TAB ? #870

matt22207 opened this issue Apr 4, 2024 · 0 comments

Comments

@matt22207
Copy link

matt22207 commented Apr 4, 2024

Hi, I have a macro keypad setup for shortcut keys, and I can't figure out how to get a proper ALT-TAB combo for app switching. My basic attempt is KEY_LEFTALT + KEY_TAB which works properly on a single press of the key to switch between apps. However when using my normal keyboard, I can continue holding the ALT key (after releasing TAB) and then subsequent presses of TAB or arrow keys will cycle through the open apps. I've tried a few combinations using hold_keys(), etc, but I don't understand and can't figure this out myself.

So, I'm trying to reproduce:

  • A single press of the macro key should trigger a single press of ALT-TAB
  • Holding the same macro key should press ALT-TAB once, then release TAB and continue holding ALT (only) until the macro key is released

Would someone mind helping me figure out the proper macro to use for this?

Thanks!

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

1 participant