← 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

Jeff_Vallis posted a new comment:
On a Mac I use Applescript to do this

You can get the size of the window from


    Tynon_Size = "0, 23, 1422, 949" # With Toolbar
    
    cmd = """
    applescript
    tell application """ + "\""+Sub_Open_Which_App+"\"" +  """ to set the bounds of the first window to {"""+Tynon_Size+"""}
    """
    runScript(cmd)

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