Jump to content
Sign in to follow this  
regisp

closing windows using classname

Recommended Posts

Hello the World.

Just a little silly question :lmao:

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

Share this post


Link to post
Share on other sites

Hi,

Opt('WinTitleMatchMode',4)

While WinExists('ClassName=SciCalc','')
    WinClose('ClassName=SciCalc','')
WEnd

Close All open Calculator windows....

Andre

Edit : I was to sloooowwwwww....

Edited by Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!

Share this post


Link to post
Share on other sites

great thx a lot and as always very fast answer from people.

great product + great support forum = endless joy :lmao:

best regards from france

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...