I found once a region has been created AND THE SCRIPT HAS BEEN RUN.
"Clicking" on the image of the Region and selecting a new region in the IDE will seem to change/update the values, but it will not have updated the region at runtime.
Run the script again and it would still use the old region.
The solution is;
YOU NEED TO SAVE THE SCRIPT FIRST, then run again.
You could also just delete the Region and create a new one.
Region( 461,466, 300,99) .findWord( "for"). click()
I was using the IDE-2.0.5 on windows 11 64bit.
I found once a region has been created AND THE SCRIPT HAS BEEN RUN.
"Clicking" on the image of the Region and selecting a new region in the IDE will seem to change/update the values, but it will not have updated the region at runtime.
Run the script again and it would still use the old region.
The solution is;
YOU NEED TO SAVE THE SCRIPT FIRST, then run again.
You could also just delete the Region and create a new one.