Advertisement
Guest User

Path of Exile - Exit to Character Selection

a guest
Jan 2nd, 2014
1,547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. SetTimer process_watcher, 2000
  2. Run PathOfExile.exe, C:\Program Files (x86)\Path of Exile
  3. process_watcher:
  4. Process Exist, PathOfExile.exe
  5. If ErrorLevel = 0
  6. Exitapp
  7. return
  8.  
  9. F4::FastLogOut()
  10.  
  11. FastLogOut(){
  12. if WinActive("Path of Exile")
  13. {
  14. BlockInput On
  15. SetDefaultMouseSpeed 0
  16. Send {esc}
  17. WinGetPos,,,Width,Height,A
  18. x := Width / 2
  19. y := Height * .43
  20. MouseClick, left, x, y, 1, 1
  21. BlockInput Off
  22. }
  23. return
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement