Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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 ==== <code javascript> Appplication.onCommand = function(strCommand) { return pbResult; }; </code>==== Visual Basic Script ==== <code vb> function onCommand(strCommand) { return pbResult } Appplication.onCommand = onCommand </code>==== C++ ==== <code cpp> HRESULT COutputPaneEvents::onCommand(IOutputPane* pPane, BSTR strCommand, VARIANT_BOOL* pbResult) { } </code>===== See Also ===== [[:scripting:api:output-pane-events:start|IOutputPaneEvents]] ~~NOTOC~~