Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #UseHook ;zeby hotkey odpalal w grze
- ;czestotliwosc loopa w ms
- freq = 1000
- ;class
- eve = exefile.exe
- ^F10::
- MouseGetPos, apxcoord, apycoord
- SoundPlay *12
- return
- ;on
- F10::
- settimer, autopilot, 200
- return
- ;reset/off
- F11::
- reload
- return
- ;loop
- autopilot:
- ControlSend,, {d down}, ahk_exe %eve%
- sleep 200
- MouseMove, %apxcoord%, %apycoord%
- sleep 200
- ControlSend,, {Click, left}, ahk_exe %eve%
- sleep 200
- ControlSend,, {d up}, ahk_exe %eve%
- sleep %freq%
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement