Modification de la valeur d'un registre en Javascript sous IE8
Bonjour,
Je voudrais modifier la valeur d'un registre en JavaScript sous IE8.
Voici mon bout de code qui fonctionne sous IE6 :
Code:
1 2 3 4 5 6 7 8 9
|
var ShellWSH = document.getElementById("ShellWSH");
ShellWSH.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\PageSetup\\margin_bottom","0.30000");
ShellWSH.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\PageSetup\\margin_top","0.30000");
ShellWSH.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\PageSetup\\margin_left","0.30000");
ShellWSH.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\PageSetup\\margin_right","0.30000");
ShellWSH.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Print_Background", "yes"); |
Auriez-vous une idée?
Merci