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