twikkistep Posted January 5, 2007 Posted January 5, 2007 Hiya, First post! Happy New Year to all of you I tried finding an answer on this forum, but didn't get any results - so hereby my question: When I create an IE window, is there a way I can disable the images? You can set the option by going to the menu, but I was wondering if there was another (quicker) solution? Thanks in advance! -- TS
Moderators big_daddy Posted January 5, 2007 Moderators Posted January 5, 2007 This does exactly that.Toggle IE Images
laffo16 Posted August 22, 2009 Posted August 22, 2009 (edited) ok, time to dig up an artifact. the code big_daddy refers to here is Func _IEToggleImages($f_State = True) If $f_State Then $s_Status = "yes" Else $s_Status = "no" EndIf RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Display Inline Images", "REG_SZ", $s_Status) EndFunc im just testing this atm, and i see it only effects newly opened IE instances after being set. i would be intrested in knowing if their is a way of applying this "disable images" to any current instances aswell. i know it can be manually achieved by disabling show pictures from "Tools, Internet Options, Advanced, Show Pictures" and when you apply, it takes effect on the current browser aswell which is exactly what im looking to automate. ne ideas guys? all i can guess is that, the registry entry for this is re-checked after i click apply on Internet Options, and without forcing this re-check, it wont effect the current browser. Edited August 22, 2009 by laffo16
jvanegmond Posted August 22, 2009 Posted August 22, 2009 ok, time to dig up an artifact. the code big_daddy refers to here is Func _IEToggleImages($f_State = True) If $f_State Then $s_Status = "yes" Else $s_Status = "no" EndIf RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Display Inline Images", "REG_SZ", $s_Status) EndFunc im just testing this atm, and i see it only effects newly opened IE instances after being set. i would be intrested in knowing if their is a way of applying this "disable images" to any current instances aswell. i know it can be manually achieved by disabling show pictures from "Tools, Internet Options, Advanced, Show Pictures" and when you apply, it takes effect on the current browser aswell which is exactly what im looking to automate. ne ideas guys? all i can guess is that, the registry entry for this is re-checked after i click apply on Internet Options, and without forcing this re-check, it wont effect the current browser. Nope, sorry. Only new instances can have images off. This is correct: _IEToggleImages(False) $oIE1 = _IECreate("www.google.com") _IEToggleImages(True) github.com/jvanegmond
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