how to get MouseMove and MouseClick in bash?

后端 未结 6 776
野的像风
野的像风 2020-11-30 04:19

I\'m wondering how to get the MouseClick and MouseMove events in bash scripting for my own simple OS events.

Please tell me how to get that events.

6条回答
  •  無奈伤痛
    2020-11-30 04:54

    you can use xdotool for mousemove and mouseclick events. xdotool is a tool which fakes keyboard and mouse. install it by typing, sudo apt-get install xdotool. By using xdotool you can automate almost everything you do using keyboard and mouse.

提交回复
热议问题