(Autokey's documentation is discontinued so i am posting here since it's a Linux software and there is no forum available)
I use Autokey to create macros for games, but i haven't found in the documentation the script to:
do a right click
do a left click
do a middle click
move the cursor to a specific location
xdotool
– wjandrea May 02 '17 at 18:52