← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #669559]: Change Display resolution in Script

 

Question #669559 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669559

    Status: Open => Answered

RaiMan proposed the following answer:
there are these features:

Screen.showMonitors()
... will print out the current monitor setup, as SikuliX saw it at startup (for the IDE: at IDE start)

Screen.resetMonitors()
... will re-evaluate the monitor setup at this moment (might work, after you switched the resolution)

Generally, if you run a script from command-line, the monitor situation
is always evaluated at scriptstart.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.