<CODE>
If $Target = 1 Then
$Target = 0x000085
EndIf
If $Target = 2 Then
$Target = 0x850000
EndIf
While 1
$Variable = PixelSearch(240,104,1040,904,$Target,30,5)
If IsArray($Variable) = True Then
ToolTip($Variable[0] & ", " & $Variable[1], 0, 0)
MouseMove($Variable[0], $Variable[1], 1)
MouseClick("LEFT")
EndIf
WEnd
</CODE
If $Target = 1 Then
$Target = 0x000085
EndIf
If $Target = 2 Then
$Target = 0x850000
EndIf
While 1
$Variable = PixelSearch(240,104,1040,904,$Target,30,5)
If IsArray($Variable) = True Then
ToolTip($Variable[0] & ", " & $Variable[1], 0, 0)
MouseMove($Variable[0], $Variable[1], 1)
MouseClick("LEFT")
EndIf
WEnd
</CODE
Advertisement