====== onCommand ====== Event of [[:scripting:api:output-pane-events:start|IOutputPaneEvents]] ===== Description ===== Called when tool started ===== Parameters ===== * [[:scripting:api:output-pane:start|IOutputPane]] **pPane** * [[scripting:api:data-type:BSTR|BSTR]] **strCommand** ==== Return Value ==== * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **pbResult** ===== Syntax ===== ==== JavaScript ==== Appplication.onCommand = function(strCommand) { return pbResult; }; ==== Visual Basic Script ==== function onCommand(strCommand) { return pbResult } Appplication.onCommand = onCommand ==== C++ ==== HRESULT COutputPaneEvents::onCommand(IOutputPane* pPane, BSTR strCommand, VARIANT_BOOL* pbResult) { } ===== See Also ===== [[:scripting:api:output-pane-events:start|IOutputPaneEvents]] ~~NOTOC~~