2013

Table Of Contents
Control the Display of Command Items
The way a menu item is displayed indicates its availability in the program.
A menu item can be displayed as:
Grayed out (disabled)
Marked with a check marker or border
Both grayed out and marked
Gray Out (Disable) Menu Items
You gray out a menu item by doing one of the following:
Beginning a name with a tilde (~)
Using a DIESEL string expression
For more information about using DIESEL expressions, see DIESEL Expressions
in Macros. When grayed out, the macro and submenus associated with the
menu item are made inaccessible.
DIESEL string expressions are used to conditionally disable or enable a menu
item each time they are displayed. For example, the DIESEL string expression
in the Macro text box in the Properties section disables the MOVE command
while any other command is active.
$(if,$(getvar,cmdactive),~)MOVE^C^C_move
Mark Menu Items
You can mark a menu item by doing one of the following:
Beginning a command name with an exclamation point and a period (!.)
Using a DIESEL string expression
A menu item is marked with or without a check mark.
Menu items can contain DIESEL string expressions to conditionally mark them
each time they are displayed. When the following DIESEL string is added to
the Macro text box for the applicable command in the Properties section on
the Commands tab, a check mark is placed to the left of the menu item whose
related system variable is currently enabled.
$(if,$(getvar,orthomode),!.)Ortho^O
50 | Chapter 4 User Interface Customization