Originally Posted by
Soldatu
any chance you can share the source you use and program to compile it 64 bit ?
Use default Aut2Exe which is shipped with Autoit installer, tick checkbox "Compile for system: x64"
It does not matter what source you will use, all of them are working.
Code:
#RequireAdmin
If WinExists(@ScriptName) Then Exit
AutoItWinSetTitle(@ScriptName)
Global $Paused, $counter = 0
HotKeySet("{F3}", "TogglePause")
HotKeySet("{F2}", "Terminate")
Shoot()
Func Shoot()
While 1
Local $coord = PixelSearch @desktopWidth / 2 - 1, @desktopHeight / 2 + 1, @desktopWidth / 2, @desktopHeight / 2 + 20, 12191508, 30)
If Not @error Then
MouseClick("Left")
EndIf
WEnd
EndFunc
While 1
$counter += 1
WEnd
Func TogglePause()
$Paused = Not $Paused
While $Paused
Sleep(100)
WEnd
ToolTip("")
EndFunc
Func Terminate()
Exit 0
EndFunc