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. ====== AddCommand ====== Method of [[:scripting:api:output-pane:start|IOutputPane]] ===== Description ===== Pass command to running tool ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **sCommand** * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **bAddToHistory** = VARIANT_FALSE (optional) ===== Syntax ===== ==== JavaScript ==== <code javascript> OutputPane.AddCommand(sCommand, bAddToHistory); </code>==== Visual Basic Script ==== <code vb> OutputPane.AddCommand sCommand, bAddToHistory </code>==== C++ ==== <code cpp> HRESULT hr = OutputPane.AddCommand(sCommand, bAddToHistory); </code>===== See Also ===== [[:scripting:api:output-pane:start|IOutputPane]] ~~NOTOC~~