New A-Shell/Windows (or ATE) command line switch to override window position:
-wp <placement spec>
The placement spec is made up of an optional monitor identifier prefix and a window position spec within that monitor. Monitor identifiers consist of the prefix letter "m", followed by a character from the set of (l,r,t,b,c) indicating left,right,top,bottom or center, followed by a colon:
Spec |
Placement |
ml |
left-most monitor |
mr |
right-most monitor |
mt |
top-most monitor |
mb |
bottom-most monitor |
mc |
center monitor |
If not specified, or if the system has only one display monitor, the primary monitor is used.
The window position spec consists of one or two characters from the same (l,r,t,b,c) set, followed optionally by one or two digits indicating the division of the vertical or horizontal space on the monitor. By convention, vertical position specifiers should precede horizontal (i.e. use "tl" for top left instead of "lt" for left top). The divisor digit(s) default to 2 if not specified. Some examples:
Spec |
Placement |
t |
use top half of monitor; same as t2 |
br |
use bottom right quadrant; same as br22 |
bc23 |
bottom half, center third of monitor |
cc |
centered vertically and horizontally, half width and height |
A more complete example, specifying a window occupying the left half of the left-most monitor might look like this:
ashw32.exe -i c:\vm\miame\miame.ini -wp ml:l2 gocmd