An example in AHK would be:
1::Click, right
2::MouseMove, 0, 70, 0, R
3::Click
1 Answer
Install xdotool:
sudo apt-get install xdotooland from a terminal or script:
Up
xdotool mousemove_relative -- 0 -70Down
xdotool mousemove_relative 0 70Right
xdotool mousemove_relative 70 0Left
xdotool mousemove_relative -- -70 0
You can also pilot clicks with:
Left click
xdotool click 1Right click
xdotool click 3