topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • March 19, 2019, 03:02 PM
  • Proudly celebrating 13 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: Taskbar Button Grouping/ Group Similar Icons on Taskbar Win 10 x64  (Read 390 times)

itge13

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
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

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,134
    • View Profile
    • Donate to Member
Re: Taskbar Button Grouping/ Group Similar Icons on Taskbar Win 10 x64
« Reply #1 on: February 06, 2019, 12: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 [Select]
  1. #k:: ; Win+K -- change as necessary
  2. {
  3.     ; 0 = Always combine, hide labels
  4.     ; 1 = Combine when taskbar is full
  5.     ; 2 = Never combine
  6.     RegWrite, REG_DWORD, HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, TaskbarGlomLevel, % ( ( Toggle ) ? ( "0" ) : ( "2" ) )  
  7.     SendMessage, 0x1A, , , ,  % "ahk_class Shell_TrayWnd" ; WM_SETTINGCHANGE := 0x1A
  8.     WinSet, Redraw, , % "ahk_class Shell_TrayWnd"
  9.     Toggle := !Toggle
  10. }
  11. Return

itge13

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: Taskbar Button Grouping/ Group Similar Icons on Taskbar Win 10 x64
« Reply #2 on: February 07, 2019, 01:04 PM »

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

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,134
    • View Profile
    • Donate to Member
Re: Taskbar Button Grouping/ Group Similar Icons on Taskbar Win 10 x64
« Reply #3 on: February 07, 2019, 03:06 PM »
Great to hear.  I'll mark this as done.   :Thmbsup: