AutoIt WinSetState: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Schema == Bild:AutoIt WinSetState.png == Description == Shows, hides, minimizes, maximizes, or restores a window. Fails in case the window is not foun…“)
 
K
 
Zeile 4: Zeile 4:


== Description ==
== Description ==
Shows, hides, minimizes, maximizes, or restores a window. Fails in case the window is not found.
Shows, hides, minimizes, maximizes, or restores a window. Fails in case the window is not found.


== Input Pins ==
== Input Pins ==
*'''AutoItHandle'''<br>The handle to the autoit server
*'''AutoItHandle'''<br>The handle to the AutoIt server
*'''WindowTitle'''<br>The title of the window to show.
*'''WindowTitle'''<br>The title of the window to show.
*'''WindowState'''<br>The "show" flag of the executed program:
*'''WindowState'''<br>The "show" flag of the executed program:
Zeile 27: Zeile 27:
<!--AutoUpdateNavPanel-->
<!--AutoUpdateNavPanel-->


----
<hr>
Back to [[AutoIt Library#Window Specific Functions|AutoIt Library]].<br>
Back to [[AutoIt Library#Window Specific Functions|AutoIt Library]].<br>
Previous: [[AutoIt WinExists|AutoIt [ Exists ]]]<br>
Previous: [[AutoIt WinExists|AutoIt [ Exists ]]]<br>

Aktuelle Version vom 15. Juli 2017, 16:05 Uhr

Schema[Bearbeiten]

AutoIt WinSetState.png

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 ]




Copyright © 2014-2024 eXept Software AG