Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 08, 2016, 05:57:01 AM
  • Proudly celebrating 10 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: IDEA: Close All Windows  (Read 2734 times)

Stamimail

  • Participant
  • Joined in 2013
  • *
  • default avatar
  • Posts: 15
    • View Profile
    • Donate to Member
IDEA: Close All Windows
« on: April 03, 2013, 07:11:36 PM »
There is this app:
http://www.ntwind.co...ities/close-all.html

Since the Developer has no time to improve it I need a new app will deal with closing Windows, and enable various options of closing:
•   Close All - close all windows (would behave like this: http://www.ntwind.co...ities/close-all.html)
•   Close App - would close all windows of current app (all windows of Word/IE/Windows Explorer etc).
•   Close Group - would close all windows of current Group (By using RaMMicHaeL's 7+ Taskbar Tweaker you can group different apps windows to 1 group in Taskbar).
•   Close all windows except current Window (would close everything except the active window)
•   Close all windows except current app (Example: If I want to close all windows except all the windows of Windows Explorer app)

Closing all Tabs / Except current Tab - I'm not using Tabs, so I don't know. Mmm, Maybe In Word - to close all documents but leave Word app open.

A new EXE program would be welcom, but even to implement those great features in HotkeyP (http://sourceforge.net/projects/hotkeyp/ ; [Add] Commands --> Window --> Close window) I will be grateful.

Possible?  :Thmbsup:

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 2,927
    • View Profile
    • Donate to Member
Re: IDEA: Close All Windows
« Reply #1 on: April 04, 2013, 02:26:49 PM »
I don't know how much this helps.  Do you know PowerPro?  It has numerous features for controlling windows under Help > Actions for the *Window command

Alternatively, another hotkey program, HotKeyz.  Online help is here.  Scroll down to 3.5.3 Desktop Window:
Quote
Desktop Window

Close
Close the active window with a hotkey.

Hide
Hide the current window with a hotkey. Use the hide as a boss key to hide a private window from others as they walk into your office or study.

Kill
Kill the process of the current window.

Maximize
Maximize the current window with a hotkey.

Minimize
Minimize the current window with a hotkey.

Minimize All Others
Minimize all other windows except the current window (top most desktop window). Specify additional window titles not to be minimized in the parameter box.

Restore
Restore the current window with a hotkey.

Stay On Top Enable
Enable the current window's stay on top property to ensure that it will always be on top of all other windows.

Stay On Top Disable
Disable the current window's stay on top property.

Unhide
Use Unhide to display hidden windows or right click on the HotKeyz system tray icon to view a list of hidden windows. You can also unhide any hidden windows with the unhide hotkey.

Unhide Pick List
Use the Unhide Pick List to choose from a list of hidden windows.

Both PowerPro and HotKeyz are freeware.

HTH...

Stamimail

  • Participant
  • Joined in 2013
  • *
  • default avatar
  • Posts: 15
    • View Profile
    • Donate to Member
Re: IDEA: Close All Windows
« Reply #2 on: April 04, 2013, 04:08:22 PM »
Hello, Thank You.
I looked at:
http://powerpro.cres...ownload/powerpro.pdf Actions for the *Window command
http://www.skynergy....keyz/help/index.html 3.5.3 Desktop Window

I didn't find the features I want.  :(

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,668
    • View Profile
    • Donate to Member
Re: IDEA: Close All Windows
« Reply #3 on: April 04, 2013, 06:23:18 PM »
Hi, Stamimail, and welcome to the DonationCoder site.  Your request to close all windows, though it sounds simple, is a lot more complex than it seems.  There are many more windows going on your system than you realise.  You can't simply get a list of all running processes and then attempt to close them.  Chaos would ensue.  What I'm saying is that it's rather difficult to automatically determine what to close and what not to close.

Stamimail

  • Participant
  • Joined in 2013
  • *
  • default avatar
  • Posts: 15
    • View Profile
    • Donate to Member
Re: IDEA: Close All Windows
« Reply #4 on: April 05, 2013, 08:01:07 AM »
and there isn't a useful piece of code [in open source] doing this, as a start?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,668
    • View Profile
    • Donate to Member
Re: IDEA: Close All Windows
« Reply #5 on: April 05, 2013, 06:21:57 PM »
Give this a test, please:  http://skwire.dcmembers.com/apps/sclose/sClose.zip

At this point, it's an early proof-of-concept to see if it chooses smartly which windows to close.  Basically, I tried to make it only close windows that show up in the Alt-Tab chain.  Also, this build will first give you a list of windows it intends to close to allow you to choose whether or not you want to proceed.  I've done some minimal testing here on my computer and VMs so I'm looking forward to any feedback you may have.

Stamimail

  • Participant
  • Joined in 2013
  • *
  • default avatar
  • Posts: 15
    • View Profile
    • Donate to Member
Re: IDEA: Close All Windows
« Reply #6 on: April 06, 2013, 05:32:58 PM »
Hi, I tesed sClose on XP ans W7 VMs. It works good but still not perfect.
I saw that right now it does only "Close All Windows".
I found 2 problems:
1. Word - when there are not-saved documents and you trying to close, sClose stops in not-saved documents and doesn't close the rest documents and apps windows.
2. sClose couldn't close Everything.exe app in W7. (in XP it could. I don't know why..). here is the dialog box in W7:
http://www.freeimagehosting.net/azqwl

In all cases CloseAll worked good. http://www.ntwind.co...ities/close-all.html
Look at the behaviour of CloseAll.

BTW, I don't know if it would be helpful, but look also at HotkeyP commad: window --> Information
Information
Shows title, class, process, priority of a foreground window. On Win2000/XP also shows memory allocated for that process.