Guest User

Untitled

a guest
Dec 5th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 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. SetBatchLines -1
  6. SendMode Input
  7. Loop
  8. {
  9. IfWinActive, ahk_class POEWindowClass
  10. {
  11. GetKeyState, tild, F7, P
  12. If tild = D
  13. {
  14. Send, {Ctrl Down}{Click}{Ctrl up}
  15. sleep 1
  16. }
  17. sleep 1
  18. }
  19. sleep 1
  20. }
Add Comment
Please, Sign In to add comment