查看: 2743|回复: 1
收起左侧

[其他] 请问M3如何自我设定快捷键!

[复制链接]
发表于 2007-1-2 13:18 | 显示全部楼层 |阅读模式 来自: 中国辽宁大连
可以使用Accelerator Functions,加入到触发器中,启动Tribon的模块就可以使用快捷键了.


3.2.9 Accelerator Functions

accelerator_add(Key, SystemKeys, Function)

The function sets Key (optionally in combination with SystemKeys) as an accelerator key for Function. Pressing this accelerator will invoke Function.

Input parameters:

Key

string

One of the following pre-defined strings:

RETURN
NUMPAD0-NUMPAD9
MULTIPLY
ADD
SUBTRACT
DIVIDE
DECIMAL
F2-F12

These strings represent the keys on the numerical keypad. Please note that F1 is not available. F1 is reserved for Help.

SystemKeys

integer

Which system keys that must be pressed together with Key.

0: None.
1: ALT must be pressed.
2: CTRL must be pressed.
4: SHIFT must be pressed.

To combine (require ALT and CTRL to be pressed), add the numbers above.

Function

integer

Specifies the id of the Tribon function to use. See separate chapter for available functions.

Returned value:

None.

Exceptions:

kcs_ArgumentError

Invalid arguments to the function.

kcs_KeyError

Invalid Key parameter.

kcs_SystemKeyError

Invalid SystemKeys parameter.

Example:

# Example: kcs_ex_gui4.py



回复

使用道具 举报

龙船学院
 楼主| 发表于 2007-1-2 10:42 | 显示全部楼层 来自: 中国天津

请问M3如何自我设定快捷键!

请问如何自我设定快捷键!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|标签|免责声明|龙船社区

GMT+8, 2024-9-19 23:55

Powered by Imarine

Copyright © 2006, 龙船社区

快速回复 返回顶部 返回列表