====== 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 ==== Application.RegisterShortKey(nKey, pShortKeyHandler, Syntax); ==== Visual Basic Script ==== Application.RegisterShortKey nKey, pShortKeyHandler, Syntax ==== C++ ==== HRESULT hr = Application.RegisterShortKey(nKey, pShortKeyHandler, Syntax); ===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~