AutoPositionWindow [/E][/M=m ][/R=relWindow] [windowName]
The AutoPositionWindow operation positions the window specified by windowName relative to the next lower window of the same kind or relative to the window given by the /R flag. If windowName is not specified, AutoPositionWindow acts on the target window.
Flags
| |
|---|
| /E | Entire area of the monitor is used. Otherwise, provision is made for the command window. |
| /M=m | Specifies the positioning method. |
| | m =0: | Positions windowName to the right of the other window, if possible. If there is no room, then windowName is positioned just below the other window but at the left edge of the display area. If that is not possible, then the position is not affected. | | m =1: | Positions windowName just under the other window lined up on the left edge, if possible. If there is no room, then windowName is positioned just to the right of the other window lined up on the bottom edges. If neither are possible then positions windowName as far to the bottom and right as it will go. |
|
| /R=relWindow | Positions windowName relative to relWindow. |