Contents - Index


 

Use SessionWindow to position and/or size the current session window.

 

SessionWindow may also be entered as SessionWin[dow] or SessWin[dow].

 

Optional Operands

 

POS is one of the following:

 

L[EFT] causes the session window to be positioned and sized so that it covers the left half of the session area.

 

R[IGHT] causes the session window to be positioned and sized so that it covers the right half of the session area.

 

T[OP] causes the session window to be positioned and sized so that it covers the top half of the session area.

 

B[OTTOM] causes the session window to be positioned and sized so that it covers the bottom half of the session area.

 

POS[ITION] causes the session window to be positioned and sized based upon values entered for the XLEFT, YBOTTOM, WIDTH, and HEIGHT operands.

 

MOVE causes the session window to be moved based upon values entered for the XLEFT and YBOTTOM operands.

 

SIZE causes the session window to be sized based upon values entered for the WIDTH and HEIGHT operands.

 

MAX[IMIZE] causes the session window to occupy the entire session area.

 

RES[TORE] causes the session window to be positioned and sized to its last non-maximized size.

 

TOG[GLE] switches between MAXIMIZE and RESTORE state.  That is, if the session window is currently in maximized state, it will be positioned and sized to its last non-maximized state.  If the session window is not currently in a maximized state, it will be positioned and sized so that it occupies the entire session area.

 

 Default: TOGGLE.

 

XLEFT [Relevant for POS=POS and POS=MOVE only] specifies the location of the left border, as a value between 1 and 100, with 1 being the left-most position of the session area and 100 being the right-most position of the session area.

 

 Default: 1.

 

YBOTTOM [Relevant for POS=POS and POS=MOVE only] specifies the location of the bottom border, as a value between 1 and 100, with 1 being the bottom of the session area and 100 being the top of the session area.

 

 Default: 1.

 

WIDTH [Relevant for POS=POS and POS=SIZE only] specifies the width of the session window, as a value between 1 and 100, with 100 being the entire width of the session area.

 

 Default: 100 - XLEFT + 1.

 

HEIGHT [Relevant for POS=POS and POS=SIZE only] specifies the height of the session window, as a value between 1 and 100, with 100 being the entire height of the session area.

 

 Default: 100 - YBOTTOM + 1.

 

Pressing Alt-Ctrl-< invokes the following command:

 

   => SessionWindow Left

 

Pressing Alt-Ctrl-> invokes the following command:

 

   => SessionWindow Right

 

Pressing Alt-Ctrl-PageUp invokes the following command:

 

   => SessionWindow Top

 

Pressing Alt-Ctrl-PageDown invokes the following command:

 

   => SessionWindow Bottom

 

Pressing Alt-Ctrl-/ invokes the following command:

 

   => SessionWindow Toggle

 

Return Codes

 

OK Successful.

 

Examples

 

Position and size the session window so that it covers the left half of the session area:

 

   => sesswin left

 

Position and size the session window so that it covers the right half of the session area:

 

   => sesswin right

 

Position and size the session window so that it covers the top half of the session area:

 

   => sesswin top

 

Position and size the session window so that it covers the bottom half of the session area:

 

   => sesswin bot

 

Position and size the session window so that it is centered with horizontal borders 10% in from the maximum position and vertical borders 20% in from the maximum position:

 

   => sesswin pos,11,21,80,60

 

Move the session window so that the lower left corner of the session window is 20% in from the left maximum position and 15% in from the bottom maximum position:

 

   => sesswin move,20,15

 

Change the size of the session window to a width of 60 and a height of 40:

 

   => sesswin size,,,60,40

 

Toggle between the maximized state and the restored state:

 

   => sesswin tog