I am looking to make for myself a similar, more simple, watered down version of a program that these fine gents have made:

http://www.iopus.com/iim.htm

Long story short, for starters I am seeking code samples to do the following 2 tasks:

- programmatically move and click the mouse

- programmatically type from the keyboard

For example, if I wanted to set up a program that would log me into my Yahoo mail when the computer boots up, it would open a browser window, move to the username and password boxes, fill them in, then submit the form.

I am having trouble finding anything concerning this, so if you've seen or done something like this, any help would be greatly appreciated.

Best to all,
Bjorn