How to write an automatic configuration script?

ajskydiver

Golden Member
Jan 7, 2000
1,147
1
86
I've been looking all over and cannot figure this out...

I need to setup IE with a proxy server...but I have two available and if one is not available, the other must be chosen. I can't set it to automatically detect because it defaults to a very slow connection and can't find either of the two proxy settings.

Ex: 50.100.150.05:8080 and 50.100.150.10:8080

I can obviously just manually set one...but when it's not available I have to go and reconfigure every system for the other.

How can I write a script (.ins or proxy.pac?) that would go to one if the first isn't available?

Any help would be appreciated...
~AJ