Jump to content

IE-Settings - "Active Scripting" Enable/Disable via AutoIt ?


b0ony
 Share

Recommended Posts

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

Link to comment
Share on other sites

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]
Link to comment
Share on other sites

Check out this, should contain the correct reg key for you to edit.

thx

I found The reg key and changed the value , but without success

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\<ZoneNumber>

Value Setting ------- Scripting: Active scripting 1402

ZoneNumber : 3

key 1402

value :0 enable, 3 disable

do i something wrong ?

do you have any idea ?

Link to comment
Share on other sites

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 by b0ony
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...