Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 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.  
  8. ^p::
  9. main()
  10. return
  11.  
  12. ; ---------------------------------------------------------------------------------------------------------------------
  13.  
  14. main()
  15. {
  16. x = 100
  17. y = 100
  18. MouseMove, %x%, %y%
  19. sleep, 25
  20. MouseClick,, %x%, %y%
  21. sleep, 10
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement