Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== RegisterShortKey ====== Method of [[:scripting:api:application:start|IApplication]] ===== Description ===== Register ShortKey handler ===== Parameters ===== * [[scripting:api:data-type:VARIANT|VARIANT]] **nKey** * [[:scripting:api:short-key-handler:start|IShortKeyHandler]] **pShortKeyHandler** * [[scripting:api:data-type:VARIANT|VARIANT]] **Syntax** (optional) ===== Syntax ===== ==== JavaScript ==== <code javascript> Application.RegisterShortKey(nKey, pShortKeyHandler, Syntax); </code>==== Visual Basic Script ==== <code vb> Application.RegisterShortKey nKey, pShortKeyHandler, Syntax </code>==== C++ ==== <code cpp> HRESULT hr = Application.RegisterShortKey(nKey, pShortKeyHandler, Syntax); </code>===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~