- Place the script in you script folder and place the 4 icons included in your <xyicons> folder. I really like Kunkel's white version numbers. They look great going from light to dark modes. Thanks Kunkel.
- Make a new CTB with a name of "Toolbar Set #1". Though the name actually doesn't matter at this point. For left click assignment use:
load "<xyscripts>\TB Cycle with Indicator.xys"; You can leave the icon field blank.- You'll have to add the same CTB to each of your toolbars. It makes sense to place them in the same position left-to-right.
- The first run only, the script will determine the CTB number and insert it in the script.
- For a UDC, select the "Load script file" option and for the name enter "TB Cycle with Indicator" and for the Script File enter,
"
<xyscripts>\TB Cycle with Indicator.xys" (no quotes). I set my key assignment as Numpad 5.- Important - For the first run, click on the CTB such that the CTB index is established). For subsequent runs click on either the CTB or run the UDC.
- If you want to use your own icons, simply change them on lines 31-34.
The script uses a heredoc technique similar to TheQwerty's Gallery Wall script. Thanks TheQwerty.
Please let me know if you have any issues. Thanks.
XYplorer Beta Club