Is there a way to have this control your mouse? Ideally it is like autohotkey with button clicks and coordinates...
That's generally a bad way to do things, because user interfaces change, and then the mouse automation misses the button. It may not do anything because it hit the space between buttons, or it may do something completely unexpected that causes you headaches to figure out, because now a different button is in the same place and it did that instead.
On Linux, I use
xdotool to move the mouse, issue system hotkeys, etc., but only for large, somewhat hamfisted things. Like, putting the mouse on a particular screen (
the entire screen is my target, not a particular button) so the next app that the same script starts will appear on that screen. (Adv. SS' Run action points to the external script, not the tools directly) Or I can move an existing window to a different screen, bring a particular one on top, etc.
xdotool does all that and far more, on Linux, but it's all coarse actions. No automating a UI with it. It *will* automate a UI if you put in that much detail, but like I said above, the next update may break it spectacularly. Far better in that case, to use hotkeys like Warmuptill suggested, or whatever you can find that's going to stay put.