setROI updates the constant variable SCREEN
Asked by
Will P
Calling setROI(
print SCREEN
print SCREEN.getW()
setROI(
print SCREEN
print SCREEN.getW()
setROI(SCREEN)
This prints out the following, and at the end the ROI is not updated to the entire screen:
Screen(0)[0,0 1440x900] E:Y, T:3.0
1440
Screen(0)[0,0 1440x900] E:Y, T:3.0
100
We can save the original parameters of SCREEN to a variable to get around this, but it took a while to figure out what was happening.
1. X 1.0 rc2
2. 64 bit Mac OSX 10.6
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #729260.
To post a message you must log in.