i wrote a smal autoit script for a game thats repeat the same actions but now i want it to run on the android emulator. i have download hiro makro but i dont know how to script whits it,
can someone help me to translate it ?
Code:
$mspeed = 1
While 1
Sleep(53000)
MouseClick("left", 430, 230, 1, $mspeed)
Sleep(500)
MouseClick("left", 960, 630, 1, $mspeed)
Sleep(500)
MouseClick("left", 960, 630, 1, $mspeed)
sleep(4000)
_color()
Sleep(100)
MouseClick("left", 430, 790, 1, $mspeed)
Sleep(500)
MouseClick("left", 750, 450, 1, $mspeed)
Sleep(500)
MouseClick("left", 1100, 740, 1, $mspeed)
Sleep(500)
MouseClick("left", 1400, 380, 1, $mspeed)
sleep(500)
MouseClick("left", 950, 640, 1, $mspeed)
Sleep(500)
MouseClick("left", 1450, 230, 1, $mspeed)
Sleep(500)
MouseClick("left", 900, 360, 1, $mspeed)
Sleep(500)
MouseClick("left", 1000, 620, 1, $mspeed)
Sleep(500)
WEnd
Func _color()
While 1
$colorcheck = PixelGetColor(611,209)
Sleep(50)
if $colorcheck = 0x092531 Then
Sleep(100)
$pos = PixelSearch ( 386, 196, 1528, 839, 0xFDFDFD)
Sleep(100)
MouseClick( "left" , $pos[0], $pos[1], 1, 50)
Sleep(400)
Else
ExitLoop
EndIf
WEnd
EndFunc
Code:
function _color()
Code:
$colorcheck = PixelGetColor(611,209) Sleep(50) if $colorcheck = 0x092531 Then
Code:
$pos = PixelSearch ( 386, 196, 1528, 839, 0xFDFDFD) Sleep(100) MouseClick( "left" , $pos[0], $pos[1], 1, 50)
on this point only the bubbles are highlited and click on them
and it will repeat undtill
Code:
if $colorcheck = 0x092531 Then
Code:
Else ExitLoop
hope someone can help me






