ExecuteMenuCommand Method (CommandsManager Object)

Scope: Schematic editor

Object: CommandsManager Object

Prerequisites: None

Causes the specified menu command to be executed.

Usage

CommandsManager.ExecuteMenuCommand(ByVal command_name As String)

Arguments

command_name

Specifies the name of the menu command. The name is the same name used for the KeyBindings. For example to execute a File > Open > Project menu command, pass "FileOpenProject" as the string.