tobsn
3rd February 2012 00:33 UTC
FindWindow can't see "IEFrame"
hey!
I'm using this to close active browser windows:
http://nsis.sourceforge.net/Closing_...owsers_Windows
the problem im having here right now is that on XP with IE6 (first test machine) it does not see the "IEFrame" - it works with chrome and firefox and asks to kill those but even if i have 20 IE6 open it won't catch on IEFrame. I already confirmed with winspy that the class name of the IE windows is IEFrame.
any ideas why that is? I havent tried any other test machines yet, I want this fixed first ;)
Thanks!
bennaloz
3rd February 2012 07:10 UTC
You can use a process plugin to close directly their process. If I am not wrong the process name for browsers is always the same in each OS and for each version. It's another idea.
Anders
3rd February 2012 07:51 UTC
You forgot about Opera, Safari, Maxthon, K-Melon etc (Meaning, you will never catch them all)
Why are you closing all browser windows? And hopefully you ask the user first...
tobsn
7th February 2012 02:49 UTC
yep, im asking first - i only need to close a few to get the office extensions installed. mainly it affects IE.
i solved the problem by using findwindowex and writing it myself :)