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.
获取快捷键数据
Signature
typescript
public get(id: string): ISYS_ShortcutKeyDataWithUserDefinedShortcutKey | undefined;1
Parameters
Parameter | Type | Description |
|---|---|---|
id | string | 快捷键 ID,如需获取其它扩展注册的快捷键,请在前缀处拼接扩展 UUID,格式为: |
Returns
ISYS_ShortcutKeyDataWithUserDefinedShortcutKey | undefined
获取到的快捷键数据
Remarks
本接口允许获取其它扩展的快捷键数据,仅需按格式拼接快捷键 ID
本接口无法获取系统快捷键数据
注意:本接口仅扩展有效,在独立脚本环境内调用将始终 throw Error ADD since EDA v4.2