Marker

The Marker internal command is used to display toolbar buttons and menu items that are added dynamically by third-party namespace extensions (it acts as a dynamic button). For example, an FTP namespace extension may add buttons to the toolbar to switch between ASCII and binary transfer modes.

Explorer allows a third-party namespace extension to totally replace the toolbar and menu contents. However, Directory Opus gives full control to the user over the state of the toolbars, and therefore the Marker command is needed to mark the place where these commands are to appear.

The system that allows namespace extensions to add toolbar buttons has been deprecated by Microsoft in later versions of Windows, so these days this command is often not needed - however it remains for backwards compatibility reasons.

 

Command Arguments:

Argument

Type

Possible values

Description

ID

/K/N

<id>

Send a namespace-specific command direct to the namespace folder currently displayed in the active Lister. You need to know the exact command ID that the namespace uses, which can be hard to determine. Ordinarily you will never use this option directly - Opus uses it when generating the dynamic buttons that are added by the Marker command.

Example: Marker ID 1002

MENU

/K

<menu name>

Marks the spot where namespace-specific menu items will be displayed. The <menu name> parameter is a keyword corresponding to one of the standard Explorer menus (file, edit, view, tools, help), other (commands not fitting into any of those menus) and all (all namespace-specific menu items).

Example: Marker MENU=file

TOOLBAR

/S

(no value)

Marks the spot where namespace-specific toolbar buttons are displayed.

Example: Marker TOOLBAR