Simulate a click with a procedure?

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.

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.

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.