ToolbarCycle script:
1 - on left click of CTB (or a UDC) cycles between 2 toolbars.
2 - right click of CTB (UDC) the following menu items:
- Select 2 toolbars from a list of toolbars (that you will make) for cycling
- Load and save toolbars from a list
- Build a new toolbar
- Modify an existing toolbar
- Delete toolbars
- The build toolbar option will provide the user with a full list of all the internal XYplorer toolbar buttons as well as your CTBs both "current" and "unused". The buttons on the current toolbar are pre-selected (checked). You can drag buttons into their desired location.
- Toolbars are saved to small text files in a Toolbars folder off of <xydata>.
- You must have at least 2 toolbars saved obviously to be able to cycle toolbars
- The modify toolbar option will provide you with a list of all your toolbars , you'll select one and the script will present a listing of all toolbar buttons and the ones currently being used are checked. The existing toolbar buttons are also on top in the existing position. You can easily uncheck buttons or check new buttons. Keep in mind that you can drag and drop them for placement as you can when you choose the build new toolbar option.
- The script is going to cycle on the 2 toolbars you have indicated for cycling regardless of what your current toolbar is or what you may have just built/modified. Use the option to change the toolbars being cycled.
- Keep in mind if you are using a CTB to run this script (recommended) you should make sure you include that CTB (e.g., CTB25) on all the toolbars you'll be cycling. A UDC is also a good idea for cycling toolbars - probably better.
- Remember to properly save a 'current' toolbar, XYplorer must be saved first I didn't want to do that in the script (incase) you didn't want it at that time).
- If you are building a new one or modifying an existing toolbar, saving in XYplorer is not necessary since we are actually selecting items for the toolbar to save.
- Drag and drop the separator around and hold down control to copy. Make sure you check the box(s) when done or they won't show up.
ASSIGNMENTS:
CTB:
- on left click - load "<xyscripts>\ToolbarCycle.xys";
- on right click - load "<xyscripts>\ToolbarCycle.xys";
UDC:
- Category - Load script file: - <xyscripts>\ToolbarCycle.xys - Assign keyboard shortcut - Numpad 5 (or whatever)
- Category - Load script file: - <xyscripts>\ToolbarCycle.xys - Assign keyboard shortcut - Control Numpad 5 (or whatever)
Thanks for trying the script. Enjoy, especially since there are less things to enjoy these days. Please let me know of any issues. See viewtopic.php?p=188167#p188167 in this thread for details. Please note the change in instructions on how to load the script when loading from a UDC (it's simplified). Both are simply
<xyscripts>\ToolbarCycle.xys
in the "Load script file" category. Do not use the Run script category as I had specified previously.Keep in mind, you don't have to use this script for cycling toolbars if you don't need it. You can use it simply to create and save new toolbars and load them from a list of your favorites.