pyWinAuto: pywinauto.application.Application -- Represents an application

Application

Represents an application


Attributes

a connect_start_deprecated

'_start and _connect are deprecated please use start_ and connect_'

Methods

f __init__(self, datafilename=None) ...

Set the attributes

f Start() ...

Convenience static method that calls start

f start() ...

Convenience static method that calls start

f connect() ...

Convenience static method that calls start

f Connect() ...

Convenience static method that calls start

f start_(self, cmd_line, timeout=None, retry_interval=None) ...

Starts the application giving in cmd_line

f Start_(self, cmd_line, timeout=None, retry_interval=None) ...

Starts the application giving in cmd_line

f Connect_(self) ...

Connects to an already running process

f connect_(self) ...

Connects to an already running process

f top_window_(self) ...

Return the current top window of the application

f active_(self) ...

Return the active window of the application

f windows_(self) ...

Return list of wrapped windows of the top level windows of the application

f Windows_(self) ...

Return list of wrapped windows of the top level windows of the application

f window_(self) ...

Return a window of the application

You can specify the same parameters as findwindows.find_windows. It will add the process parameter to ensure that the window is from the current process.

f Window_(self) ...

Return a window of the application

You can specify the same parameters as findwindows.find_windows. It will add the process parameter to ensure that the window is from the current process.

f __getitem__(self, key) ...

Find the specified dialog of the application

f WriteAppData(self, filename) ...

Should not be used - part of application data implementation

f GetMatchHistoryItem(self, index) ...

Should not be used - part of application data implementation

f RecordMatch(self, criteria, ctrls) ...

Save that a control request matched.

f Kill_(self) ...

Try and kill the application

Dialogs may pop up asking to save data - but the application will be killed anyway - you will not be able to click the buttons. this should only be used

f kill_(self) ...

Try and kill the application

Dialogs may pop up asking to save data - but the application will be killed anyway - you will not be able to click the buttons. this should only be used

See the source for more information.