当前位置:网站首页>Xdotool key Wizard
Xdotool key Wizard
2022-04-23 10:48:00 【qq1033930618】
List of articles
One 、 download
sudo apt-get install xdotool
Two 、 Run script
sh Script .sh
3、 ... and 、 Capture current mouse position
Capture the current position of the mouse and click repeatedly
#!/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
Four 、 Click the screen position alternately
#!/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://yzsam.com/2022/04/202204230618496924.html
边栏推荐
- SQL server query database deadlock
- Chapter 120 SQL function round
- 19. Delete the penultimate node of the linked list (linked list)
- JVM——》常用命令
- 202、快乐数
- How can swagger2 custom parameter annotations not be displayed
- MapReduce core and foundation demo
- Six practices of Windows operating system security attack and defense
- Example of pop-up task progress bar function based on pyqt5
- 206. Reverse linked list (linked list)
猜你喜欢
C language - custom type
Deploy jar package
Learning note 5 - gradient explosion and gradient disappearance (k-fold cross verification)
JVM——》常用参数
得到知识服务app原型设计比较与实践
Comparison and practice of prototype design of knowledge service app
IDEA——》每次启动都会Indexing或 scanning files to index
JVM - common parameters
Comparison and practice of prototype design of knowledge service app
Example of pop-up task progress bar function based on pyqt5
随机推荐
解决方案架构师的小锦囊 - 架构图的 5 种类型
997、有序数组的平方(数组)
How to quickly download vscode
How can swagger2 custom parameter annotations not be displayed
A diary of dishes | 238 Product of arrays other than itself
Introduction to data analysis 𞓜 kaggle Titanic mission (III) - > explore data analysis
What are the system events of Jerry's [chapter]
SQL server query database deadlock
Chapter 120 SQL function round
242. Valid Letter ectopic words (hash table)
SQL Server cursor circular table data
【leetcode】102.二叉树的层序遍历
全栈交叉编译X86完成过程经验分享
Windows installs redis and sets the redis service to start automatically
Sim Api User Guide(7)
Hikvision face to face summary
Let the LAN group use the remote device
Restful、SOAP、RPC、SOA、微服务之间的区别
349、两个数组的交集
UDP basic learning