by jtha · 3y ago · 0 comments
Here's an example for opening Chrome or switching to it if it's open. If there is more than one Chrome window open it cycles between them by minimizing the current one, then opening the next one etc.
SetTitleMatchMode, 2
#c::
IfWinExist, Google Chrome
IfWinActive
WinMinimize
else
Winactivate
else
run,"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
returnNo comments yet.