How can I bring a specific window or program forward (and "active) with a single keyboard shortcut?
I wrote an AHK script to do this on Windows: I would hotkey a window to Win
+1
for example, and then whenever I pressed Win
+1
, I would activate that window.
I want to do the same thing in MacOS now. I have a few frequently used Windows I would like to access deterministically: "You press X hotkey, you get Y window--every time."
Example: Slack. Slack only has one window, so it should be simple.
On Windows, I got a bit fancy because sometimes I wanted one Chrome window out of the lot, so I would make Ctrl
+1
"set" the currently active window to be raised whenever Ctrl
+1
was pressed, but for the first iteration, I just want to do single-window applications (or every window from an application--whichever is easier).
Detail: when I bring the window "forward", I want to be able to type in that window without also having to click on it. It should be fully "active" as if I had clicked on it.
I'm aware of things like Alt
+Tab
and the other Apple hotkeys, but they aren't deterministic. There's no way to press a certain keyboard combo and always get the same window. I don't want to scroll through a list of my open windows or anything. I want X app, right now, immediately.