eda_sys_shortcut_key_unregister
Unregister a custom shortcut key by its ID to disable its action. Use this to remove shortcut bindings registered by extensions.
Instructions
sys_ShortcutKey.unregister(id: string) -> boolean 反注册快捷键 remarks: 本接口允许反注册其它扩展的快捷键,仅需按格式拼接快捷键 ID
本接口无法反注册系统快捷键
注意:本接口仅扩展有效,在独立脚本环境内调用将始终 throw Error
ADD since EDA v4.2 returns: 反注册是否成功
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |