• DOWNLOAD:
— Latest version: Session Manager v6.70 — 2021-01-06 (publishing date)
— Changelog and previous versions: Session Manager Changelog
———————————————————————————
Hi'
For those who work with different types of media (documents, pictures, music...) and/or with several sets of folders (tabs or tabsets), here's a "Session Manager" to streamline your workflow.
❖ Whether you work in Single Pane, Dual Pane or both, with it you can easily define and switch between "work environments" or "sessions", which remember the content you’re working with, and the way it’s displayed.
☛ E.g. in two clicks, you could switch between:
— "Work": Windowed XYplorer focused on "My Documents" and "This PC" in details view, dual pane with tree and catalog; and
— "Photos": Maximized XYplorer opened in "My Pictures" and displaying WallOfPictures thumbails along with a large preview, in single pane with no tree, no tabs, no menu, and address bar collapsed with toolbar.
———————————————————————————
• OVERVIEW:
❖ A session remembers the content of each pane and the way it’s displayed.
(The content of a pane —each tab’s location, etc.— is called a tabset. Sessions remember the tabset of both panes, even if one is hidden or not used.)
☛ To save a session: click on Session Manager’s button, then "Save Session as..."
❖ A layout session can also remember the whole layout of XYplorer, i.e. the way you’ve changed the interface (Single or Dual pane, visibility of the tree, catalog, preview... —anything in XY’s "Window" menu! (and more…))
☛ To add a layout to a session: click on Session Manager’s button, then "Layout Tools > Save Layout of Current Session"
❖ Sessions can also remember some extra features.
Regular sessions can remember the state of visibility of Hidden (or System,...) files and folders
Layout sessions can remember the state of syncing between panes (Sync Browse, Sync Scroll), and the thumbnails configuration (e.g. regular thumbs with large border for one session, or WallOfPictures enlarged with no padding for another...).
☛ To enable these features: click on Session Manager’s button, then "Options > General: Enable Extras..."
All the extra features will be saved automatically with their session (each time you save or update a session).
❖ Additionally, sessions can be associated with a script (which will launch each time the session is opened); and sessions can remember the state of XYplorer’s toolbar (so you can have dedicated Custom Toolbar Buttons associated with specific sessions).
☛ To associate a script: click on Session Manager’s button, then "Options > Associate Script..."
☛ To save a toolbar: click on Session Manager’s button, then "Layout Tools > Save Toolbar..."
Usual disclaimer: there's no reason this script should cause any trouble. But as they say, it's provided as-is, so backup & be wary, blablabla...
Finally, I'd like to take this opportunity to thank Don for the amazing program that is XYplorer! And big thanks also to the community.
Enjoy!

Flux
———————————————————————————
###################
### Installation ###
###################
Download the script (link above) and copy it into XYplorer scripts folder: <xyscripts> , then either:
1. add load "SessionManager.xys"; to "On left click:" of your custom button, or
2. use the following snippet:
a) Paste ::snippet; into the address bar and press ENTER. A text box will open.
b) Paste the following and press OK. A new button will be created at the right end of your toolbar.
Code: Select all
Snip: CTB 1
XYplorer 11.60.0207, 05.10.2012 17:30:00
Action
NewUserButton
Name
Session Manager [Ctrl: Switch - Alt: Reset - Shift: QuickSave - C+A: LayoutReset - A+S: LoadFavorite]
Icon
:tabsets
ScriptL
load "SessionManager.xys";
ScriptR
FireClick
1
### Extras ###
- The main "starcase" icon used in the screenshot is by kunkel321. You can get it here: Starcase Icon
———————————————————————————
### Old post - Work In Progress ###
Notes:
- Of course you can still use standard tabsets alone, combine them with sessions or use sessions only, and switch methods anytime depending on your needs.
- Each session is composed of two tabsets.
- When you save a new session, its two tabsets are automatically created with the name of the session, preceded by '§1§_' for pane 1 and '§2§_' for pane 2.
(e.g. Session 'Work' uses tabsets '§1§_Work' and '§2§_Work')
- A session is considered (i.e. 'shown as') valid, only when both tabsets are from the same session and in their right pane (e.g. tabset '§1§_Work' in Pane 1 and '§2§_Work' in Pane 2).
- A session is marked by a star icon (marked as active) only if it's a valid session.
- You can disable the confirmation dialog for Reset and Update in Menu "Configuration". Know that, even if disabled:
..."Session - Reset" ALWAYS asks for confirmation if a session isn't valid (but you can still reset your tabsets),
..."Session - Update" NEVER updates a non-valid session, and pops-up a warning instead.
- You can delete multiple sessions at once.
- You can't delete a session that is currently active (i.e. loaded even partially). To do so, just load another session before trying to delete.
Misc:
- 80%+ of the code and work went into imagining the worst mix-ups (i.e. intentional crazy manipulations of tabsets), and implementing safeguards.
- This was executed after I decided to share my original script, which explains why the code's probably not the cleanest one.
—————————
Finally, I'd like to take this opportunity to thank Don for the amazing program that is XYplorer - it's been a while since I had that much fun with a soft !
And thanks also to the community, but especially the "Club of the 4 digits posters". Your contributions were priceless to get up'n running with XY!
—————————
version 1.02: