From Vladimir:
2. It might be best to use some more lightweight solution, but I don't
know what are scripting options on modern Windows.
Windows Scripting Host (WSH): You can choose between VB script and Java Script. I used it a long time ago, but never did any GUI work with it. Just a lead hope it helps.