This is a simple set of scripts to allow one to define any number of toolbars and toggle between them via keys or the menu.
I really need more space for toolbar buttons. I define all kinds of things and I have started to utilize the catalog more but buttons, for me, are quick and easy.
I needed more toolbars but I do like the restriction, to some degree, that keeps XYplorer from becoming a wall of buttons. So I created this.
The attached file has everything you need. UNzip it to your scripts folder. A "TBSwap" folder, with the files, will be created.
Setup is pretty basic:
to assign a user button to the tbswap menu just add the following to the "On click" textbox in the "edit user button" dialog
Code: Select all
load "<xyscripts>\tbswap\tbswap_button.xys";Code: Select all
<xyscripts>\TBSwap\icons\TBSwap.icoNow you can assign the swaper scripts to user defined commands. In the "manage user defined commands" dialog under the category "Load Script File" create 2 entries; one for swap up and the other for swap down.
The captions can be what ever you want but an example could be "TBSwap Up" and "TBSwap Down"
The Down command needs to have the following in the "script file" field
Code: Select all
tbswap\tbswap_down.xysCode: Select all
tbswap\tbswap_up.xysI have included 3 toolbars for your enjoyment. The files are toolbar_1.xys to toolbar_3.xys. These scripts contain the following code:
Code: Select all
Toolbar("ctb2,-,ctb21,lstmgmt,dosbox,openwith,-,myco,mru,favs,-,back,fore,up,goprev,lasttarget,-,undo,redo,-,flatview,views,visualfilter,fvs,minitree,dp,syncscroll,calcfosi,-,qns,find,fp,ctb24,-,savesett");The ini file has 2 settings:
NumberOfToolbars=# the number of toolbar files you have setup. Toolbar file names are in the format "toolbar_#.xys" If you have 10 toolbar files this value will be 10, and so on.
ToolbarNumber=# the toolbar number of the currently loaded toolbar
Thats it. I hope you like it. If you dont, well I tried. I have never submitted anything before. I have plans for things like menu options to create, save, edit the toolbar files.
I know this is a rather simple "app" but I thought someone else might like it.
Enjoy
XYplorer Beta Club