P i*_*P i 3 macos events keystroke send
我希望将击键,包括shift,ctrl,cmd,opt组合发送到OSX.基本上我可以在键盘上做任何事情.
我该如何做到这一点?
我还想发送鼠标点击.这是一个单独的调查吗?
jus*_*tin 6
您可以使用CGEventAPI,例如CGEventCreateKeyboardEvent后跟CGEventPost.
CGEvent
CGEventCreateKeyboardEvent
CGEventPost
归档时间:
14 年 前
查看次数:
4358 次
最近记录: