RFDocument.RunCommandByName2
(Available After RapidForm2002 PlusPack1)
Description
Executes the specified command.
Syntax
Function RFDocument.RunCommandByName2(workbenchName As String,menuFullName As String) As RFErrorCode
The RunCommandByName2 syntax has these parts:
| Part |
Description |
| workbenchName |
[IN] String Required. Workbench name to which the command belongs. |
| menuFullName |
[IN] String Required. Full name of the command. |
Remarks
- A unique command is identified by workbench name and full menu name, which has
separator character "|" - filter character - between parent and child, as
built in the RapidForm GUI menu bar. For example, the "weld a shell"
command in the Polygon workbench can be identified as follows.
workbenchName
: "Polygon"
menuFullName : "Tool | Weld | One Shell"
For
other example, the "shrink a shell" command in the Polygon workbench
can be idenfied as follows.
workbenchName : "Polygon"
menuFullName
: "Tool | Shrink Shell"
Return to Rapidform Index