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: Taskbar Button Grouping/ Group Similar Icons on Taskbar Win 10 x64  (Read 12,548 times)

itge13

  • Participant
  • Joined in 2019
  • *
  • Posts: 9
Is there a way to switch Taskbar Button Grouping with a hotkey between "combine" and "not combine" w/o restarting explorer? Preferebaly as AHK

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Taskbar Button Grouping/ Group Similar Icons on Taskbar Win 10 x64
« Reply #1 on: February 06, 2019, 06:23 PM »
Hello, itge13, and welcome to the DonationCoder site.  :)

Is there a way to switch Taskbar Button Grouping with a hotkey between "combine" and "not combine" w/o restarting explorer? Preferebaly as AHK

Here's some AHK code to do what you want.  I've successfully tested this on Windows 7 so please let us know if it works on your Windows 10 machine.

Code: ( autohotkey)
#k:: ; Win+K -- change as necessary
{
    ; 0 = Always combine, hide labels
    ; 1 = Combine when taskbar is full
    ; 2 = Never combine
    RegWrite, REG_DWORD, HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, TaskbarGlomLevel, % ( ( Toggle ) ? ( "0" ) : ( "2" ) )  
    SendMessage, 0x1A, , , ,  % "ahk_class Shell_TrayWnd" ; WM_SETTINGCHANGE := 0x1A
    WinSet, Redraw, , % "ahk_class Shell_TrayWnd"
    Toggle := !Toggle
}
Return

itge13

  • Participant
  • Joined in 2019
  • *
  • Posts: 9
Re: Taskbar Button Grouping/ Group Similar Icons on Taskbar Win 10 x64
« Reply #2 on: February 07, 2019, 07:04 PM »

Thank you very much. Works like a charm! Perfect :Thmbsup:

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Taskbar Button Grouping/ Group Similar Icons on Taskbar Win 10 x64
« Reply #3 on: February 07, 2019, 09:06 PM »
Great to hear.  I'll mark this as done.  :Thmbsup:

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