for example: 1. press button 1 on a mouse,2. arduino records this,3. arduino replays this over and over really fast to the PC to make it think i am clicking loads(this is not my intention, but is the same concept.)
Your best bet is to hack the button in the mouse so the arduino can control it. A resistor and an NPN transistor might do the job.