Constructor of ShortKey object as method of IScriptApplication
ShortKey constructor
var ppShortKeyHandler = new ShortKey(onExecute);
ppShortKeyHandler = ScriptApplication.ShortKey onExecute
CComPtr<IScriptShortKeyHandler> pShortKeyHandler; HRESULT hr = ScriptApplication.ShortKey(onExecute, &pShortKeyHandler);