2010/10/31

Linux script for automatic Mouse Movement

Repetitive tasks take a lot of time if they are done manually. These scripts & tools for Linux will automate mouse movement&keyboard usage:





-xdotool can simulate both keyboard and mouse activity.
Example: move cursor to the right and click with right button:

xdotool mousemove_relative 100 0
xdotool click 3


-xvkbd is virtual keyboard. It mainly allows to send keystrokes to programs.

Example: quit program

b=$(xwininfo -name Transmission | grep Window\ id:\ | awk '{print $4}')  #get programs window id
xvkbd -xsendevent -window $b -text "\Cq" #send keystroke to quit program


-iMacros is plugin for webbrowser automatizaton. It allows recording and than replaying mouse actions on web.


-Check also: Xmacro and Gnee

No comments:

Related Posts Plugin for WordPress, Blogger...