我正在使用包robot.js,需要使用我的程序运行许多关键的点击命令(通常超过每秒50 )。
到目前为止,它有点像这样:
...for in elements
setTimeout(() => {
console.log(element.deltaTime) // Logs the time that the key should be pressed at (in ms)
if(shifted(element.key)){
robot.keyTap(element.key,"shift")
}else{
robo