You can customize ED with commands that change the menus and function key setup. These commands can be entered individually within ED. They can also be saved as a script, such as S:Ed-startup, or as a file specified with the WITH argument. To execute the file from within ED, use the Run File (Esc,R,F) extended command. For information about changing the function keys, see page 12-14.
The following is the syntax for the Set Menu Item command:
SI <slot number> <slot type> /string1/string2/
The following table shows the slot types and functions used with the Set Menu Item command:
The following is an example script using the Set Menu Item and Enable Menu commands. Quotation marks are used as the delimiters.
SI 0 1 "Project"
SI 1 2 "Open ..." "op ? /Open file:/"
SI 2 2 "Save ..." "sa"
SI 3 4
SI 4 2 "Quit!" "q"
SI 5 1 "Move"
SI 6 2 "Top" "t"
SI 7 2 "Bottom" "b"
SI 8 0
EM