I've added some more enhancements to that script and I'll add some more the next few days or next week along with a help article just for using OpenVPN to reconnect (under Windows).
Until then, here is a short answer:
1. Use all of the above script code, paste it into a text-editor of your choice and save it as "openvpnreconnect.bat" (do NOT save it as TXT file/.txt extension!).
2. Now open JD -> Settings -> Reconnect -> Batch Script and enter the path to your batch file e.g.:
Code:
C:\Users\yourUsername\Downloads\openvpnreconnect.bat
3. Click the "Test" button.
After 10-15 seconds, you should see "Reconnect successful".
As said I will add better instructions and update the script as there is still plenty of room for improvements
-psp-