Window - Minimize

Minimizes a specific window.

Action ID:
Action Category:
Action List Syntax:

3
Window
Window.Minimize (<<HWND>>)

Settings

hWnd:

An integer value that represents the "handle" of the window on the user's desktop that will be minimized. The hWnd value can be determined using a "Window - Find" action, or the built-in variable %MenuHWnd% (which is the hWnd value for the AutoPlay application's window) can be used.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_WINDOW_MINIMIZE

MSG_ERR_WINDOW_MINIMIZE
MSG_ERR_WINDOW_HWND_NOT_FOUND
<<HWND>>

Examples

Minimizing the AutoPlay application