SammaySarkar wrote:Nima0345 wrote:Better way to switch among Favorite locations, like a separate toolbar
use the catalog.
I use both custom toolbar buttons (CTB) and the catalog. Here's the CTB that lists my favorite folders on the C:\ drive when left-clicked, and goes to the root when right-clicked:
Code: Select all
Snip: CTB 1
XYplorer 15.00.0104, 3/14/2015 9:04:59 PM
Action
NewUserButton
Name
Left-click: Sub-directory / Right-click: Root
Icon
label:C:\
ScriptL
"applications"
C:\applications\
"data_jeffy"
C:\data_jeffy\
"data_jeffy\code (use catalog for XBN-Java)"
C:\data_jeffy\code\
"aliteralmind.com doc root"
C:\data_jeffy\jeffyepstein_com\jeffyepstein_com\docs\
"Secrets"
C:\data_jeffy\private\executor_documents\
"AppData\Roaming"
C:\Users\aliteralmind\AppData\Roaming\
"Secondary applications (paper)"
::goto "paper:Other applications"
ScriptR
::goto "C:\"
FireClick
0
I have a CTB like this for each of the three drives I work on.
This is the CTB I use to switch between catalogs:
Code: Select all
Snip: CTB 1
XYplorer 15.00.0104, 3/14/2015 9:08:36 PM
Action
NewUserButton
Name
Open catalog
Icon
label:Ctlg>000000,ffffff
ScriptL
"Working"
tabset("save", "1"); tabset("save", "2"); tabset("load", "working_left_pane", "1"); tabset("load", "working_right_pane", "2"); catalogload "working.dat";
"XBN-Java"
tabset("save", "1"); tabset("save", "2"); tabset("load", "xbn_left_pane", "1"); tabset("load", "xbn_right_pane", "2"); catalogload "git_repositories_xbnjava.dat";
"Non-XBN-Java repositories"
tabset("save", "1"); tabset("save", "2"); tabset("load", "nonxbn_left_pane", "1"); tabset("load", "nonxbn_right_pane", "2"); catalogload "git_repositories_non_xbnjava.dat";
"Django Auth Tutorial"
tabset("save", "1"); tabset("save", "2"); tabset("load", "Q_left_pane", "1"); tabset("load", "Q_right_pane", "2"); catalogload "django_auth_tutorial.dat";
"Singing"
tabset("save", "1"); tabset("save", "2"); tabset("load", "singing_left_pane", "1"); tabset("load", "singing_right_pane", "2"); catalogload "singing.dat";
ScriptR
"File > Settings Special > Save Catalog"
:: #186
"Tools > List Management > Recent Catalogs..."
:: #634
"Tools > List Management > Recently Included Catalogs..."
:: #636
"Window > Show Catalog"
:: #664
"Window > Arrangement > Tree and Catalog Stacked"
:: #687
"Window > Arrangement > Catalog First"
:: #686
"Miscellaneous > Focus Functions > Focus Catalog"
:: #1015
"Load global catalog as include"
load "open_catalog\_unload_all_include_global";
"Open gloabl catalog"
catalogload "_global.dat", "p";
FireClick
0
(The right-click items are rarely-used. It's just where I store interesting catalog-related commands.)
Notice that each catalog, when switched to, reloads the tabsets into both panes, that were there the last time I was using that catalog. This is an awesome thing. Each catalog is like its own workspace (and creates the tabsets if they don't exist yet). the only thing missing that would make this perfect, is to do the same thing with the toolbar: Have a specific set of CTBs associated to each catalog, and auto-set themselves each time I switch catalogs. This is currently possible,
but not yet ideal.
And here, for example, is my "Non-XBN-Java repositories" catalog:
Most categories (such as XYplorer settings) have the go-to, copy-path, and open-in-command-prompt items, and may have additional items (like the extra ones in Sublime).
Between CTBs, the catalog, scripting, and paper folders, you have plenty of ways to quickly access your favorite folders.