2011

Table Of Contents
user interface element of the same type in the main CUIx file, or it can come
from a partial CUIx file.
You cannot swap interface elements that are of different types (menus and
mouse buttons, for example). However, within a given type, you can swap
any user interface element for any other element.
NOTE Swapping can lead to some strange behavior for tablet menus, because
they typically have a different number of macros.
Use the following syntax in a macro to swap elements:
$section=customizationgroup.menuname
The following describes each section of the macro syntax for swapping
elements:
Macro syntax for swapping elements
$ Loads an interface element
section Specifies the element type. Valid names are:
A1-A4 for Aux menus 1 through 4
B1-B4 for mouse buttons 1 through 4
P0-P16 for pull-down menus 0 through 16
I for the image tile menu
S for the screen menu
T1-T4 for tablet menus 1 through 4
customizationgroup Specifies the customization group that menuname is a
member of (not necessary if menuname is in the main CUIx file).
menuname Specifies which section or submenu to insert. It is the main label
or alias for the section to load
The following commands illustrate submenu referencing:
$S=PARTS
$T1=EDITCMDS
You can activate the submenu mechanism in the middle of a command
without interrupting the command. For example, the following command
strings are equivalent:
$S=ARCSTUFF ARC
ARC $S=ARCSTUFF
Create Macros | 161