Code: Select all
CapsLock & f1::
IfWinExist Firefox
WinActivate
else
Run "Firefox"
return
For example, in position 1 on my taskbar I have Chrome and when I press #1 Chrome is being activated, however, when I press again #1 when Chrome is active, the window minimises.
Is there a way to achieve the same when I press my key CapsLock & f1::
Thanks!