I would like to have a script running so that if I want TitleA (that particular window to have focus), I can just hit a hotkey and it will focus it.
Another hotkey would be for TitleB. I am assuming the script would need to be in a loop or have a WinActive() function...?
I have used functions like WinGetTitle, SetTitleMatchMode, WinActivate and WinActivateBottom.
I have a hotkey and a function like:
Code: Select all
F13::WinActivate, TITLE-A ;
F14::WinActivate, TITLE-B ;
Other solutions seen over the years do basically the same thing as far as focusing on the window but when I need to switch focus to the other window it does nothing.
Any help or guidance? Thanks!