Tools: MPW
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Support

MPW Command Reference


RotateWindows

Built-in

SYNTAX

RotateWindows [-r]

DESCRIPTION

The RotateWindows command places the frontmost MPW Shell window in the back and brings the second window to the front. Multiple calls to RotateWindows rotate through all open MPW Shell windows.

INPUT

None

OUTPUT

None

STATUS

RotateWindows can return the following status codes:

0

no errors

1

syntax error (error in parameters)

PARAMETERS

None

OPTIONS

-r

Reverses the window rotation, bringing the bottom window to the front.

EXAMPLES

You might want to add RotateWindows to a menu, along with a Command-key equivalent. For example, the following command line creates a Rotate Windows menu item with the keyboard equivalent Command-® (Command-Option-R):

AddMenu 'Extras' 'Rotate Windows/®' 'RotateWindows'

SEE ALSO

HideWindows

MoveWindow

ShowWindows

SizeWindow

StackWindows

ZoomWindow

 
 


Last Updated July 2000