First, you've got to be real careful out there....it's very confusing. For instance, Buttontrader, which is an excellent DOM EXECUTION platform, has an automation "feature". However, when you look into it further, it is not really "programmable".
Secondly, you do not want to attempt to build...