'App' object has no attribute 'getWindow'

Asked by Mychajlo Chodorev on 2020-09-05

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:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2020-09-05
Last query:
2020-09-05
Last reply:
2020-09-05
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

Mychajlo Chodorev (ralfeus) said : #2

Thanks RaiMan, that solved my question.