That is quite easy.

 Code:
If Not KeyExist("HKCU\Software\Microsoft\Windows\CurrentVersion\Internet\Settings\ProxyHttp1.1")
	$rc = WriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Internet\Settings\ProxyHttp1.1", "1", "Data Type")
EndIf



All you need to do is change "Data type" to the data type you need.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.