Hacker News new | ask | show | jobs
by dattiimo 1031 days ago
AutoHotKey is awesome! I use it for better/faster app switching. I have a "shortcut" enabler key, in my case Right Alt, that controls it all.

When held down with any letter, it switches through the instances of that app. For example, Alt + C switches to VS Code window. Alt + F keys opens new instances of an app such as a new Chrome window in a specific profile.

Alt + number are configurable and can be set for the current window in focus. By tapping Alt, the "edit" mode is enabled, allowing me to set the current window as any of the number keys.

When in "edit" mode, the H,J,K,L keys also switch to navigation, becoming up, down left, right etc.

It makes switching between apps so much faster.

1 comments

can you share your script please ?
That's one of the things I have in the project! At least the window switching. Not the dynamic window selection and "edit mode" though.

    https://github.com/hwayne/autohotkey-scripts/blob/main/Lib/WindowSwitching.ahk
I don't have anything shared online but I can look at publishing it if there's interest. It's one big script so I'll have to clean it up and remove any sensitive data from it first.