Your friend gave you the main info you need.
Download AutoIt3 from here:
http://www.autoitscript.com/autoit3/downloads.shtml
Read the Intro to AutoIt here:
http://www.autoitscript.com/autoit3/...ro/running.htm
Then read the page that your friend showed you and put it to use.
Cheers,
Jamey
p.s. all of the info you need is on the autoit website. just click around. them three links will help you easily...