当前位置:网站首页>xdotool按键精灵
xdotool按键精灵
2022-04-23 06:19:00 【qq1033930618】
文章目录
一、下载
sudo apt-get install xdotool
二、运行脚本
sh 脚本.sh
三、捕获鼠标当前位置
捕获鼠标当前位置并循环点击
#!/bin/bash
while true
do
x=`xdotool getmouselocation | awk -F '[a-z]:+' '{printf $2}'`
y=`xdotool getmouselocation | awk -F '[a-z]:+' '{printf $3}'`
xdotool mousemove $x $y;xdotool click 1
sleep 3
done
四、交替点击屏幕位置
#!/bin/bash
while true
do
x=1500
xx=2500
y=500
xdotool mousemove $x $y;xdotool click 1
sleep 3
xdotool mousemove $xx $y;xdotool click 1
sleep 3
done
版权声明
本文为[qq1033930618]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_51326691/article/details/124268246
边栏推荐
- Draw margin curve in arcface
- 网络层重要知识(面试、复试、期末)
- 公专融合对讲机是如何实现多模式通信下的协同工作?
- Unable to determine the device handle for GPU 0000:02:00.0: GPU is lost.
- Patrol inspection intercom communication system in power industry
- ES6之箭头函数细谈
- STM32多路测温无线传输报警系统设计(工业定时测温/机舱温度定时检测等)
- Systrace parsing
- 各类日期转化的utils
- Solution of emergency communication system for major security incidents
猜你喜欢

The people of Beifeng have been taking action

北峰通信助力湛江市消防支队构建PDT无线通信系统

Us photo cloud editing helps BiliBili upgrade its experience

el-table 横向滚动条固定在可视窗口底部

带您遨游太空,美摄科技为航天创意小程序提供全面技术支持

Intelligent communication solution of Hainan Phoenix Airport

Flexible blind patch of ad hoc network | Beifeng oil and gas field survey solution

Draw margin curve in arcface

Take you to travel in space, and American photography technology provides comprehensive technical support for aerospace creative applet

关于'enum'枚举类型以及结构体的问题。
随机推荐
Statement of American photography technology suing Tianmu media for using volcanic engine infringement code
枫桥学院开元名庭酒店DMR系统解决方案
go语言数组操作
ES6之箭头函数细谈
华为云MVP邮件
南方投资大厦SDC智能通信巡更管理系统
Typora语法详解(一)
Emergency medical communication solution | mesh wireless ad hoc network system
自定义classloader并实现热部署-使用loadClass
初探智能指针之std::shared_ptr、std::unique_ptr
x86架构初探之8086
重大安保事件应急通信系统解决方案
北峰油气田自组网无线通信对讲系统解决方案
Us photo cloud editing helps BiliBili upgrade its experience
利用mysql-binlog恢复数据
大型体育赛事无线通信系统
SQL练习第一题
北峰通信助力湛江市消防支队构建PDT无线通信系统
PyTorch 19. Differences and relations of similar operations in pytorch
可视化之路(十)分割画布函数详解