[Share Experiences] 模拟击键和鼠标点击脚本
Tofloor
poster avatar
蔚蓝的天空
deepin
2022-01-07 23:13
Author

大家在玩游戏的时候,有时为了执行一些重复的动作,如键盘按键或是鼠标点击

在WINDOWS下有很多第三方软件,如脚本精灵等,那在DEEPIN下我们怎么办呢?

下面的一种解决办法仅作抛砖引玉

  1. 安装Xdotool sudo apt-get install xdotool
  2. 在终端窗口下配合watch命令构造重复执行语句 watch -n 60 "xdotool click 1" 搞定
Reply Favorite View the author
All Replies
deepin-mq
deepin
2022-01-08 04:52
#1

感谢分享

Reply View the author