====== Commands ====== Property of [[:scripting:api:application:start|IApplication]] ===== Description ===== Command list. SAFEARRAY of BSTR ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:VARIANT|VARIANT]]** ===== Syntax ===== ==== JavaScript ==== var pCommands = Application.Commands; ==== Visual Basic Script ==== pCommands = Application.Commands ==== C++ ==== VARIANT pCommands; HRESULT hr = Application.get_Commands(&pCommands); ===== Remarks ===== Example of how to work with SAFEARRAY objects can be found [[scripting:safearray|here]]. ===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~