'App' object has no attribute 'getWindow'

Asked by Mychajlo Chodorev

I'm trying to wait for appeared Save As dialog window. For that I want to use App.getWindow(). However when I run it I get following error:
[error] AttributeError ( 'App' object has no attribute 'getWindow' )

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

Sorry, the docs have to be revised:

It now is:
App.getTitle() to get the title of the frontmost app window

and:
App.window() to get the Region of the frontmost app window

Revision history for this message
Mychajlo Chodorev (ralfeus) said :
#2

Thanks RaiMan, that solved my question.