按键char - KeyPressChar
函数简介
按住指定的虚拟键码key_str
接口名称
KeyPressChar
DLL调用
int KeyPressChar(long ola, string key_str)
参数定义:
ola
(长整型数): OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。key_str
(字符串): 按键字符。
示例:
待补充...
COM调用
int KeyPressChar(string key_str)
参数定义:
key_str - key_str
(字符串): 按键字符。
示例:
ola.KeyPressChar("enter")
ola.KeyPressChar("1")
ola.KeyPressChar("F1")
ola.KeyPressChar("a")
ola.KeyPressChar("B")
返回值
整型数:
0 : 失败
1 : 成功