Pal, Peter's AutoIt Library Pal Wiki
Library for window, GUI, controls, string, math, data lists, dialogues
Brought to you by:
peverbeek
AutoIt file: Window, Screen, Mouse and Control.au3
The window and screen functions return a property such as width. Since version 1.23 some functions are added/changed to reflect the window coordinates as registered by the Desktop Window Manager (DWM) of Windows Vista and higher (thus more accurate coordinates).
Function | Description |
---|---|
_WindowWidth | Returns window width, client size + border |
_WindowHeight | Returns window height, client size + border |
_WindowDWMWidth | Returns window width according to Desktop Window Manager (Windows Vista and higher) |
_WindowDWMHeight | Returns window height according to Desktop Window Manager (Windows Vista and higher) |
_WindowClientWidth | Returns width of window client area |
_WindowClientHeight | Returns height of window client area |
_WindowBordersWidth | Returns total width of window borders |
_WindowBordersHeight | Returns total height of window borders |
_WindowGetX | Returns x position of window on screen |
_WindowGetY | Returns y position of window on screen |
_WindowDWMX | Returns window x position according to Desktop Window Manager (Windows Vista and higher) |
_WindowDWMY | Returns window y position according to Desktop Window Manager (Windows Vista and higher) |
_Control3DBorderWidth | Returns width of window/control border, small windows and controls such as list boxes |
_Control3DBorderHeight | Returns height of window/control border, small windows and controls such as list boxes |
_WindowGetBkColor | Returns default window background color |
_WindowIsState | Returns if window is in given state |
_WindowExists | Returns if window exists |
_WindowVisible | Returns if window is visible |
_WindowEnabled | Returns if window is enabled |
_WindowMinimize | Returns if window is minimized |
_WindowMaximize | Returns if window is maximized |
_WindowChanged | Returns if window has been moved or resized and updates given array |
_WindowUnderMouse | Gets topmost window under mouse pointer |
_WindowFromProcessId | Gets the handle of the first window or window with title keyword of given process id |
_WindowForceToPrimaryMonitor | Forces window to main monitor if window isn't on target monitor any more due to monitor deactivation, desktop setting changed to 'Duplicate', etc. |
_DesktopWorkAreaWidth | Returns work area width of desktop under mouse |
_DesktopWorkAreaHeight | Returns work area height of desktop under mouse |