2023-07-31 09:16:17 |
RaiMan |
description |
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. |
tracked on Github: https://github.com/RaiMan/SikuliX1/issues/592
workarounds:
- YOU NEED TO SAVE THE SCRIPT FIRST, then run again.
- switch on "autosave on run" in the preferences
- 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. |
|