BMX Bicycle freestyle
BMX Bicycle freestyle

Sunday, October 31, 2010

Linux script for automatic Mouse Movement

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





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

0 comments:

Post a Comment