Run Script from Custom Menusscript, from a custom menu
LabTalk script can be assigned to custom menu items. The Custom Menu Organizer dialog accessible from the Tools main menu in Origin provides easy access to add and edit main menu items. The Add Custom Menu tab of this dialog can be used to add a new main menu entry and then populate it with sub menu items including pop-up menus and separators. Once a menu item has been added, LabTalk script can be assigned for that item. The menu items can be made available for all window types or a specific window type.
The custom menu configuration can then be saved and multiple configuration files can be created and then loaded separately using the Format: Menu main menu. For further information please view the help file page for the Custom Menu Organizer dialog.