Resize window

Resizes the current foreground window (or a specific window using the /Window switch).

Arguments

window — Window

Defaults to the current foreground window. Find windows by searching for the process name, window class and window title. All parts support wildcards or regular expressions. When setting up this command in the user interface, a nice editor is provided for the separate parts. When searching from the command line, the syntax is: \[process name]\[window class]\[window title]. All parts are optional, meaning you can use "\\\Untitled - Notepad" to find the window with that title. Wildcards are supported for each part. You can use regular expressions by surrounding the part with forwards slashes: "\\\/.* - Notepad/" will find any Notepad window, and is equivalent to "\\\* - Notepad".

size — Size

The desired size of the window. If a dimension is given in percent, it is relative to the current monitor working area.

origin — Origin

The origin of the resize operation. Specify "50%,50%" (or "center, center") to resize from the middle.