I know how to program a click on Win32 (click on the screen programmatically) using C or Ruby. Does anyone know how to do it on Mac OS X and Linux just as a comparison? thanks.
A:
I asked this question myself recently on identi.ca, and got the following answers:
"You can try XSendEvent in Xlib or xcb_send_event in XCB."
"Try a small utility called xte (part of the xautomation package.)"
I also found a tool called xdotool which allows you to programatically simulate keyboard and mouse activity, amongst other things.
ngm
2009-11-23 14:39:04