I necessary need a script that doing the following:
when the text "Pause" changes to "Go" click on it
note: imagesearch dosen't work !!!!
text is here:
<td class="chg bold js-item-summary left textNum redFont">Pause</td>
Thanks
Please, I necessary need this script
Re: Please, I necessary need this script
What's the software you are using to read/edit the text? Maybe you can made a script that interact with the software rather than the text itself. Or you want to click on a page? If the position of the word is fixed you can use pixel-search instead of image which is more precise and less demanding, if you can explain a bit better and maybe some screenshot example I may be able to help.
Re: Please, I necessary need this script
This text in a web page in chrome browser
what program should I use
I necessary need a script that doing the following: when that text appear then click on it immediately
note: imagesearch dosen't work
thanks so much for reply
Re: Please, I necessary need this script
Something simple as this should do:
Look a the page for the word Pause and find a pixel that's different when the word Go appears, put this pixel coordinates and color on x, y and "OxColor" and you're ready to go. Rember do not put the "constant" color but one when the change happen.
You can pause with F4, if you don't know how to do it send screenshots.
Code: Select all
F4::pause
Loop
{
PixelGetColor, WordChange, x, y ;Change the color coordinates here
if WordChange = 0xColor ;Change the color here
{
MouseClick, left, x, y ;Coordinates where yo click, can be the same in this case
}
}
return
Esc::ExitApp
You can pause with F4, if you don't know how to do it send screenshots.