[..] Proxy
Posté : lun. 21 déc. 2009 09:42
Bonjour à vous,
Au final j'ai fini par trouver une solution qui fonctionne, le voici pour ceux que cela intéresserait.
Maintenant je n'ai pas trop compris comment fonctionne le while en remplacement du goto
j'aurais bien incorporer cette notion ....
Si on pouvait m'aider pour ça.
Grand merci
serr57
Au final j'ai fini par trouver une solution qui fonctionne, le voici pour ceux que cela intéresserait.
Code : Tout sélectionner
;Proxy values to enter by user messagebox
$proxyip = InputBox("", "Enter Given IP")
$proxyport = InputBox("", "Enter Given Port")
SplashTextOn("Proxy Settings","Proxy Settings on going ...", 400, 50, -1, -1, 33, -1, 18)
Sleep(2000)
; Writing Proxy new values in registry.
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyEnable","REG_DWORD","1")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyServer","REG_SZ",($proxyip & ':' & $proxyport))
SplashTextOn("Proxy Settings","Proxy Settings is finished", 400, 50, -1, -1, 33, -1, 18)
Sleep(5000)
SplashOff()
j'aurais bien incorporer cette notion ....
Si on pouvait m'aider pour ça.
Grand merci
serr57