.SetWindowPos

Syntax

SetWindowPos Left, Top, Width, Height

Description

Adjusts the location, shape, and size of the Terminal window. If you attempt to set the Terminal window to a size larger or smaller than is feasible, SetWindowPos sets the Terminal window to the largest or smallest size possible.

Command Parameters

Left Argument type: Integer
  The new location for the left margin of the Terminal window (in number of pixels from the left margin of the screen).
   
Top Argument type: Integer
  The new location for the top margin of the Terminal window (in number of pixels from the top margin of the screen).
   
Width Argument type: Integer
  The new width (in pixels) for the Terminal window.
   
Height Argument type: Integer
  The new height (in pixels) for the Terminal window.