Champak Posted May 19, 2008 Share Posted May 19, 2008 I searched for "popup" in the title, so if I missed something, please point me to it. I am using IE object like "$oIE = _IECreate("",0,0)", but that is causing pop-up windows sometimes. I know I can set up a loop to close these windows, but I would prefer that they never appeared in the first place. So unless I missed a way to do it through autoit, is there a way to communicate with IE settings in the background and activate the pop-up blocker option (without showing dialogs/windows) before navigating to the page? Link to comment Share on other sites More sharing options...
zorphnog Posted May 19, 2008 Share Posted May 19, 2008 Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_WEBOC_POPUPMANAGEMENTValue: iexplorer.exeSet the value to 1 to block 0 to unblock.http://support.microsoft.com/kb/843016 Link to comment Share on other sites More sharing options...
someone Posted May 19, 2008 Share Posted May 19, 2008 (edited) Searching around I found this about the pop up blocker...Click meIts about different methods of enabling the blocker... it does have a registry key. Hope that helps a little at leastEDIT: Doh! too late Edited May 19, 2008 by someone While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd Link to comment Share on other sites More sharing options...
Champak Posted May 19, 2008 Author Share Posted May 19, 2008 (edited) Actually, that's wrong, but you guys set me in the write direction searching the registry, thanks. The right one...that I'm looking for... is: RegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\New Windows", "PopupMgr", "REG_DWORD", 1) However, I'll probably use the one you guys provided as an addition to this. What you should note, is on the link you provided it says, "but the pop-up windows that are opened by a user will still open in the usual manner." Also, I'm using IE7, could someone confirm if both these registries exist in v6 and maybe 5? Edited May 19, 2008 by Champak Link to comment Share on other sites More sharing options...
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