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

MPW Command Reference


Unmark

Built-in

SYNTAX

Unmark namewindow

DESCRIPTION

The Unmark command removes the specified markers from window. This removes the marker names from the list of markers available for the specified window. If window is the active window, Unmark automatically adjusts the Mark menu items to reflect the deletions.

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

Unmark can return the following status codes:

0

no errors

1

syntax error

2

error in processing

3

system error

PARAMETERS

name

Specifies one or more markers to be removed from window.

window

Specifies the window.

OPTIONS

None

EXAMPLES

The following command line removes all markers associated with the target window:

Unmark `Markers` "{Target}"

The next command line removes the Proc1 marker from the active window's marker list. Because {Active} is by definition the active window, the Mark menu is also adjusted to reflect the deletion of the Proc1 marker.

Unmark Proc1 "{Active}"

LIMITATIONS

The Unmark command does not support Undo; in other words, you cannot reverse the deletion of a marker.

SEE ALSO

Mark

Markers

 
 


Last Updated July 2000