b0ony Posted November 23, 2007 Posted November 23, 2007 hi @ all, I'm trying to change the value "active scripting" in IE settings with autoit. _IEPropertySet ( ByRef $o_object, $s_property, $newvalue ) doesn´t support to change this settings :/ Is there a way to chance this settings ? best regards b0ony
mikehunt114 Posted November 23, 2007 Posted November 23, 2007 Check out this, should contain the correct reg key for you to edit. IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
b0ony Posted November 23, 2007 Author Posted November 23, 2007 mikehunt114 said: Check out this, should contain the correct reg key for you to edit.thxI found The reg key and changed the value , but without successHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\<ZoneNumber>Value Setting ------- Scripting: Active scripting 1402 ZoneNumber : 3key 1402value :0 enable, 3 disabledo i something wrong ?do you have any idea ?
mikehunt114 Posted November 23, 2007 Posted November 23, 2007 Post some code? IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
b0ony Posted November 23, 2007 Author Posted November 23, 2007 (edited) mikehunt114 said: Post some code? I changed direct with regedit the code would look's like ;example ;to enable RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3\", "1402", "REG_DWORD", "0") MsgBox(0, "check ie", " active scripting enable ?") sleep(3000) ;to disable RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3\", "1402", "REG_DWORD", "3") MsgBox(0, "check ie", " active scripting disable ?") Edited November 23, 2007 by b0ony
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now