Adding to and modifying menus

There are four menus that can be modified to suit your needs, Make, Tools, Macro and Help. Menu items on these menus can be added or removed to allow you to execute third party programs from RadASM. When you first install RadASM there are a number of menu options that are set by default, you may not have all of these items on your system so you will probably want to adjust your menus to reflect your programming environment.

The edit menu dialogs (Help menu shown) are used to add or remove the items. To edit a particular menu choose the menu from the Option menu and the edit dialog will open. Each item in the can be deleted if necessary. To add an item select an item and press insert, a blank item will be inserted above the selected item. Fill in the fields related to that menu item and press OK when you are done editing the menu. The fields are described below.

Menu Item - This is the menu item as it will appear in the menu. If you place an & next to a letter, that will designate that letter as a quick key, use && to represent a real &
Accelerator - You can choose an accelerator key from the drop-down combobox that will assign a hot-key to the menu item
Command -The command line you wish to execute. The variables can be used in place of paths to use the predefined paths.

If you wish to include files from your project in the command line use the from the section of the RAP file to represent them.

The $ variable is accessible also to represent the topmost filename in the edit control without extension.

Beginning with RadASM version the Tools, Macro and Help menus are assembler specific.This allows you to have a different set of menu items for each assembler that you use. The process is transparent, when you use an assembler it will take the menu items from radasm.ini and use those, if you make a change it will save them to the assembler.ini file and will use them in the future. Changing the items for one assembler has no effect on any of the others.

To insert a separator in a menu you have only to enter a minus in the Menu item field and leave the others blank. To create a Sub Menu enter the name of the Sub Menu in the Menu item field then in the next item use two dots (..) to signify that it is a Sub Menu item, for example:


Notes :
1. Do not change the make menu, it has hard coded commands. You can however assign your own accelerators, change menu text and insert menu breaks. You can also add new items.
2. The two topmost user modifiable parts of the tools menu are equivalent to toolbar buttons (I and II). Do not use these menu items for sub menus.
3. The user modifiable part of the macro menu is used to playback pre-recorded keystroke macros. You can group the macros using sub menus.
4. The user modifiable part of the help menu is used to open help files. You can use any valid Windows file name. You can group the help files using sub menus.
5. ( In the help menu if your command contains an exe file it will be treated as if it is in the tool menu and executed normally otherwise it will be opened with the program registered with Windows for the file type specified.