Hey

I was watching this video of a bot made in Visual basic.

http://www.youtube.com/watch?v=oFIGJVCpr5s

What I would like to knw is how is this bot made? Is it through an image recognition? How does the program know when and where to click that? What kind of coding is used?

Thanks