Save the tabs on exit

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
mamaijees
Posts: 5
Joined: 11 Oct 2014 04:04

Save the tabs on exit

Post by mamaijees »

I have a set of tabs for XY. I would like this group to be a permanent one in my XY. Even if I change them, after I exit and come back I would like the original ones only to be there.

Also I would like the left side pane to only show my favourites. Can I do that?

Thank you

sfwood
Posts: 125
Joined: 10 Jan 2012 21:07

Re: Save the tabs on exit

Post by sfwood »

mamaijees wrote:I have a set of tabs for XY. I would like this group to be a permanent one in my XY. Even if I change them, after I exit and come back I would like the original ones only to be there.
Check out locked tabs and tabsets--two approaches. You could load a saved tabset w/ startup script to get exactly what you describe.
mamaijees wrote:Also I would like the left side pane to only show my favourites.
Check out mini-tree and catalog--two ways to get this. You can hide the tree completely and see only a list of folders in catalog if desired.

Filehero
Posts: 2731
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Save the tabs on exit

Post by Filehero »

Hi,

besides the autosave on exit I vote for a 3rd option ror tab session management: SessionManager.

Cheers, Filehero

Stef123

Re: Save the tabs on exit

Post by Stef123 »

sfwood wrote:You could load a saved tabset w/ startup script to get exactly what you describe.
That's something I've been wanting to do for a long time, but wasn't able to accomplish. Would anyone please provide a detailed explanation? I want to have the same tabset on both panes, which I've been told is not possible in XY. So I guess I have to set up two identical tabsets with different names and maintain changes in both of them? But I still don't know how to load these two identical sets into dual panes at startup.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Save the tabs on exit

Post by bdeshi »

@Stef,m: tou can start up XY via a shortcut passing the necessary script as command argument? (::help "idh_commandlineswitches.htm";)
this would be the command:

Code: Select all

"path\to\xyplorer.exe" /script="::tabset(load, 'Proj_Pane_1', a); tabset(load, 'Proj_Pane_2', i);"
opening the same tabset in both panes:
::tabset(load, 'Proj_Pane_1', a); tabset(load, 'Proj_Pane_1 as: Proj_Pane_2', i);
they don't stay synced though, and any previous "Proj_Pane_2" tabset is overwritten.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Save the tabs on exit

Post by Stef123 »

Thank you Sammay,
brings up the tabs nicely, except for me probably never coming to grips with view settings. Seems like all kinds of settings interfere with each other, I get gridlines that I can't get rid of, and that won't apply to other tabs (I thought this setting were global?)

My tabsets-TB button lists tabsets that are not there. When I click "Go to tabset folder" it tells me "location currently not available". I am used to this error, so I use another manager to check up on it, but this time XY is right, there is no such folder, even though XY lists it as a tabset. :cry: :cry:

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Save the tabs on exit

Post by bdeshi »

Config->styles->apply list styles globally ?


"ghost tabsets": is it because you used this script or just a comment on daily life?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Save the tabs on exit

Post by Stef123 »

Your script is not to blame. Been struggling with view settings all along, as you will recall from other threads. Tab settings override everything else if I rememeber correctly. Seems like by loading a tabset it introduces the alternating grid for some of its tabs, but not ALL of them, that's the weird part.

And yes, "Apply list styles globally" is ON, but so is the next option "Remember per tab". However, I still don't understand where the grid style (even further down) figures into the equation. All I can say for sure, despite global = ON, the alternating grid appears on some tabs only, but I wouldn't know how to get rid of it.

The other mystery, "location currently not available" when I let XY "Go to tabset folder" seems to indicate my tabsets must have become corrupted. But why does XY list them in the TB-button dropdown if they don't exist (anymore)?

Post Reply