描述

为指定的键返回组合键字符串(例如,Ctrl+Shift+A)。


语法

expression.KeyString((KeyCode), [KeyCode2])

部  分 描  述
expression 可选。该表达式返回 Application 对象。
KeyCode 必需,Long 类型。用 wpsKey 常量指定的一个键。
KeyCode2 可选,Variant 类型。用 wpsKey 常量指定的第二个键。


说明

可用 BuildKeyCode 方法创建 KeyCodeKeyCode2 参数。