Navigation: AlienAPI Basics > Command Tags > #menuinsert |
|
#menuinsert location
For program feature plug-ins, this lets you specify where to put the menu item for this plug-in. By default all plug-ins are placed on the Plugins menu. By setting values for #menuinsert, you can change this. The positions are defined by the menu number, from left to right. That is, the File menu is 1, Sector is 2, etc. If you use a single number, the plug-in is added to the bottom of that menu's list of items. If you use two numbers separated by a space in the #menuinsert tag, the plug-in is placed at the position of the second number within the menu defined by the first number.
Examples
'places the plug-in as the 8th entry of the first menu. In a default installation, this is right after the Import entry in the File menu.
#menuinsert 1 8
'places the plug-in at the end of the 4th menu, typically the Actions menu.
#menuinsert 4