I wanna a simple thing, this: 1º I open the script. 2º The script go open a window. 3º In the window, have a butom, (begin) 4º The mouse automatic go and click on the buttom. But i cant do it, pls help a person in this big world
OK thanks, but how exaclty the command Winactivate works? I find in the https://www.autoitscript.com/wiki/Function_list , what is it, but i dont undestanding, can u help me ?
Sometime the commnad work, and sometimes dont work, anyone can help ? Do
$i = $i + 1
Sleep(1000)
PixelSearch(0,0,1023,767, 0x7F7968)
Until Not @error Or $i = 120
Sleep(500)
Mouseclick("Left", 830, 624,1,10)
OK, but i wanna say when the window appears, the mouse have to go and click in a button to open the chat, but this not works, and when i close the window of the chat, the mouse go and click. ( A lot of times )