In need of a program

I know that this might be the wrong place to put this in…
But I need to get a program that makes the mouse click on a certain position, stops a small amount of time, and does this all over again…
Of course I’m not expecting to get it done by u guys for nothing…
I just expect a little help from you guys on which language to use to make this program and maybe a few tutorials or sites to help out…
If any of you know of any programs that do this I’d thank you…

Recap:
-Click on a position
-Waits x seconds
-types a certain text
-clicks again
-waits x seconds
-…
-over and over and over

Please don’t use the any language will do…
Choose one that you might know has all these functions and that you know of some tutorials online…

It’s to automate some web searches, so i’d also like it to have a list of things to type…