Session Manager [v7.00] — Bookmark your environments: locations and/or display (tabsets and layout)
Re: Session Manager [v6.50]
I'm still a fairly heavy user of this brilliant script...
Something I'd find helpful but I'm not sure if it's something that relates to something in normal tabset functionality that I could have configured better, or something Session Manager could support (or even does support but I can't work out how to switch it on...)
I'm rambling.
So I have a number of thumbdrives that I cart various portable applications around on, one of which is (of course) XYplorer.
XY itself is portable friendly, so the fact that different machines have different setups and therefore allocate the drive a variety of letters isn't a problem.
But it IS a problem for my sessions.
I'd like to be able to have various of the tabs I like to have open, open to a folder relative to <xydrive> rather than a drive letter that might not exist next time XY's loaded on that system.
(And I have different session manager layouts defined that are relevant to different PCs and different workflows, which is why I find it so useful!)
So. I get that a tab can be pointed at <xydrive>\documents (or some such) and it'll resolve to (eg) k:\documents but I'd like to be able to save a tabset / session layout in such a way that if a tab is on the <xydrive> what gets written to the save file is <xydrive>\path rather than k:\path.
Is something like that already possible? Have I missed something obvious somewhere?
Something I'd find helpful but I'm not sure if it's something that relates to something in normal tabset functionality that I could have configured better, or something Session Manager could support (or even does support but I can't work out how to switch it on...)
I'm rambling.
So I have a number of thumbdrives that I cart various portable applications around on, one of which is (of course) XYplorer.
XY itself is portable friendly, so the fact that different machines have different setups and therefore allocate the drive a variety of letters isn't a problem.
But it IS a problem for my sessions.
I'd like to be able to have various of the tabs I like to have open, open to a folder relative to <xydrive> rather than a drive letter that might not exist next time XY's loaded on that system.
(And I have different session manager layouts defined that are relevant to different PCs and different workflows, which is why I find it so useful!)
So. I get that a tab can be pointed at <xydrive>\documents (or some such) and it'll resolve to (eg) k:\documents but I'd like to be able to save a tabset / session layout in such a way that if a tab is on the <xydrive> what gets written to the save file is <xydrive>\path rather than k:\path.
Is something like that already possible? Have I missed something obvious somewhere?
-- bests, Tim
...This space unintentionally left blank.
...This space unintentionally left blank.
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v6.50]
Hi’
Portability is indeed one of XYplorer’s strengths!
First, note that all the portable settings are related to XYplorer itself (nothing to change in Session Manager).
I believe there are at least two ways to achieve what you want (maybe more, other tips are welcome!):
☛ One is tabset-based, even more so session-based (since each session usually has a specific purpose with specific base tabsets): relocate each tabset of a session using a relative path.
— Open a session > Right-click on each "portable" tab (the ones pointing to XYplorer’s thumbdrive) > Relocate Tab… > Replace the drive letter with "?" (eg. F:\Documents to ?:\Documents) > Update the session. Note: it only needs to be done once, all new tabs (opening from existing tabs by default) while keep their "relativity".
☛ One is broader: change a tweak in the config file
— Menu Tools > Open Configuration File… > Edit the following tweak
; Tweak: store paths relative to app path: 1 = on removable drives, 2 = on any drive, 4 = relative to app drive
PortableTabs=0
I must say that depending on your needs, relocating tabs might be enough: personally, my sessions are set this way (with the tweak left to 0), and the portability is working just fine.
Alhtough that might not be the most efficient —I had it this way before the tweak was implemented, I shall try the tweak some day…
⚠ Important note for portable use:
— Be sure to also set the Tags (i.e. tags and labels and comments) to portable:
Menu Tools > Configuration > Tags > Storage: …
I use "Relative to application" (for the same reason as mentioned above, because that was the first implemented I guess, I’d never checked again since, but I now see there are other portable options).
Happy portability!
Portability is indeed one of XYplorer’s strengths!
First, note that all the portable settings are related to XYplorer itself (nothing to change in Session Manager).
I believe there are at least two ways to achieve what you want (maybe more, other tips are welcome!):
☛ One is tabset-based, even more so session-based (since each session usually has a specific purpose with specific base tabsets): relocate each tabset of a session using a relative path.
— Open a session > Right-click on each "portable" tab (the ones pointing to XYplorer’s thumbdrive) > Relocate Tab… > Replace the drive letter with "?" (eg. F:\Documents to ?:\Documents) > Update the session. Note: it only needs to be done once, all new tabs (opening from existing tabs by default) while keep their "relativity".
☛ One is broader: change a tweak in the config file
— Menu Tools > Open Configuration File… > Edit the following tweak
; Tweak: store paths relative to app path: 1 = on removable drives, 2 = on any drive, 4 = relative to app drive
PortableTabs=0
I must say that depending on your needs, relocating tabs might be enough: personally, my sessions are set this way (with the tweak left to 0), and the portability is working just fine.
Alhtough that might not be the most efficient —I had it this way before the tweak was implemented, I shall try the tweak some day…
⚠ Important note for portable use:
— Be sure to also set the Tags (i.e. tags and labels and comments) to portable:
Menu Tools > Configuration > Tags > Storage: …
I use "Relative to application" (for the same reason as mentioned above, because that was the first implemented I guess, I’d never checked again since, but I now see there are other portable options).
Happy portability!
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager [v6.50]
Thanks, that's really helpful -- and I think the tweak-free option will do all I need!
-- bests, Tim
...This space unintentionally left blank.
...This space unintentionally left blank.
Czech translation for Session Manager [v6.50]
Czech translation for Session Manager [v6.50] is in Attachment.
- Attachments
-
- SessionManager.cz(v6_50).zip
- (11.72 KiB) Downloaded 152 times
Re: Session Manager [v6.50]
This is not a huge deal but maybe some can help. I am seeing the following for a saved layout:
[Single �� Autosave ��]
I am actually seeing this in some other apps UI's as well now and then. Are the � characters part of the design?
Can someone point me in the right direction to solve this?
[Single �� Autosave ��]
I am actually seeing this in some other apps UI's as well now and then. Are the � characters part of the design?
Can someone point me in the right direction to solve this?
Re: Session Manager [v6.50]
And you're really using the UTF-16 version from viewtopic.php?p=172225#p172225
?
If yes, do your used fonts support all unicode characters?
?
If yes, do your used fonts support all unicode characters?
One of my scripts helped you out? Please donate via Paypal
Re: Session Manager [v6.50]
Thanks - that worked. I didn't realize I needed this as I use English Windows.highend wrote: ↑01 May 2020 10:56 And you're really using the UTF-16 version from viewtopic.php?p=172225#p172225
?
If yes, do your used fonts support all unicode characters?
Thank you!
Re: Session Manager [v6.50]
@FluxTorpedoe
Obiously this is a useful script, also in the current version. Thank you for that!
Still I would like to ask you, FluxTorpedoe, if you are aware that it is not bug free and if you want to squeeze any present bugs out of the tool or if reporting (and describing) them would be in vain? Or if you are aleady working on a new version addressing some current bugs?
Regards, me
Obiously this is a useful script, also in the current version. Thank you for that!
Still I would like to ask you, FluxTorpedoe, if you are aware that it is not bug free and if you want to squeeze any present bugs out of the tool or if reporting (and describing) them would be in vain? Or if you are aleady working on a new version addressing some current bugs?
Regards, me
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v6.50]
Hi everyone!
And sorry for the belated response…
@hogaty
Thanks a lot for your translation !
Sorry for the delay, but it’s fixed now: I updated the main post accordingly.
@mikes16
Welcome on board! Glad it now works as intended.
So, thank you highend for being there and active in general and for Session Manager in particular!
@autocart and @all
Even if I haven’t been active on the forum for a while, I still use Session Manager (and XYplorer) all the time. So I do intend to keep it alive and up to date!
I knew of an icon bug and fixed right away… but shamefully didn’t take the time to post the update.
But apart from that, I was not aware of any other issue, so any bug report is more than welcome!
Please don’t hesitate.
Have a nice – and healthy – day,
Flux
And sorry for the belated response…
@hogaty
Thanks a lot for your translation !
Sorry for the delay, but it’s fixed now: I updated the main post accordingly.
@mikes16
Welcome on board! Glad it now works as intended.
So, thank you highend for being there and active in general and for Session Manager in particular!
@autocart and @all
Even if I haven’t been active on the forum for a while, I still use Session Manager (and XYplorer) all the time. So I do intend to keep it alive and up to date!
I knew of an icon bug and fixed right away… but shamefully didn’t take the time to post the update.
version 6.51 - 2019-10-08 ! Changing icon of current session would not refresh toolbar button
But apart from that, I was not aware of any other issue, so any bug report is more than welcome!
Please don’t hesitate.
Have a nice – and healthy – day,
Flux
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager [v6.50]
Ok, since I should not hesitate...
I am not sure how to recreate it, but I remember two bugs with the latest version:
1) The toolbar icon changed one time during usage. Seemingly on its own. From the bag icon to the custom open with icon.
2) In the drop-down menu the dots (separator) was repeated 4 times right after one another. And so was the part below the separator (the actual session names) - also 4 times. I think, as far as I remember, that the dots indicating a saved layout were not shown in all 4 repetitions, but I could be wrong about this.
If you have no clue about what could have caused these bugs, then I suggest I will write about them again, if they surface again. Otherwise, the script seems to work ok. Those bugs seem to be more cosmetic only. So, no *real* problem.
Regards, me.
I am not sure how to recreate it, but I remember two bugs with the latest version:
1) The toolbar icon changed one time during usage. Seemingly on its own. From the bag icon to the custom open with icon.
2) In the drop-down menu the dots (separator) was repeated 4 times right after one another. And so was the part below the separator (the actual session names) - also 4 times. I think, as far as I remember, that the dots indicating a saved layout were not shown in all 4 repetitions, but I could be wrong about this.
If you have no clue about what could have caused these bugs, then I suggest I will write about them again, if they surface again. Otherwise, the script seems to work ok. Those bugs seem to be more cosmetic only. So, no *real* problem.
Regards, me.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager [v6.50]
1) There was definitely a bug with the icon management (in fact, a line updated too quickly with 6.50 update…). What you describe might be fixed by 6.51.
2) I’ve no idea what could cause such an issue… The only thing I can think of that may disrupt the display of the menu is when the script is run several times very fast without having the time to exit properly, i.e. double-clicking the button. So if you have a way to reproduce the bug —or any other bug—, thanks for posting it.
And in any case, any reporting is welcome!
2) I’ve no idea what could cause such an issue… The only thing I can think of that may disrupt the display of the menu is when the script is run several times very fast without having the time to exit properly, i.e. double-clicking the button. So if you have a way to reproduce the bug —or any other bug—, thanks for posting it.
And in any case, any reporting is welcome!
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager [v6.50]
1) Thanks for checking.FluxTorpedoe wrote: ↑09 May 2020 18:25 1) There was definitely a bug with the icon management (in fact, a line updated too quickly with 6.50 update…). What you describe might be fixed by 6.51.
2) I’ve no idea what could cause such an issue… The only thing I can think of that may disrupt the display of the menu is when the script is run several times very fast without having the time to exit properly, i.e. double-clicking the button. So if you have a way to reproduce the bug —or any other bug—, thanks for posting it.
And in any case, any reporting is welcome!
2) It sometimes happens after saving as session as... a new name. But again, it is merely cosmetic. After I close the menu and reopen it again, it looks normal again.
3) If I am allowed to wish for a new feature: Would it be hard to implement an option to always autosave the current session? I.e. an option that the command "set autosave to current session" is automatically executed on each session change.
4) Also nice (maybe instead of 3, if this was easier to implement) would be an indicator, if the current session is in a saved or unsaved state.
Regards. me.
[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 [v6.50]
Trying to invoke the button menu with the scripting command
button "ctb4", 1;
(in case it is the fourth user button), does not work. It seems that it is automatically executing the first entry in the menu (Reset Session) without popping the menu. Could be an XY bug?
button "ctb4", 1;
(in case it is the fourth user button), does not work. It seems that it is automatically executing the first entry in the menu (Reset Session) without popping the menu. Could be an XY bug?
[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 [v6.50]
That's probably because your normal left click entry for CTB4 is something like
global $DYN_InpSess = "Normal"; load "SessionManager.xys", "_Load";
which tells SM to load the normal session. Yours is probably something similar other than "Normal". If your left click entry is just the standard load statement alone like load "SessionManager.xys";
it should bring up the Session Manager menu. The one liner button "ctb4", 1
does work for me. You can also use userbutton "4", 1
.Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: Session Manager [v6.50]
Left click of ctb4 is load "SessionManager.xys";
Do you run the latest XY version and the latest Session Manager version?
Do you run the latest XY version and the latest Session Manager version?
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList