With the UI Designer, you can add a button or other control that runs a macro or a macro-related action to the Ribbon. All supported macros, including RCL scripts and legacy macro editors, are available as actions. Legacy compatibility features must be installed for these options to appear in the Actions list. For more information, see the InfoConnect Administrator's Reference.
NOTE:The UI Designer is just one way to create controls — the Context Menu Editor, Keyboard Mapper, Mouse Mapper, and Hotspots provide other ways for you to run favorite macros and actions.
To add a button that runs a macro-related action
From the tab, click .
From the pane, from the Ribbon simulation, select the tab and group to which you want to add the control.
To select a group, click the group name. Create a new group, if needed.
From the pane, click .
From the pane, click the button.
From the menu, choose .
Select an action from the list.
If you selected an action that runs a macro, select the appropriate options:
|
To |
Choose |
|---|---|
|
Select a macro (or open a file that contains macros) each time you click the button |
|
|
Specify a macro that runs automatically each time you click the button |
You can enter command-line arguments for the macro in the field |
From the pane, set the properties for the new button that appears on the Ribbon.
Click .
If prompted, type a new filename for the custom ribbon and then save the file.
The button is saved to a custom ribbon file that you can use in other session documents.