Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Global $FAEnabled = 0
- HotKeySet("{PAUSE}", "ToggleFullAuto")
- HotKeySet("{ESC}", "Terminate")
- #include <Misc.au3>
- ToolTip('FullAuto Running',0,0)
- While 1
- sleep(10)
- If $FAEnabled Then
- sleep(10)
- If _IsPressed("01") Then
- MouseUp("left") ; Set the left mouse button state as up.
- Sleep(10)
- MouseDown("left") ; Set the left mouse button state as down.
- Sleep(10)
- EndIf
- EndIf
- sleep(10)
- WEnd
- Func ToggleFullAuto()
- $FAEnabled = NOT $FAEnabled
- If $FAEnabled Then
- ToolTip('FullAuto "Enabled"',0,0)
- Else
- ToolTip('FullAuto "Disabled"',0,0)
- EndIf
- EndFunc
- Func Terminate()
- Exit 0
- EndFunc
Advertisement