Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. F21::
  2. switchToChrome1(){
  3. IfWinNotExist, ahk_class Chrome_WidgetWin_1
  4. Run, chrome.exe
  5. GroupAdd, taranexplorers2, ahk_class Chrome_WidgetWin_1
  6. if WinActive("ahk_exe chrome.exe")
  7. GroupActivate, taranexplorers2, r
  8. else
  9. WinActivate ahk_class Chrome_WidgetWin_1 ;you have to use WinActivatebottom if you didn't create a window group.
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement