← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #661807]: How to change window size using Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry, not a feature.

At least you might test the window size using

window = App.focusedWindow()
neededW = ....
neededH = ....
if not (window.w == neededW and window.h = neededH):
    print "wrong window size"
    exit()

... and then somehow correct the situation and start again.

The only scripting correction is, to script what you manually would do,
to resize the window to the needed shape.

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