AutoIt like this AutoIT here:
http://www.autoitscript.com/autoit3/
???
I've written plenty of scripts using it but this is more for simulating clicks etc, if I understand your requirements correctly you need this done in a 'real' programming language.
anyway, it's a bump for you