Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- F21::
- switchToChrome1(){
- IfWinNotExist, ahk_class Chrome_WidgetWin_1
- Run, chrome.exe
- GroupAdd, taranexplorers2, ahk_class Chrome_WidgetWin_1
- if WinActive("ahk_exe chrome.exe")
- GroupActivate, taranexplorers2, r
- else
- WinActivate ahk_class Chrome_WidgetWin_1 ;you have to use WinActivatebottom if you didn't create a window group.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement