Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. ; Run every line
  2. Critical
  3.  
  4. ; Avoid warning dialogue about over-hits
  5. #MaxHotkeysPerInterval 50000
  6. #HotkeyInterval 1
  7.  
  8. #WinActivateForce
  9.  
  10. ; Switch active window from Char1 to Char2
  11. Joy8::
  12. {
  13. IfWinActive Char1 ahk_class FFXiClass
  14. {
  15. If WinExist("Char2 ahk_class FFXiClass")
  16. {
  17. WinActivate
  18. }
  19. }
  20. else
  21. {
  22. If WinExist("Char1 ahk_class FFXiClass")
  23. {
  24. WinActivate
  25. }
  26. }
  27. return
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement