| Log In | Not a Member? |
Contact ADC
|
|
SYNTAX Undo [window] DESCRIPTION The Undo command reverses the last editing operation in the specified window. This is equivalent to selecting Undo from the Edit menu. If the Shell variable {AllowMultipleUndo} is set to 1, repeated applications of Undo act to consecutively reverse all previous editing events. This built-in command was added in the v. 3.4.2 MPW Shell.
Note INPUT None OUTPUT None ALIAS RESOLUTION This command resolves Finder aliases that are part of a partial or complete pathname substituted for the window name. The resolved pathname must specify the name of an open window. Note that using a shell variable to designate a window is usually faster than requiring MPW to resolve a Finder alias. STATUS
Undo may return the following status codes:
PARAMETERS window Specifies the window in which the last editing operation is to be reversed. The default window is the target window. OPTIONS None EXAMPLES The following command line reverses the last edit operation in the target window: Undo The following command line reverses the last edit operation in the Worksheet window: Undo "{Worksheet}" SEE ALSO
|