Everyone seems to forget that there is already a working bot out there made with WinAutomation, and the source is posted in the same opening post.

I also commented the source as much as possible. Follow the source step by step, and don't forget to share your awesome bot with us