Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 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. #Persistent
  8. SetTimer, PressTheKey, 280000
  9. Return
  10.  
  11. PressTheKey:
  12. SetTimer, PressTheKey, Off
  13. Sendinput {a}
  14. Sleep, 60000
  15. Sendinput {Enter}
  16.  
  17. SetTimer, PressTheKey, On
  18.  
  19. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement