RibbonCmd

(Engine-Level Function)

Description: Provides two variables that the ribbon will set when the user activates a command
Returns: Boolean
Usage: Steady State only.
Function Groups: Window
Related to: RibbonContextUI | RibbonGalleryItems | RibbonPersistState | RibbonSetProperty
Format: RibbonCmd(CommandID, CommandData)
Parameters:  
CommandID
Required. A variable holding the unique identifier for the activated command.
CommandData
Required. A variable holding any command-specific data.
Comments: The return value of this function can be monitored to initiate script execution when the user activates a ribbon command.

Examples:

IF RibbonCmd(CommandID, CommandData);
[
  ...
]