Methods
From AutoIt X
Window methods Reference
Below is a complete list of the methods available in AutoItX. Click on a method name for a detailed description.
| Method | Description |
|---|---|
| WinActivate | Activates (gives focus to) a window |
| WinActive | Checks to see if a specified window exists and is currently active |
| WinClose | Closes a window |
| WinExists | Checks to see if a specified window exists |
| WinGetCaretPosX | Returns the coordinates of the caret in the foreground window |
| WinGetCaretPosY | Returns the coordinates of the caret in the foreground window |
| WinGetClassList | Retrieves the classes from a window |
| WinGetClientSizeHeight | Retrieves the size of a given window's client area |
| WinGetClientSizeWidth | Retrieves the size of a given window's client area |
| WinGetHandle | Retrieves the internal handle of a window |
| WinGetPosHeight | Retrieves the position and size of a given window |
| WinGetPosWidth | Retrieves the position and size of a given window |
| WinGetPosX | Retrieves the position and size of a given window |
| WinGetPosY | Retrieves the position and size of a given window |
| WinGetProcess | Retrieves the Process ID (PID) associated with a window |
| WinGetState | Retrieves the state of a given window |
| WinGetText | Retrieves the text from a window |
| WinGetTitle | Retrieves the full title from a window |
| WinKill | Forces a window to close |
| WinList | Retrieves a list of windows |
| WinMenuSelectItem | Invokes a menu item of a window |
| WinMinimizeAll | Minimizes all windows |
| WinMinimizeAllUndo | Undoes a previous WinMinimizeAll function |
| WinMove | Moves and/or resizes a window |
| WinSetOnTop | Change a window's "Always On Top" attribute |
| WinSetState | Shows, hides, minimizes, maximizes, or restores a window |
| WinSetTitle | Changes the title of a window |
| WinSetTrans | Sets the transparency of a window |
| WinWait | Pauses execution of the script until the requested window exists |
| WinWaitActive | Pauses execution of the script until the requested window is active |
| WinWaitClose | Pauses execution of the script until the requested window does not exist |
| WinWaitNotActive | Pauses execution of the script until the requested window is not active |