Home > SYS_ShortcutKey > get
SYS_ShortcutKey.get() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get Shortcut key data
Signature
function get(id: string): ISYS_ShortcutKeyDataWithUserDefinedShortcutKey | undefined;Parameters
Parameter | Type | Description |
|---|---|---|
id | string | Shortcut key ID. To get shortcut keys registered by other extensions, concatenate the extension UUID as a prefix. Format: |
Returns
ISYS_ShortcutKeyDataWithUserDefinedShortcutKey | undefined
The obtained shortcut key data
Remarks
This API allows getting shortcut key data of other extensions. Simply concatenate the shortcut key ID in the specified format
This API cannot get system shortcut key data
Note: This API is only valid for extensions. Calling it in a standalone script environment will always throw Error ADD since EDA v4.2