====== ShortKey ======
Constructor of ShortKey object as method of [[:scripting:api:script-application:start|IScriptApplication]]
===== Description =====
ShortKey constructor
===== Parameters =====
* [[scripting:api:data-type:VARIANT|VARIANT]] **onExecute**
==== Return Value ====
* [[:scripting:api:script-short-key-handler:start|IScriptShortKeyHandler]] **ppShortKeyHandler**
===== Syntax =====
==== JavaScript ====
var ppShortKeyHandler = new ShortKey(onExecute);
==== Visual Basic Script ====
ppShortKeyHandler = ScriptApplication.ShortKey onExecute
==== C++ ====
CComPtr pShortKeyHandler;
HRESULT hr = ScriptApplication.ShortKey(onExecute, &pShortKeyHandler);
===== See Also =====
[[:scripting:api:script-application:start|IScriptApplication]]
~~NOTOC~~