Places a window anywhere on the screen.
WinPlace (x-ulc, y-ulc, x-brc, y-brc, partial-winname)
(i) x-ulc how far from the left of the screen to place the upper-left corner (0-1000).
(i) y-ulc how far from the top of the screen to place the upper-left corner (0-1000).
(i) x-brc how far from the left of the screen to place the bottom-right corner (10-1000) or @NORESIZE.
(i) y-brc how far from the top of the screen to place the bottom-right corner (10-1000) or @NORESIZE.
(s) partial-winname either an initial portion of, or an entire windowname. The most-recently used window whose title matches the name will be moved to the new position.
(i) @TRUE if a window was found to move.; @FALSE if no windows were found.
Use this function to move windows on the screen. (You cannot, however, move icons or windows that have been maximized to full screen).
The "x-ulc", "y-ulc", "x-brc", and "y-brc" parameters are based on a logical screen that is 1000 points wide by 1000 points high.
You can move the window without changing the width and/or height by specifying @NORESIZE for the "x-brc" and/or "y-brc" parameters, respectively.
Some sample parameters:
Upper left quarter of the screen: 0, 0, 500, 500
Upper right quarter: 500, 0, 1000, 500
Center quarter: 250, 250, 750, 750
Lower left eighth: 0, 750, 500, 1000
All coordinates are relative to a virtual 1000x1000 screen.
This function works only with top-level (parent) application windows.
Note: 1000x1000 virtual screen size is based on the primary monitor in a multi-monitor display configuration
Run("Notepad.exe","") WinPlace(0, 0, 200, 200, "~Notepad")
WinArrange, WinHide, WinIconize, WinPlaceChild, WinPlaceSet, WinPosition, WinShow, WinZoom, Partial Window Names, IntControl 46