regisp Posted March 8, 2005 Share Posted March 8, 2005 Hello the World. Just a little silly question I need to close all all windows explorer windows. I dont know the title of these windows but only know the classname : ExploreWClass. Question : How to close windows depending of a specific classname ? Why i need this : I'm working on different installer/uninstaller scripts. I have an issue using FILEZIP. when desinstalling this software, the fzshext.dll stay alive (because this is the library managing explorer integration and it still running). I'm unable to unload this dll and the only way i've found is to close all windows having an explorer session manually. i try using ProcessExists("explorer.exe") and ProcessClose but result is not so good (explorer process is killed but dll always active). thx a lot for helping me resoving this issue. have a great day Link to comment Share on other sites More sharing options...
CyberSlug Posted March 8, 2005 Share Posted March 8, 2005 The following should work on Windows XP; might not work on 98: Opt("WinTitleMatchMode", 4);advanced mode While WinExists("classname=CabinetWClass") WinClose("classname=CabinetWClass") Wend Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Andre Posted March 8, 2005 Share Posted March 8, 2005 (edited) Hi, Opt('WinTitleMatchMode',4) While WinExists('ClassName=SciCalc','') WinClose('ClassName=SciCalc','') WEnd Close All open Calculator windows.... Andre Edit : I was to sloooowwwwww.... Edited March 8, 2005 by Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
regisp Posted March 8, 2005 Author Share Posted March 8, 2005 great thx a lot and as always very fast answer from people. great product + great support forum = endless joy best regards from france 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