I finally decided to ask around as I am confused as far as why a script running on win 8.1 is not functioning properly.
Unfortunately for me, I now have to use windows. No disrespect here to anyone

I am running windows 8.1 and a VPN. I have to connect to the VPN and thought it would be nice if I could automate the process every morning I connect to my computer.
First of, I downloaded 'autohotkey 64' - Its loaded and no issue there.
Then got the script below saved it to my desktop with extension '.ahk'
Finally, clicked on it and got the error below. After searching the web, I kind of understood the issue is stemming from the connect bottom I have when connecting to my VPN the usual way.
I could not find any solution there on how to make the script work properly. Any help is of course much appreciated.
Just to be clear, OpenVPN works perfectly if not using the script.
ERROR
I am trying to parse "Files\OpenVPN\config\ as an --option parameter but I dont see a leading --
SCRIPT
Run C:\Program Files\OpenVPN\bin\openvpn-gui.exe --connect C:\Program Files\OpenVPN\config\Germany.ovpn
WinWaitActive, User Authentication - OpenVPN, , 2
Send 'user'{Tab}'password'{Enter}
Kind Regards,
zongo saiba