Referencing Mapkeys in settings
You can also reference mapkeys in a line with the following syntax:
%<mapkey name>
For example, if you have your file contains the following mapkey definition:
mapkey repaint ~ Activate `main_dlg_cur` `View.psh_view_repaint`
you can reference your button definition using the following syntax:
@setbutton PART Update#Model %repaint
where % repaint is the direct reference to the mapkey.
To add menu items to the menu bar or toolbars, use the Customize dialog box (Tools > Customize Screen).