Visual information for "Switch Toolbar Button Set".
-
MindReader
- Posts: 38
- Joined: 06 Feb 2022 14:39
- Location: W10, @100%
Visual information for "Switch Toolbar Button Set".
1) We activate the desired panel with one click.
2) We can also see which panel we are on from the number on the button in the Tolbar.
The property in "1)" has been applied exactly to "Toolbar Button Set".
However, feature number "2)" is not available in "Toolbar Button Set". I would be happy if you could show the numbers indicating the set it belongs to on the "Switch Toolbar Button Set" button.
Thanks.
2) We can also see which panel we are on from the number on the button in the Tolbar.
The property in "1)" has been applied exactly to "Toolbar Button Set".
However, feature number "2)" is not available in "Toolbar Button Set". I would be happy if you could show the numbers indicating the set it belongs to on the "Switch Toolbar Button Set" button.
Thanks.
I use "Google Translate" for my posts. If there are any unkind expressions in my posts, it is because my English is not good.
Please make sure my intentions are good.
Please make sure my intentions are good.
-
admin
- Site Admin
- Posts: 65066
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Visual information for "Switch Toolbar Button Set".
You mean in the tooltip, right?
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4398
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440
Re: Visual information for "Switch Toolbar Button Set".
Let the OP answer, but I think he may mean, superimpose the toolbar set#1, 2, 3, or 4 on the icon itself. Like this crude depiction.
----
----
-2-
----
----
----
----
-2-
----
----
-
MindReader
- Posts: 38
- Joined: 06 Feb 2022 14:39
- Location: W10, @100%
Re: Visual information for "Switch Toolbar Button Set".
I didn't mean the tooltip.
I meant the number on the button.
I want to see numerically which "Toolbar Button Set" is active.
As shown numerically for "Active Pane".
I wish the number that appears on each click changes.
Better ideas would please me more.
Thanks.
I use "Google Translate" for my posts. If there are any unkind expressions in my posts, it is because my English is not good.
Please make sure my intentions are good.
Please make sure my intentions are good.
-
admin
- Site Admin
- Posts: 65066
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Visual information for "Switch Toolbar Button Set".
I think it's overkill and wouldn't look good.
FAQ | XY News RSS | XY X
-
MindReader
- Posts: 38
- Joined: 06 Feb 2022 14:39
- Location: W10, @100%
Re: Visual information for "Switch Toolbar Button Set".
I added a "User Button" to each toolbar.
I also defined symbols containing numbers for the buttons I added.
(Thanks to @kunkel321.)
Thus, I can easily understand which toolbar I am on.
You can see it if you look at the pictures.
I don't think it looks bad.
However, it does not contain the function,
It contains information only.
I don't think it's necessary to put the numbers on top of each other.
It is enough to show only one of the 4 different numbers.
As you click, the numbers will change and define the toolbar it belongs to.
I think this is possible.
(This is how the "Toggle Active Pane" button works.)
Thank you for your interest.
I use "Google Translate" for my posts. If there are any unkind expressions in my posts, it is because my English is not good.
Please make sure my intentions are good.
Please make sure my intentions are good.
Re: Visual information for "Switch Toolbar Button Set".
I like it and have similar design in my Total Commander setup.
Pressing the number button shows a pull-down with the other available toolbars and I can press one of it of course.
Pressing the number button shows a pull-down with the other available toolbars and I can press one of it of course.
Windows 11 Home, Version 25H2 (OS Build 26200.7309)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1402a (x64), Everything Toolbar 2.1.1, Listary Pro 6.3.6.99
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1402a (x64), Everything Toolbar 2.1.1, Listary Pro 6.3.6.99
Re: Visual information for "Switch Toolbar Button Set".
Well you could already do that with scripting in XY too.
-
MindReader
- Posts: 38
- Joined: 06 Feb 2022 14:39
- Location: W10, @100%
Re: Visual information for "Switch Toolbar Button Set".
Thank you for explaining that you agree with me.
I use "Google Translate" for my posts. If there are any unkind expressions in my posts, it is because my English is not good.
Please make sure my intentions are good.
Please make sure my intentions are good.
-
MindReader
- Posts: 38
- Joined: 06 Feb 2022 14:39
- Location: W10, @100%
Re: Visual information for "Switch Toolbar Button Set".
I am not a scripter.
But I like to use XYplorer.
It is clear from the gif that you have already written a script for this topic.
I don't understand why you didn't share.
There must be a reason.
So I respect that you don't share.
I use "Google Translate" for my posts. If there are any unkind expressions in my posts, it is because my English is not good.
Please make sure my intentions are good.
Please make sure my intentions are good.
Re: Visual information for "Switch Toolbar Button Set".
Code: Select all
buttonset()- Attachments
-
- ToolbarButton.png (26.63 KiB) Viewed 3515 times
-
- ToolbarButton2.png (3.45 KiB) Viewed 3515 times
Windows 11 24H2 @100% 2560x1440
-
MindReader
- Posts: 38
- Joined: 06 Feb 2022 14:39
- Location: W10, @100%
Re: Visual information for "Switch Toolbar Button Set".
@Norn,
Thank you for the script template.
I was able to customize it for myself.
It works fine and I started using it.
Thanks again.
Thank you for the script template.
I was able to customize it for myself.
It works fine and I started using it.
Thanks again.
I use "Google Translate" for my posts. If there are any unkind expressions in my posts, it is because my English is not good.
Please make sure my intentions are good.
Please make sure my intentions are good.
-
admin
- Site Admin
- Posts: 65066
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Visual information for "Switch Toolbar Button Set".
You don't need number graphics. This button script shows the current button set index and cycles the buttons sets. Most convenient when used as left-most button of each button set.
Code: Select all
Snip: CTB 1
XYplorer 22.90.0106, 07.03.2022 12:24:18
Action
NewUserButton
Name
Cycle Button Sets
Icon
label: 1 >554433,ffffee
ScriptL
// cycle button sets
ButtonSet(-1);
$n = ButtonSet();
ctbicon("label: $n >554433,ffffee");
ScriptR
ScriptM
FireClick
0FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4398
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440
Re: Visual information for "Switch Toolbar Button Set".
You might as well change the CTB name on the toolbar set changes too along with the icon (see below). If we had a CEA for toolbar scrolling, we could detect the toolbar button set change and have that indicator change when scrolling. It would also allow us to accomplish other layout changes dependent on the toolbar set #. viewtopic.php?f=5&t=24319
Code: Select all
//*** On first run only, determine & set CTB index [$ctbindex below] based on CTB name
//*** So we can use this in a UDC as well as a CTB
//*** This version is intended to be used as a script "file" OR add your $ctbindex yourself manually and delete the everything up front until ButtonSet...
$ctbindex = "unknown";
if($ctbindex LikeI "unknown") {
$self = self("file");
$toolbar = toolbar();
$name_CTB = ctbname();
foreach($button, $toolbar, ",") {
if(substr($button, 0, 3) LikeI "ctb") {
$ctbI = trim($button, "ctb", "L");
if(ctbname( , $ctbI) == "$name_CTB") {
$ctbindex = $ctbI; break;
}
}
}
$content = replace(readfile($self), "unknown", "$ctbindex", , 1, 1);
writefile($self, $content);
}
ButtonSet(-1);
$n = ButtonSet();
ctbname("Toolbar Set #" . $n, $ctbindex);
ctbicon("label: $n >554433,FFF2F2", $ctbindex);-
MindReader
- Posts: 38
- Joined: 06 Feb 2022 14:39
- Location: W10, @100%
Re: Visual information for "Switch Toolbar Button Set".
admin wrote: ↑07 Mar 2022 12:25 You don't need number graphics. This button script shows the current button set index and cycles the buttons sets. Most convenient when used as left-most button of each button set.
Code: Select all
Snip: CTB 1 XYplorer 22.90.0106, 07.03.2022 12:24:18 Action NewUserButton Name Cycle Button Sets Icon label: 1 >554433,ffffee ScriptL // cycle button sets ButtonSet(-1); $n = ButtonSet(); ctbicon("label: $n >554433,ffffee"); ScriptR ScriptM FireClick 0
I implemented your suggestion.
However, I did not get results.
Left-clicking opens a list.
None of the lines work.
"The Buttons Sets" cycles do not happen.
As I understand it, we have to fill the content ourselves.
I was able to customize Norn's suggestion for myself.
But Norn's script was more intuitive.
I failed to implement your suggestion.
Because I'm not a scripter.
I would appreciate it if you could explain how I can use it.
I use "Google Translate" for my posts. If there are any unkind expressions in my posts, it is because my English is not good.
Please make sure my intentions are good.
Please make sure my intentions are good.
XYplorer Beta Club