topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 17, 2024, 9:04 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: Close all opened explorer windows  (Read 6073 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
DONE: Close all opened explorer windows
« on: May 26, 2012, 05:39 PM »
Close all opened explorer windows

I would a script for closing all the explorer windows with ease

Windows xp pro sp3
Best Regards

 :-*

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,192
    • View Profile
    • Donate to Member
Re: DONE: Close all opened explorer windows
« Reply #1 on: May 26, 2012, 06:04 PM »
Have never tested it but

Close All Open Windows with a Single Click
http://www.ntwind.co...ities/close-all.html

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: DONE: Close all opened explorer windows
« Reply #2 on: May 26, 2012, 06:11 PM »
#NoTrayIcon
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
DetectHiddenWindows, On
GroupAdd,ExplorerGroup, ahk_class CabinetWClass
GroupAdd,ExplorerGroup, ahk_class ExploreWClass

while WinExist("ahk_group ExplorerGroup")
{
WinClose,ahk_group ExplorerGroup
}

Run it and Explorer windows are gone.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: Close all opened explorer windows
« Reply #3 on: May 26, 2012, 06:25 PM »
 :-*
Going running
Best Regards

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: DONE: Close all opened explorer windows
« Reply #4 on: May 26, 2012, 06:28 PM »
It WORKSSSSSSS
IT WORKSSSSSSS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
 :P+

Thank a lot.
http://img101.imageshack.us/img101/7251/besotene2.gif
DONE: Close all opened explorer windows
http://img101.imageshack.us/img101/7251/besotene2.gif
DONE: Close all opened explorer windows