How do you get the entire region for an application via Sikuli script? I am trying to get the entire window without having to find a specific screenshot image. I have the following code right now:
app = App("app.exe")
app.focus()
appwindow=app.window()
popup("["+str(appwindow.getX())+","+str(appwindow.getY())+","+str(appwindow.getW())+","+str(appwindow.getH())+"]"
The above displays "[0,0,1,1]" This is not the actual region I need.
The application in question has multiple windows, several of which have an X and Y coordinate of 0,0 - several of which do not. I just want the entire visual surface of the application. How do I get that?