CEA for a Toolbar Button set switch

Features wanted...
klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

CEA for a Toolbar Button set switch

Post by klownboy »

Hi Don, with all the recent toolbar capabilities added it would be nice if there was a CEA for a toolbar switch. It wouldn't have to be smart, only an indicator that it happened. That is, we don't need to know the resultant toolbar button set number, only that the toolbar button set has been switched. Scripting can take care of the rest, like determining the button set number and making any changes based on that. We can make the toolbar change via the CID like #688, but we can't currently detect when the toolbar changes (i.e., the button set changes). It would be especially handy for detecting a button set change via scrolling. Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

eil
Posts: 1622
Joined: 13 Jan 2011 19:44

Re: CEA for a Toolbar Button set switch

Post by eil »

+1 More CEAs for the god of customizability!
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: CEA for a Toolbar Button set switch

Post by admin »

Not necessary. Do the switching per script directly with the SC buttonset.

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CEA for a Toolbar Button set switch

Post by klownboy »

I probably didn't word the request as clearly as I should have. I was really only interested in a CEA which picks up a toolbar button set switch accomplished via "scrolling". You are already detecting this scrolling "event" since you update the status bar when the button set is changed via scrolling. Yes, I can use the "Switch Toolbar Button set" button or use CTBs and User commands, but I can't script actions based on a toolbar button set change done by scrolling.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: CEA for a Toolbar Button set switch

Post by admin »

What I'm saying is: Why wait for the event to happen when you can trigger it immediately along with whatever you want to happen next?

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CEA for a Toolbar Button set switch

Post by klownboy »

Oh, I know what you're saying. Though I think scrolling is the nicest way to accomplish a button set change. I can't do a simple thing like have one my CTB buttons change to indicate the number of the button set you're current on when the button set change is done by scrolling.

Another idea might be, instead of having the current vertical dash lines used for the "Switch Toolbar Button set" button (on the left below), have that button change to the number of the button set.
instead of current button on the left, have the button change to the button set number.jpg
instead of current button on the left, have the button change to the button set number.jpg (1.63 KiB) Viewed 237 times
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: CEA for a Toolbar Button set switch

Post by admin »

scrolling... what do you mean by that? Window | Arrangement | Switch Toolbar Button Set?

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CEA for a Toolbar Button set switch

Post by klownboy »

With the mouse over the toolbar, you can "scroll" using the mouse wheel to the different button sets...great feature and easiest way to "Switch toolbar button sets".
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: CEA for a Toolbar Button set switch

Post by admin »

Oh, indeed! :biggrin: I always have "Scrollable Toolbar" enabled (in which case your trick does not work) and I totally forgot that you can scroll through the button sets that way.

Anyway, currently I'm not into adding more CEAs.

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CEA for a Toolbar Button set switch

Post by klownboy »

OK Don, no problem. In the meantime, I was able to detect a toolbar scroll using AHK and put the code in my AHK startup fie.

As I mentioned above though, I thought the having your button icon for "Switch toolbar button sets" actually change to the button set # was a cool idea (and not related to a CEA).
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: CEA for a Toolbar Button set switch

Post by admin »

I'm not sure if it looks so cool, depends on the font. And the info is already in the tooltip of that button. Also you could add a dummy button to each of your sets that is telling the number of the set as text. :)

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CEA for a Toolbar Button set switch

Post by klownboy »

I think the boxed in number shown above looks fine. Yes, I've already made a CTB which accomplishes that, but I thought it might be good as a built-in for anyone. :cup:
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

eil
Posts: 1622
Joined: 13 Jan 2011 19:44

Re: CEA for a Toolbar Button set switch

Post by eil »

admin wrote: 03 Apr 2024 10:54 Anyway, currently I'm not into adding more CEAs.
Those are real horrifying words, i'm still hoping for CEA_BeforeSwitchTabs to come. :ninja:
Win 7 SP1 x64 100% 1366x768

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CEA for a Toolbar Button set switch

Post by klownboy »

admin wrote: 03 Apr 2024 10:54 Anyway, currently I'm not into adding more CEAs.
But then he went ahead and added another CEA, "After rename" today in v25.80.0201, :) just :kidding:
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60624
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: CEA for a Toolbar Button set switch

Post by admin »

klownboy wrote: 04 Apr 2024 20:01
admin wrote: 03 Apr 2024 10:54 Anyway, currently I'm not into adding more CEAs.
But then he went ahead and added another CEA, "After rename" today in v25.80.0201, :) just :kidding:
Finally! I expected this remark earlier. :biggrin:

Post Reply