Hello
I've been using XYplorer for a bit, I liked it so I purchased a licence.
I was wondering how to set up the following features:
- I'd like some folders to be permanently available on the tabsets, how can I lock them in a way that when i reopen XYplorer I get them again? I see you can lock the location, but I'd like to lock permanently some tabset,
- how can I color some tabsets and some folders on the project tree as I prefer? I see i can toggle an instant color filter based on some rules, however I'd like to color a folder arbitrarily as I prefer, how can i do that?
what features has the licence version more than the non licence one?
many thanks!
Alex
lock tabsets (not location ) permanently?
-
kunkel321
- Posts: 664
- Joined: 10 Jun 2012 03:45
- Location: Near Seattle
Re: lock tabsets (not location )permamnetly ?
Hi and Welcome Alex!
I'm not a pro- others maybe can answer better... In the help manual (help menu) I searched for "Command Line Switch." It doesn't look like there is much of an option for Tab Sets though... You might check out this thread: http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=8691 One of the forum people made a scripted tool to save tabsets. I'm not sure if this can be integrated into a command line switch for a /script, maybe though... If you did to that however, I image it would cause a delayed startup, with would be really annoying.
Your second question is easier: Check out Favorites menu >> Set Box Color. It colors the background of the window in the pane and in the tree. Note that it doesn't change the folder icon -- you'd have to do that separately.
Also an unsolicited tip: If you get into color filters, check out the help manual for the "advanced" section of the color filters part. The part that talks about foreground and background colors (though they don't call it that). Someone on the forum helped me set up mine. It's nice because your "normal" color filters and you "instant" color filters can merge...
====PASTED from HELP MANUAL====
Switches (Advanced Feature only for Geeks)
There are two switches that can be placed in the comments section of a filter right after "//" and followed by a "|" (pipe) , m (merge) and n (no more). If switches are used, the user comments have to be placed after the "|" (see example below).
m-switch: merge
This switch can be used to merge the back color of the first matching filter with the text color of the next matching filter.
In the following example (copied from List Management | Color Filters to show the color codes), any TXT file that was modified today will now be displayed with colors 38A050,6798E0. What the m-switch actually does is: Instead of taking this color filter's text color, look for the next matching color filter that has NO backcolor defined and take its text color.
+ageM: d //m|modified today>FFFFFF,6798E0
+name:*.txt>38A050,
This example will set a light yellow background color to all items with SYSTEM attribute, and use the text color of the next matching color filter that has only a text color defined (note that the "|" after "m" is obligatory!):
+attr:s//m|>,FFFF80
n-switch: no more
In Details mode, the first matching filter *with* backcolor (if any) is displayed combined with the first matching filter *without* backcolor (if any). The filter *with* backcolor must be the first match. The name column will show Text/Back color of the first match, the other columns will show the Text color of the second match.
This behavior can be suppressed using the n-switch. For example:
*.bak //n|Only color the name column
==========END PASTE======
Here's a screenshot of my setup.

I'm not a pro- others maybe can answer better... In the help manual (help menu) I searched for "Command Line Switch." It doesn't look like there is much of an option for Tab Sets though... You might check out this thread: http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=8691 One of the forum people made a scripted tool to save tabsets. I'm not sure if this can be integrated into a command line switch for a /script, maybe though... If you did to that however, I image it would cause a delayed startup, with would be really annoying.
Your second question is easier: Check out Favorites menu >> Set Box Color. It colors the background of the window in the pane and in the tree. Note that it doesn't change the folder icon -- you'd have to do that separately.
Also an unsolicited tip: If you get into color filters, check out the help manual for the "advanced" section of the color filters part. The part that talks about foreground and background colors (though they don't call it that). Someone on the forum helped me set up mine. It's nice because your "normal" color filters and you "instant" color filters can merge...
====PASTED from HELP MANUAL====
Switches (Advanced Feature only for Geeks)
There are two switches that can be placed in the comments section of a filter right after "//" and followed by a "|" (pipe) , m (merge) and n (no more). If switches are used, the user comments have to be placed after the "|" (see example below).
m-switch: merge
This switch can be used to merge the back color of the first matching filter with the text color of the next matching filter.
In the following example (copied from List Management | Color Filters to show the color codes), any TXT file that was modified today will now be displayed with colors 38A050,6798E0. What the m-switch actually does is: Instead of taking this color filter's text color, look for the next matching color filter that has NO backcolor defined and take its text color.
+ageM: d //m|modified today>FFFFFF,6798E0
+name:*.txt>38A050,
This example will set a light yellow background color to all items with SYSTEM attribute, and use the text color of the next matching color filter that has only a text color defined (note that the "|" after "m" is obligatory!):
+attr:s//m|>,FFFF80
n-switch: no more
In Details mode, the first matching filter *with* backcolor (if any) is displayed combined with the first matching filter *without* backcolor (if any). The filter *with* backcolor must be the first match. The name column will show Text/Back color of the first match, the other columns will show the Text color of the second match.
This behavior can be suppressed using the n-switch. For example:
*.bak //n|Only color the name column
==========END PASTE======
Here's a screenshot of my setup.

ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: lock tabsets (not location )permamnetly ?
Could be done by invoking a script (as a parameter from the command line).I'd like some folders to be permanently available on the tabsets, how can I lock them in a way that when i reopen XYplorer I get them again? I see you can lock the location, but I'd like to lock permanently some tabset,
A quick and dirty example...
The script:
Code: Select all
$folders1 = <<<>>>
%SystemDrive%\Program Files
%ProgramData%
>>>;
$folders2 = <<<>>>
%SystemDrive%\Program Files (x86)
%SystemDrive%\Windows
>>>;
// ###########################################################################
$panes = (get("#800") == 1) ? "P2|P1" : "P1";
foreach ($pane, $panes, "|") {
focus($pane);
if ($pane == "P2") { $folders = $folders2; }
else { $folders = $folders1; }
$count = gettoken($folders, "count", "<crlf>");
$i = 1;
while ($i <= $count) {
if ($i == 2) { tab("closeothers"); }
$folder = gettoken($folders, $i, "<crlf>");
tab("new", $folder);
tab("sethome", $folder);
tab("lockhomezone", 1);
tab("lock", 1);
$i++;
}
}
Invoke XYplorer with:
"<path to XY>\XYplorer.exe" /script="D:\Temp\_start.xys"
Ofc you can change these paths...
Adapt the folders for your 1st and 2nd pane (dual pane mode) as you need ($folders1 && $folders2)
One of my scripts helped you out? Please donate via Paypal
-
alxdvc
- Posts: 45
- Joined: 14 Jun 2015 11:02
Re: lock tabsets (not location ) permanently?
highend wrote:
thanks highend
the script option seems too elaborated for me :/ i understand the meaning of it but first of all I would be able to open just one fixed tabset, while I am interested in selecting several tabsets which i like to have them open everytime i start xyplorer......
Also,
thanks Kunkel! that's just a bit not straightforward for me :/ i was looking and hoping to find something easy, like on the menu and just color what i want to color, as i think this is quite an important feature, but apparently is not available?kunkel321 wrote:Hi and Welcome Alex!
all i can think about is to save settings and open everytime with the same settings....
[
-
highend
- Posts: 14996
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: lock tabsets (not location ) permanently?
That's what I do xD I only save my settings manually when I changed an option and when I want to dismiss my current open tabs I just restart XY...all i can think about is to save settings and open everytime with the same settings...
One of my scripts helped you out? Please donate via Paypal
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: lock tabsets (not location ) permanently?
Hi, Alex.
Concerning coloring over a session, you may want to take a look at XYstylEZ - flashFavs. Unfortunately multi-coloring is not supported, but I may dig into this and come up with a solution.
Here you'll find some visual themes that may help you switching (alt+tabbing) over different work sessions on parallel instances of XY (I often use 3 or 4 of them).
On the tab-saving matter, I have a script which saves sets of tabs allowing both to name a session as well as live-filtering all saved sessions (session names and contents!). As Session Manager is quite popular and well-maintained, I didn't bother to upload it. But if you feel that my solution may help you, let me know. It is a plain tabs-loader: no setting other is restored, saved tabs are opened on new tabs. Period.
And don't get intimidated with scripted solutions, here: if you have the code, often is just a matter of putting it under a user button or a user-defined command and follow the prompts. Straight forward.
Concerning coloring over a session, you may want to take a look at XYstylEZ - flashFavs. Unfortunately multi-coloring is not supported, but I may dig into this and come up with a solution.
Here you'll find some visual themes that may help you switching (alt+tabbing) over different work sessions on parallel instances of XY (I often use 3 or 4 of them).
On the tab-saving matter, I have a script which saves sets of tabs allowing both to name a session as well as live-filtering all saved sessions (session names and contents!). As Session Manager is quite popular and well-maintained, I didn't bother to upload it. But if you feel that my solution may help you, let me know. It is a plain tabs-loader: no setting other is restored, saved tabs are opened on new tabs. Period.
And don't get intimidated with scripted solutions, here: if you have the code, often is just a matter of putting it under a user button or a user-defined command and follow the prompts. Straight forward.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
alxdvc
- Posts: 45
- Joined: 14 Jun 2015 11:02
Re: lock tabsets (not location ) permanently?
Actually I'd simply like to colour the tabsets, that's it... to make one red, one blue etc... it's too confusing when u have a lot of tabsets opened ...
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 66672
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
XYplorer Beta Club