Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 _WindowPadX
A
 Adding Commands
C
 Command-line Usage
F
 Functions
W
 WindowPadX-Actions library
 wp_ClipCursor
 wp_GetMonitorAt
 wp_GetMonitorFromMouse
 wp_GetMonitorFromWindow
 wp_GetProp
 wp_IsAlwaysOnTop
 wp_IsResizable
 wp_IsWhereWePutIt
 wp_RememberPos
 wp_RemoveProp
 wp_Restore
 wp_RollWindowToggle
 wp_SetProp
 wp_SetRestorePos
 wp_WinExist
 wp_WinGetTitle
 wp_WinLastMinimized
 wp_WinPreviouslyActive
 wp_WinTraymin
 WPXA_ClipCursorToCurrentMonitorToggle
 WPXA_ClipCursorToMonitor
 WPXA_FillVirtualScreen
 WPXA_GatherWindowsOnMonitor
 WPXA_MaximizeToggle
 WPXA_MinimizeWindowsOnMonitor
 WPXA_MouseLocator
 WPXA_Move
 WPXA_MoveMouseToMonitor
 WPXA_MoveWindowToMonitor
 WPXA_RollToggle
 WPXA_TileLast2Windows
 WPXA_TopToggle
 WPXA_TrayMinWindow
 WPXA_version
Handling windows in general and within a multi-monitor setup in special
Additional commands for use in WindowPadX.ini may be implemented by simply adding subroutines or functions to WPXA.ahk.
WindowPadX supports a command-line mode.
Implementation of different useful actions for handling windows in general and within a multi-monitor setup in special.
wp_ClipCursor(Confine = True,
x1 = 0 ,
y1 = 0,
x2 = 1,
y2 = 1)
Clips (restricts/confines) the mouse to a given area
wp_GetMonitorAt(x,  
y,  
default = 1)
Get the index of the monitor containing the specified x and y coordinates.
wp_GetMonitorFromMouse(default = 1)
Get the index of the monitor where the mouse is
wp_GetMonitorFromWindow(hWnd)
Get the index of the monitor containing the specified window.
wp_GetProp(hwnd,  
property_name,  
type = "int")
Get window property.
wp_IsAlwaysOnTop(WinTitle,  
IsSetByWP = )
Determine whether fiven window is set to always on top
wp_IsResizable()
Determine if we should attempt to resize the last found window.
wp_IsWhereWePutIt(hwnd,
x,
y,
w,
h)
Restores windows position and size previously stored with wp_RememberPos
wp_RememberPos(hwnd)
Helper function for detection of window movement by user.
wp_RemoveProp(hwnd,
property_name)
Remove window property.
wp_Restore()
Restores windows to state according properties
wp_RollWindowToggle(hwnd)
Toggles Rollup of a window (Rollup to caption bar)
wp_SetProp(hwnd,  
property_name,  
data,  
type = "int")
Set window property.
wp_SetRestorePos(hwnd,
x,
y,
w,
h)
Stores windows position for restoring it later
wp_WinExist(WinTitle)
Custom WinExist() for implementing a couple extra “special” values.
wp_WinGetTitle(WinTitle)
Custom WinGetTitle() for getting either title of “last found” window or window given by title
wp_WinLastMinimized()
Get most recently minimized window.
wp_WinPreviouslyActive()
Get next window beneath the active one in the z-order.
wp_WinTraymin(hWnd =  "",
nFlags =  "")
Minimizes a window to a tray icon.
WPXA_ClipCursorToCurrentMonitorToggle()
Toogles clipping mouse to current monitor
WPXA_ClipCursorToMonitor(md)
Clips (Restricts) mouse to given monitor
WPXA_FillVirtualScreen(winTitle)
Expand the window to fill the virtual screen (all monitors).
WPXA_GatherWindowsOnMonitor(md)
“Gather” windows on a specific screen.
WPXA_MaximizeToggle(winTitle)
Maximize or restore the window.
WPXA_MinimizeWindowsOnMonitor(md)
Minimize all windows on the given Screen or all windows on screen where where the mouse currently lives
WPXA_MouseLocator()
Easy find the mouse
WPXA_Move(sideX,
sideY,
widthFactor,
heightFactor,
winTitle)
move and resize window based on a “pad” concept.
WPXA_MoveMouseToMonitor(md)
Moves mouse to center of given monitor
WPXA_MoveWindowToMonitor(md,
winTitle)
Move window between screens, preserving relative position and size.
WPXA_RollToggle(WinTitle)
Toogles “Roll/Unroll” for given window
WPXA_TileLast2Windows()
Tile active and last window
WPXA_TopToggle(WinTitle)
Toogles “Always On Top” for given window
WPXA_TrayMinWindow(WinTitle)
Minimizes a window to a tray icon.
WPXA_version()
Returns the current version of WPXA
Close