====== 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 ====
OutputPane.AddCommand(sCommand, bAddToHistory);
==== Visual Basic Script ====
OutputPane.AddCommand sCommand, bAddToHistory
==== C++ ====
HRESULT hr = OutputPane.AddCommand(sCommand, bAddToHistory);
===== See Also =====
[[:scripting:api:output-pane:start|IOutputPane]]
~~NOTOC~~