I've been searching online and experimenting but can't get this to work.

I'm using the Windows Scripting Host (just running .vbs files on the machine)

What I need to do is gain focus on a...