With the help of a script file (for example, menu.scr) you can configure your own text menu.
# Command Menu Setup
#
# This is an example that shows how to set up a complex
# command menu, including submenus and command aliases.
MENU '[designlink22.png] Search and order {\
General : Run designlink-order.ulp -general; |\
Schematic : Run designlink-order.ulp; \
}' \
'Grid { \
Metric { \
Fine : Grid mm 0.1; | \
Coarse : Grid mm 1; \
} | \
Imperial { \
Fine : Grid inch 0.001; | \
Coarse : Grid inch 0.1; \
} | \
On : Grid On; | \
Off : Grid Off; \
}' \
'Display { \
Top : Display None Top Pads Vias Dim; | \
Bottom : Display None Bot Pads Vias Dim; | \
Placeplan { \
Top : Display None SilkscreenTop Dim; | \
Bottom : Display None SilkscreenBottom Dim; \
} \
}' \
'---' \
'Fit : Window Fit;' \
Add Delete Move ';' Edit Quit \
;
The backslash \
at the end of a line shows that a command continues in the next line. Here the MENU command runs from the first line after the comment to the last line.
The pipe sign |
has to be used if a command within braces { }
is followed by another command.
The MENU command can handle small images as shown in the example above with designlink22.png. The images are expected to be in the eagle/bin folder by default. It is also possible to use a path with the image name.