This is my test script:
# start with resolution 100
popup("change from now: %s" % SCREEN)
# on popup change the resolution to 125 and click popup ok
Screen.resetMonitors()
scr = Screen(0)
# an image taken with resolutiopn 125
img = "img.png"
popup("changed: %s" % scr) # shows the new size
print
** Description changed:
- - workaround
+ - workaround (needs 2.0.6-SNAPSHOT)
after changing the monitor setup programmatically (e.g. scaling factor), you
have to use:
Screen.resetMonitors()
to let SikuliX reevaluate the monitor setup.
- This works when running
** Summary changed:
- Screen size wrong when changing monitor scaling programatically --- workaround
+ Screen size wrong when changing monitor scaling programatically ---
workaround 2.0.6-SNAPSHOT
--
You received this bug notification because you are a member of Sikuli
Drivers, which is
3 matches
Mail list logo