Ty all for answers ;D
And yes Ovidiu your code worked perfectly, what I was looking!!!!
Now im trying put on my script a simple mouse click but dont work in silkroad with the same error that I had(this function work in all programs but dont work on a SRO)...
i try: MouseMove, MouseClick, ControlClick and notinhg...:
Code:
MouseMove(526,557)
MouseClick("")
MouseClick("Left",76, 749,1)
MouseClick("click","texto",$handle,"left",Random(0,@DesktopWidth,1),Random(0,@DesktopHeight,1))
ControlClick($handle,"left",Random(0,@DesktopWidth,1),Random(0,@DesktopHeight,1))
ControlClick($handle, "", "Edit1","left",Random(0,@DesktopWidth,1),Random(0,@DesktopHeight,1))
And other question...pixelsearch work on sro? And if yes, how i can click when this fiand a gold for example....
Code:
$coord = PixelSearch( 0, 0, 800, 600, 0x277DC3)
$pos = MouseGetPos()
$var = PixelGetColor( $pos[0] , $pos[1] )
Ty Again
PS:I tried to find AuotIt Guide for Sro, but i dont found....
I waiting for new answers