Quote:
Originally Posted by michaelhuynh
could anyone show me how autoit work.. because i download but i have no clue how to use it
|
use PixelChecksum or PixelSearch
just look in the help file from autoit, its not hard at all just look at this code
Greetz,
HfTW!
Code:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.12.1
Author: Krc_Gen
Script Function:
Auto use HP scrip for WOKF
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
HotKeySet("{F6}", "Start")
HotKeySet("!{F6}","Quit")
TogglePause()
Func Start()
HotKeySet("{F6}")
HotKeySet("{F6}", "TogglePause")
ToolTip('AUTO HP ON', 175, 41)
While 1
$checksum = PixelChecksum(98,57, 106,57)
While $checksum = PixelChecksum(98,57, 106,57)
Sleep(100)
WEnd
If Not @error Then
Send("{F1}")
EndIf
Sleep(500)
WEnd
EndFunc
Func TogglePause()
ToolTip('AUTO HP OFF',175,41)
HotKeySet("{F6}")
HotKeySet("{F6}", "Start")
While 1
sleep(100)
WEnd
EndFunc
func Quit()
Exit
EndFunc