Session Manager [v7.00] — Bookmark your environments: locations and/or display (tabsets and layout)
Re: Session Manager [v3.0 beta 1]
Hi Flux, not really suggestions, but do you have copies of these icons? I'm partial to the blue arrow but that's just me (I can always tweak). As I mentioned before probably because it matches the blue in the XY layout icons seen in my Sept 8 post.
I can post if you want them even if you don't use. Thanks for maintaining this great script.Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v3.0 beta 1]
Hi Ken,
Hehe, no I haven't forgotten about these icons. Out of curiosity I just checked the original contribution by Kunkel, and they go way back to 2 years ago — to the day (11 Oct. 2012) !!!
Anyway, that's half a solution since I'd rather avoid external resources now, but still, that gave me the incentive to reinstate (and enhance) things as they kinda were... So,
What do you think?
Hehe, no I haven't forgotten about these icons. Out of curiosity I just checked the original contribution by Kunkel, and they go way back to 2 years ago — to the day (11 Oct. 2012) !!!
Anyway, that's half a solution since I'd rather avoid external resources now, but still, that gave me the incentive to reinstate (and enhance) things as they kinda were... So,
So, no tweaking needed each time Session Manager is updated!Session Manager Missing Manual wrote: Use of external icons to identify active sessions:
A. By default, a "Yellow Star" icon is used to indicate the active session (standard or with layout).
B. Optional: If a "SessionManager.ico" is found in <xyicons>, it will be used instead to indicate the active session (standard or with layout).
C. Optional: If a "SessionManager_Layout.ico" if found in <xyicons>, it will be used instead to indicate the active session with layout.
Notes:
• You can use either B. or C., or both, or none.
• <xyicons> usually refers to the following path: "XYplorer\Data\Icons".
• Power users: In case you've changed the name of the original script file "SessionManager.xys" into something else (e.g. "Extras_Session_Manager.xys"), you must rename the icons accordingly (e.g. "Extras_Session_Manager.ico" and "Extras_Session_Manager_Layout.ico").
What do you think?
Last edited by FluxTorpedoe on 11 Oct 2014 14:08, edited 1 time in total.
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager [v3.0 beta 1]
Sounds great Flux. So if a user wants to have a different icon for a session with layout or session with no layout he can by simply having the appropriately named icon in <xyicons>. I typically save all sessions with layout anyway so it probably doesn't affect me so much, but nice idea.
Your second note was a little confusing. Are you talking about if someone renamed the icon reference ("base_name") in the script then the "base_name_Layout icon must be used for the active session with layout icon. Someone (like me) really shouldn't need to do that as long as they name their icons in<xyicons> as you described, correct? Thanks.
Your second note was a little confusing. Are you talking about if someone renamed the icon reference ("base_name") in the script then the "base_name_Layout icon must be used for the active session with layout icon. Someone (like me) really shouldn't need to do that as long as they name their icons in<xyicons> as you described, correct? Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v3.0 beta 1]
Thanks for the feedback Ken!
About the confusing note, it was definitely misleading; I rewrote it, I hope it's clearer now.
BTW, you probably already know that, but just in case:
If several of your sessions have the same layout, it can safely be considered the "default" layout, and those sessions could be regular sessions.
Load one of these sessions, then in "Session Manager" > "Layout Tools" > "Update(Save) Default Layout".
You can then delete the layout of all of these sessions, knowing that it will be automatically loaded as soon as you leave a session with layout.
About the confusing note, it was definitely misleading; I rewrote it, I hope it's clearer now.
BTW, you probably already know that, but just in case:
If several of your sessions have the same layout, it can safely be considered the "default" layout, and those sessions could be regular sessions.
Load one of these sessions, then in "Session Manager" > "Layout Tools" > "Update(Save) Default Layout".
You can then delete the layout of all of these sessions, knowing that it will be automatically loaded as soon as you leave a session with layout.
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager [v3.0 beta 1]
Thanks again Flux. Well I did have it wrong. I thought you were referring to renaming the icon file within the script. Instead you were referring to renaming the script itself probably because you're using the script name for the icon name as well.
So based on your discussion, if I have a few sessions that have identical layouts, I should just make it the default layout and then I can delete the layout portion from those sessions. Does that mean necessarily mean I have to have that option selected for "Always load default layout (instead of last) when returning to Standard Sessions"? As I understand it, the option checked forces it to go to the default instead of last, or in other words, unchecked it will go to last instead of default in situations where "last" is different from default.
So based on your discussion, if I have a few sessions that have identical layouts, I should just make it the default layout and then I can delete the layout portion from those sessions. Does that mean necessarily mean I have to have that option selected for "Always load default layout (instead of last) when returning to Standard Sessions"? As I understand it, the option checked forces it to go to the default instead of last, or in other words, unchecked it will go to last instead of default in situations where "last" is different from default.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v3.0 beta 1]
Exactly. Well…
@all
Maybe it's time I fill in another blank of the missing manual.
Don't be repelled by the density, the examples should be ample enough!
But while I'm at it, I'll write the theory too, for a future compilation...
@all
Maybe it's time I fill in another blank of the missing manual.
Don't be repelled by the density, the examples should be ample enough!
But while I'm at it, I'll write the theory too, for a future compilation...
Session Manager Missing Manual wrote:Explanation of layouts — Notes:
• When using layouts, some sessions may have a layout: Layout Sessions, and some not: Standard Sessions.
• To work with layouts, the only manipulations needed and available are:
— Save or Update the Layout Sessions (the sessions are saved along with their layout).
Optional: (see below for more info)
— Save or Update only the layout of the current session.
— Update the Default Layout.
»»
— Everything else is done automatically behind-the-scenes by Session Manager.
Session Manager Missing Manual wrote:Explanation of layouts — Examples:
• Example 1:
— You have 2 Layout Sessions, saved in Single Pane and with Preview visible; and 4 Standard Sessions for which you'd like to use the default XY layout of Dual Pane and no Preview.
— You have checked the option: "Layouts: Always Load Default Layout (Instead of Last) When Returning to Standard Sessions".
»»
— Each time you leave a Layout Session for a Standard Session, Session Manager will reset the layout by loading the Default Layout.
• Example 2:
— You have 2 Layout Sessions, saved with Single Pane and Preview visible; and 4 Standard Sessions for which you'd like to use the default XY layout, while still remembering your last changes.
— You have unchecked the option: "Layouts: Always Load Default Layout (Instead of Last) When Returning to Standard Sessions".
»»
— Each time you leave a Standard Session for a Layout Session, Session Manager will remember the state of the current layout, by updating its own Last Layout entry, then
— Each time you leave a Layout Session for a Standard Session, Session Manager will reset the layout by loading the previously used Last Layout.
• Example 3:
— Same as 1. or 2. , but instead of using XY's default layout, you'd like your default/base layout to always have the catalog located on the right of the panes.
»»
— Arrange your layout as you like, then define it as the default in "Layout Tools" | "Update Default Layout", then proceed as usual (cf 1. and 2.).
Session Manager Missing Manual wrote:Explanation of layouts — Theory:
• Layout Sessions have their layout stored in their own entry in "SessionManager.ini":
— When they're first saved with a layout, or
— When their layout is created or updated via "Layout Tools" | "Save/Update Layout of Current Session".
• Regardless of any session, Session Manager stores two other layouts:
— A Default Layout, automatically created on first run, then only overwritten manually via "Layout Tools" | "Update Default Layout".
— A Last Layout, automatically updated each time a Standard Session is left for a Layout Session — and only if the following option is unchecked: "Layouts: Always Load Default Layout (Instead of Last) When Returning to Standard Sessions".
• How it works:
— When switching from a Layout Session to another Layout Session, their content is switched, and their layout too.
— When switching from a Layout Session to a Standard Session, their content is switched, but the layout has to be reset somehow.
»» So the layout is reset, either to:
— The Default Layout, if the aforementioned option has been checked, or
— The Last Layout, which was the layout visible while using the last Standard Session in use before a Layout Session was loaded.
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v3.0 beta 1]
Hi'
Here comes the Release Candidate!
Most interesting changes are:
— Added a new option "Auto-Optimize Tree on Session Change": Before, the tree was optimized by default each time you loaded a session, now you can disable it if you prefer.
— Added the possibility to use you own custom icons for the active session: Please refer to this post for more details and how-to.(*)
— Fixed the great option (you should try it!): "Layouts: Activate Preview When Loading Layout Session with Info Panel Visible". e.g. if you have a session dedicated to the preview of your videos —with single pane, wide info panel and info panel visible— it will automatically activate the preview tab each time you load it (even if you've previously used the Search tab).
(*) Note that will rejoice the RTFM aficionados: I'm starting to compile the various info and "Missing Manual" entries in Session Manager's long-overdue own help…
Please comment if you feel something needs more polishing/enhancement!
Have a nice day,
Flux
###########################
### Session Manager v3.0 RC ###
###########################
• REQUIREMENTS: XYplorer >= v14.10.0104
Previous version v2.71 available here
• INSTALLATION » for first-time users:
— Please refer to first post of thread
• UPDATE » for layout users updating from v2.x:
— Please refer to this post
• UPDATE » for all others (i.e. updating from v3.x or not using layouts):
— Overwrite your existing SessionManager.xys with latest version
Session Manager v3.0 Release Candidate - Changelog
+ Added option to enable or disable tree auto-optimization on session change
+ Added possibility to use own icons for active sessions w/ or w/o layouts
*! Rewrote "Reorder List of Sessions" code and fixed remaining rare bug
* Rearranged "Options" and "Layout Tools" menus, AutoSave entry…
! Fixed "Layouts: Activate Preview..." option
! Fixed extra feature of Toolbar saving with layout
* Set default of "Layouts: Activate Preview..." to ON for fresh installs
* Set default of "General: Enable Confirmation Dialog..." to OFF for fresh installs
Here comes the Release Candidate!
Most interesting changes are:
— Added a new option "Auto-Optimize Tree on Session Change": Before, the tree was optimized by default each time you loaded a session, now you can disable it if you prefer.
— Added the possibility to use you own custom icons for the active session: Please refer to this post for more details and how-to.(*)
— Fixed the great option (you should try it!): "Layouts: Activate Preview When Loading Layout Session with Info Panel Visible". e.g. if you have a session dedicated to the preview of your videos —with single pane, wide info panel and info panel visible— it will automatically activate the preview tab each time you load it (even if you've previously used the Search tab).
(*) Note that will rejoice the RTFM aficionados: I'm starting to compile the various info and "Missing Manual" entries in Session Manager's long-overdue own help…
Please comment if you feel something needs more polishing/enhancement!
Have a nice day,
Flux
###########################
### Session Manager v3.0 RC ###
###########################
• REQUIREMENTS: XYplorer >= v14.10.0104
Previous version v2.71 available here
• INSTALLATION » for first-time users:
— Please refer to first post of thread
• UPDATE » for layout users updating from v2.x:
— Please refer to this post
• UPDATE » for all others (i.e. updating from v3.x or not using layouts):
— Overwrite your existing SessionManager.xys with latest version
Session Manager v3.0 Release Candidate - Changelog
+ Added option to enable or disable tree auto-optimization on session change
+ Added possibility to use own icons for active sessions w/ or w/o layouts
*! Rewrote "Reorder List of Sessions" code and fixed remaining rare bug
* Rearranged "Options" and "Layout Tools" menus, AutoSave entry…
! Fixed "Layouts: Activate Preview..." option
! Fixed extra feature of Toolbar saving with layout
* Set default of "Layouts: Activate Preview..." to ON for fresh installs
* Set default of "General: Enable Confirmation Dialog..." to OFF for fresh installs
- Attachments
-
- SessionManager.xys
- (80.09 KiB) Downloaded 163 times
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager [v3.0 RC]
Once again, great job Flux. The "use your own icon" capability is working fine. Thanks for the major update!
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: Session Manager [v3.0 RC]
Hi Flux,
thank you very much for the update - and prior efforts.
As always, I'm going to use it on different machines and will report back after a while.
Cheers,
Filehero
thank you very much for the update - and prior efforts.
As always, I'm going to use it on different machines and will report back after a while.
Cheers,
Filehero
Re: Session Manager [v3.0 RC]
would be nice if it saved and reloaded the state of the current visual filter
EDIT: It does work with VF. It was my mistake.
EDIT: It does work with VF. It was my mistake.
Last edited by autocart on 05 Feb 2015 08:04, edited 1 time in total.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
Re: Session Manager [v3.0 RC]
hi and thanks for this great script i need that menu simple how to remove this text form it, and show sessions at the top of menu
- Attachments
-
- 2014-10-18_020513.png (8.36 KiB) Viewed 4540 times
-
- 2014-10-18_020513.png (27.38 KiB) Viewed 4540 times
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v3.0 RC]
Hi'
First, thank you all for your feedback!
---------------------------
Here I have a "Video" session with its main tab filtered by "posters" only with "|{:Image}", it's working fine. I also tried with a fresh install and it's working too…
It must be related to an XYplorer config setting/tweak; could you be more specific on how to reproduce?
---------------------------
Look for the "Main Menu" section, and near the end of it, cut the following lines:[/size]then paste them near the top of it, just before "if $PRE_CurSess { // if session active", to get something like that:[/size]
---------------------------
Look for the "_Save" section, and near the top of it, remove the 4 lines in the middle (and opt. the first ending <crlf>) of this block:[/size]to get that:[/size]Now, just out of curiosity, what's bothering you so much with it? It's not something you see very often and the editable field is auto-selected anyway...
Have a nice day,
Flux
First, thank you all for your feedback!
---------------------------
Hmmm, it should already be working: AFAIK, filtering state is saved by default with the tabsets, then optionally with FolderViewSettings.autocart wrote:would be nice if it saved and reloaded the state of the current visual filter
Here I have a "Video" session with its main tab filtered by "posters" only with "|{:Image}", it's working fine. I also tried with a fresh install and it's working too…
It must be related to an XYplorer config setting/tweak; could you be more specific on how to reproduce?
---------------------------
This need may not be widespread enough to justify an option (unless you're keyboard-driven only?)… So here's a quick how-to:yusef88 wrote:show sessions at the top of menu
Look for the "Main Menu" section, and near the end of it, cut the following lines:
Code: Select all
$Menu = $Menu.$MEN_l_sessions;
$Menu = $Menu."-"<crlf 2>;
Code: Select all
$Menu = $Menu.$MEN_l_sessions;
$Menu = $Menu."-"<crlf 2>;
if $PRE_CurSess { // if session active
---------------------------
? Weird wish ! Anyway, here's the how-to:yusef88 wrote:i need that menu simple how to remove this text form it
Look for the "_Save" section, and near the top of it, remove the 4 lines in the middle (and opt. the first ending <crlf>) of this block:
Code: Select all
$InpSess = input("Save & Use session$d_Save1", "<crlf>
Enter the name of the tabsets session to save. <crlf>
This session will be in use after you press OK. <crlf 2>
• The name has to be a valid filename, and can not contain '[' or ']'. <crlf 2>
$d_Save2
", , , "§CANCEL§");
Code: Select all
$InpSess = input("Save & Use session$d_Save1", "
", , , "§CANCEL§");
Have a nice day,
Flux
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager [v3.0 RC]
@FluxTorpedoe
feel happy and relief with new menu many thanks
small thing: the line at the begin how to remove it?
feel happy and relief with new menu many thanks
it's about ease of use and preventing dispersion of sightNow, just out of curiosity, what's bothering you so much with it? It's not something you see very often and the editable field is auto-selected anyway...
small thing: the line at the begin how to remove it?
- Attachments
-
- 2.png (4.07 KiB) Viewed 4530 times
-
- 1.png (9.37 KiB) Viewed 4530 times
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v3.0 RC]
A few lines before "Main Menu", delete or comment out (/* … */) this whole block:yusef88 wrote:small thing: the line at the begin how to remove it?
Code: Select all
if isset($separator) {
$MEN_l_sessions = "••••••••••••••••••••••••••••"<crlf 2>."-"<crlf 2>.$MEN_l_sessions;
} else {
$MEN_l_sessions = "-"<crlf 2>.$MEN_l_sessions;
}
• Regarding the "Save Session" dialog, as I mentioned in the previous post, you can gain even more space (one line) by deleting the first <crlf> located just before the lines you deleted.
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager [v3.0 RC]
looks better now