How do I emulate mouse clicks using code ? I want the mouse to actually click on something, and not JUST trigger an event.

What I am trying to do:
I am trying to set a timer to click the mouse on an X/Y Pos.