Simulate a click with a procedure?


#1

I can find the location of the last mouse click with info(“click”) or with getlocalclick. Can I do the reverse, that is, simulate a click if I know the coordinates? I cannot find any statements that do that.


#2

I don’t know if there’s a built in PanoramaX way of doing that, but I’d think you could pass the click location to Applescript and use that to click there. My Applescripting is too rusty to fill in the details. Might also be able to do this with Keyboard Maestro.


#3

It is very easily done with Keyboard Maestro, with several useful options (right, left, modifiers, position relative to, &c.). Keyboard Maestro Move or Click Mouse Action.