AutoIt WinSetState
Zur Navigation springen
Zur Suche springen
Inhaltsverzeichnis
Schema[Bearbeiten]
Description[Bearbeiten]
Shows, hides, minimizes, maximizes, or restores a window. Fails in case the window is not found.
Input Pins[Bearbeiten]
- AutoItHandle
The handle to the AutoIt server - WindowTitle
The title of the window to show. - WindowState
The "show" flag of the executed program:- @SW_HIDE = Hide window
- @SW_SHOW = Shows a previously hidden window
- @SW_MINIMIZE = Minimize window
- @SW_MAXIMIZE = Maximize window
- @SW_RESTORE = Undoes a window minimization or maximization
- @SW_DISABLE = Disables the window
- @SW_ENABLE = Enables the window
Notes[Bearbeiten]
If multiple windows match the criteria, the most recently active window is used. @SW_MINIMIZE and @SW_MAXIMIZE even work on modal dialog windows.
Revisions[Bearbeiten]
This block is in the AutoIt Library since 1.0.
Back to AutoIt Library.
Previous: AutoIt [ Exists ]
Next: AutoIt [ MinimizeAll ]