DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: Close multiple instances of the same program (but not the others)  (Read 10,091 times)

jdd

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 214
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
  • ***
  • Posts: 1,321
    • Gathering Badge
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #1 on: September 28, 2009, 10:24 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
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #2 on: September 29, 2009, 12:01 AM »
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
  • ***
  • Posts: 1,321
    • Gathering Badge
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #3 on: September 29, 2009, 02:20 AM »
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,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #4 on: September 29, 2009, 03:31 AM »
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
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #5 on: September 29, 2009, 12:50 PM »
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
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #6 on: September 29, 2009, 12:53 PM »
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,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: IDEA: Close multiple instances of the same program (but not the others)
« Reply #7 on: September 30, 2009, 05:46 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. :)

[attachthumb=#]

tmpusr

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

Original address: https://www.donationcoder.com/forum/index.php?topic=20105.0