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
  • September 01, 2015, 05:24:01 PM
  • 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 multiple instances of the same program (but not the others)  (Read 4035 times)

jdd

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 214
    • View Profile
    • Donate to Member
There are occasions when I have to open many instances of the same program such as 10 Excel spreadheets or 25 jpg files.  I would like to request an ahk that would only close the many instances of the selected program but NOT the other programs that are also open.

Thanks,
jdd

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • gravatar avatar
  • Posts: 1,321
    • View Profile
    • Donate to Member
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #1 on: September 28, 2009, 05:24:19 PM »
afaik you can select those tasks in the taskbar with ctrl+leftclick. Then you can right-click on any of the selected tasks and choose "close".

jdd

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 214
    • View Profile
    • Donate to Member
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #2 on: September 28, 2009, 07:01:24 PM »
Except that the tasks can only be closed one at a time so it's a nuisance to close 25 instances of the same program by making 25 right-click and close gestures. :down:

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • gravatar avatar
  • Posts: 1,321
    • View Profile
    • Donate to Member
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #3 on: September 28, 2009, 09:20:22 PM »
yes using "my way" there would only be one right-click and close. I am not exactly sure how to select those tasks in the taskbar: last time I really used windows was when Win2k came out...

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,218
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #4 on: September 28, 2009, 10:31:37 PM »
you can try Skrommel's CloseMany, which can close multiple programs or services at once. you can click on the header to sort and select multiple items to close quickly


jdd

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 214
    • View Profile
    • Donate to Member
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #5 on: September 29, 2009, 07:50:31 AM »
Lanux, CloseMany will only close one instance at a time.    You cannot close multiple items even if you highlight multiple entries. 

jdd

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 214
    • View Profile
    • Donate to Member
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #6 on: September 29, 2009, 07:53:02 AM »
OK, I tried CloseMany again.  In order to close multiple instances, one must hit the "Kill" button instead of the "Close" button.  That worked. :Thmbsup:

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,218
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #7 on: September 30, 2009, 12:46:53 AM »
OK, I tried CloseMany again.  In order to close multiple instances, one must hit the "Kill" button instead of the "Close" button.  That worked. :Thmbsup:

i guess it works like Process Explorer's "Kill Process Tree" command. :)

procexp Screenshot - 30_09_2009.pngIDEA: Close multiple instances of the same program (but not the others)


tmpusr

  • Member
  • Joined in 2005
  • **
  • Posts: 154
  • Instantiation stuck in meatspace with no backup
    • View Profile
    • Donate to Member
Taskbar Shuffle
http://nerdcave.webs.com/
When multiple instances are grouped (adjustable threshold for grouping), right click, close.