Working with Menus

 
 
 

Add-ins can make use of the Showcase menu system to:

To these ends, the SDK provides a number of sample add-ins that illustrate how to interact with the Showcase menus.

Workflow, Samples and Tools

Workflow Related samples and tools Details
Invoking built-in Showcase menu functionality Python:
  • MenusAndHotkeys.py

Messages:

  • MENU_INVOKE_ITEM
Adds items to the Help menu that show the message formats for invoking built-in menu functionality.

Also adds a new menu called “Local Menu” to the right of the Showcase Help menu.

Illustrates proper use of the MENU_INVOKE_ITEM message.

Adding custom items to Showcase menus Python:
  • TemplatePlugin.py
A bare-bones add-in that creates new menu items, and a new menu called “Local Menu”. Also creates hotkeys for the items.
Triggering your add-in from a Showcase menu Python:
  • CallScriptCustom.py

Messages:

  • EXECUTE_MODULE
Triggers a custom script from a menu.
Linking to a web page from a Showcase menu Python:
  • BrowserCustom.py
A model for adding hyperlinks to the online help for your add-in, to the home page of your company, etc.