Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;[Directives]
- #NoEnv
- #IfWinActive, ahk_class Arma 3
- SendMode Input
- SetWorkingDir %A_ScriptDir%
- ;[Hotkeys]
- F2:: Hotkey, ~LButton, Toggle
- Pause::Suspend
- ;[Script]
- ~Lbutton::
- ~Rbutton::
- While ((L:=GetKeyState("LButton","P")) + (R:=GetKeyState("RButton","P"))){
- If (L && R)
- {
- DllCall("mouse_event", uint, 1, int, -2, int, 4, uint, 0, int, 0)
- Sleep, 15
- DllCall("mouse_event", uint, 1, int, 0, int, 4, uint, 0, int, 0)
- Sleep, 5
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement