Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5.  
  6.  
  7. winclass = FFXIVGAME
  8. SetTitleMatchMode, 2
  9.  
  10. $\::
  11. {
  12. toggle:=!toggle
  13. if (toggle)
  14. {
  15. ControlSend,,{w down},ahk_class %winclass%
  16. }
  17. else
  18. {
  19. ControlSend,,{w up},ahk_class %winclass%
  20. }
  21. }
  22. return
  23. Esc::ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement