Module my_autopylot.windows39

Functions

def launch_any_exe_bat_application(pathOfExeFile='')

Description

Launches any exe or batch file or excel file etc.

Args

pathOfExeFile : str, optional
Location of the file with extension
Eg
Notepad, TextEdit. Defaults to "".

Returns

[status] Status (bool) : True if the file is found.

def window_activate_and_maximize_windows(windowName='')

Description

Activates and maximizes the desired window.

Args

windowName (str) : Name of the window to maximize.

Returns

[status] status (bool) : True if the window is found.

def window_activate_window(window_title='')

Description

Activates the desired window.

Args

window_title (str) : Name of the window to activate.

Returns

[status] status (bool) : True if the window is found.

def window_close_windows(windowName='')

Description

Close the desired window.

Args

windowName (str) : Name of the window to close.

Returns

[status] status (bool) : True if the window is found.

def window_get_active_window()

Description

Gives you the active window name.

Args

None

Returns

[status, data] status (bool) : True if the window is found. data (str) : Name/Title of the active window.

def window_get_all_opened_titles_windows()

Description

Gives the title of all the existing (open) windows.

Args

None

Returns

[status, data] status (bool) : True if the window is found. data (list) : List of all the opened windows.

def window_minimize_windows(windowName='')

Description

Activates and minimizes the desired window.

Args

windowName (str) : Name of the window to miniimize.

Returns

[status] status (bool) : True if the window is found.

def window_restore_windows(windowName='')

Description

Restores the desired window.

Args

windowName (str) : Name of the window to restore.

Returns

[status] Status (bool) : True if the window is found.

def window_show_desktop()

Description

Shows the desktop by minimizing all the windows.

Args

None

Returns

[staus] status (bool) : True if the window is found.