ShortKey
Constructor of ShortKey object as method of IScriptApplication
Description
ShortKey constructor
Parameters
- VARIANT onExecute
Return Value
- IScriptShortKeyHandler ppShortKeyHandler
Syntax
JavaScript
var ppShortKeyHandler = new ShortKey(onExecute);
Visual Basic Script
ppShortKeyHandler = ScriptApplication.ShortKey onExecute
C++
CComPtr<IScriptShortKeyHandler> pShortKeyHandler; HRESULT hr = ScriptApplication.ShortKey(onExecute, &pShortKeyHandler);