Must have these features

Features wanted...
Post Reply
Nima0345
Posts: 1
Joined: 14 Mar 2015 12:25

Must have these features

Post by Nima0345 »

Open New TAB to 'My Computer'
Remember each folder's view settings like MS Explorer
Index searching like 'Everything' or 'Locate32'
More Data-Sync Options
Better way to switch among Favorite locations, like a separate toolbar
Save item's selection and restore them when ever is needed.

With many thanks... :wink:

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Must have these features

Post by bdeshi »

Welcome to the club!

I'll try to answer as many of your requests as possible, but maybe you could've searched the forum first?
Open New TAB to 'My Computer'
Paste this line of code in the addressbar of XYplorer, then press Enter. A dialog will popup asking to save settings. Press OK (if you wish). now a inputbox will pop up, it's pretty self-explanatory. Type "My Computer" without quotes and OK.

Code: Select all

::$k='StartPathNewTab';$s='Settings';$t="New tab path";$d="New tabs will open to this path";if (confirm("XY will restart to apply the setting.<crlf 2>save current settings beforehand?")==1){savesettings} $n=gettoken($k,count,'|');$c=1;while ($c<=$n){$key=gettoken($k,$c,'|');$sec=gettoken($s,$c,'|');$tpc=gettoken($t,$c,'|');$dsc=gettoken($d,$c,'|');setkey input($tpc,$dsc,getkey($key,$sec),s),$key,$sec;$c++} exit nr;
Remember each folder's view settings like MS Explorer
Check out Folder View Settings.
Index searching like 'Everything' or 'Locate32'
unncecessary for a portable app, slowdown too.
Nima0345 wrote:Better way to switch among Favorite locations, like a separate toolbar
use the catalog.
Nima0345 wrote:Save item's selection and restore them when ever is needed.
I think such a script is available...
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Must have these features

Post by aliteralmind »

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.

Image

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.

Image

And here, for example, is my "Non-XBN-Java repositories" catalog:

Image

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.
Windows 8.1, 64-bit

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Must have these features

Post by RalphM »

Lots of ways to switch to favorites but no one showed you the easiest one yet:

Right-click on whitespace in tree brings up a list of all the folders that have been marked as favs within XYP..
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

Post Reply