Session Manager [v7.00]  —  Bookmark your environments: locations and/or display (tabsets and layout)

Discuss and share scripts and script files...
Regmos
Posts: 268
Joined: 22 Dec 2012 07:27
Location: Copenhagen

Re: Session Manager [v3.2]

Post by Regmos »

Try this out for size.

I think it's OK, but, if needed, extra polish and additional shine will be added, when you release the final version 8)
SessionManager_da.zip
(6.76 KiB) Downloaded 228 times
Kind regards
Regmos

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: Session Manager [v4.a2 ML(3)]

Post by FluxTorpedoe »

@hogaty
Thank you so much for the renewed work on your translation and updating it to SM v4!

@regmos
Thanks for the initiative and the hard work! And you did it without even having SM v4 on hand! :kidding:

@all
FYI, Session Manager English language file clocks at 1116 words for 209 lines (of non-duplicate syntagmas)! So, a big thanks to all existing and future translators! :appl:

---------------------------

So, let's start with a teaser, Session Manager main menu in    Čeština ( :appl: Hogaty)    /    Danske ( :appl: Regmos)    /    Français ( :appl: Anon.):
SessionManager_ml.png
SessionManager_ml.png (25.47 KiB) Viewed 6786 times
---------------------------

And now, without further ado, here is… drum-roll…


#########################
### Session Manager v4.a2 ###
#########################


• REQUIREMENTS: XYplorer >= v15.00.0518 :!: (w/ User Defined Functions)
 — Previous version v3.2 (for XYplorer < v15.00.0518) available here
 — Previous version v2.71 (for XYplorer < v14.10.0104) available here

• INSTALLATION for first-time users / UPDATE from v2.x:
 — Please refer to first post / this post

• UPDATE » for non-english users:
 — Download one of the language files and extract it into the same folder as SessionManager.xys (language detection is automatic)
Note (if applicable): Temporary Session and Autosave might appear as regular sessions depending on translation. Just save again/delete obsolete.

• UPDATE » for all users:
 — Overwrite your existing SessionManager.xys with latest version
 — Recommended: Run SM and update your "Default Layout" (and "Default Toolbar" if applicable)

• TRANSLATORS:
 — We need your help! Please, see the dedicated post on the ML forum.

---------------------------

Session Manager v4.a2 - Changelog
+++ Multilingual support
+ Added automatic saving of SyncBrowse and SyncScroll to layout sessions (if Advanced Layout Tools ON)
+ Added Autosave support to Temporary Session
+ Added scripting support to Temporary Session
* Clarified Autosave reset/on/off behavior
! Various fixes (of unprobable situations)
SessionManager.xys
(113.05 KiB) Downloaded 271 times
• LANGUAGES:
 — Čeština by HogatyUpdated 2015-08-18
 — Dansk by RegmosUpdated 2015–08–03
 — Italiano by Flora_RMCAdded 2015–08–18
 — French: Pending…

---------------------------

English (for translators):
SessionManager_en.zip
(5.46 KiB) Downloaded 185 times
Updated 2015–08–18: Crash fix for translators only
Replaced brackets "{}" to "[]" in entry:
   sm.0006=00|{Layout Session}|--|{Layout Session}
New entry:
   sm.0006=00|[Layout Session]|--|[Layout Session]
to prevent crash in ITT for translators.
Last edited by FluxTorpedoe on 18 Aug 2015 19:47, edited 3 times in total.

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: Session Manager [v4.a2 ML]

Post by klownboy »

Hi Flux, thanks for the update and including the Auto-Scroll sync business we discussed. Certainly not a big deal but I wanted to point out that your about boxes state the version is v4.a1 and it's obviously v4.a2. I do wish though that you could have kept the scroll sync feature as a separate option rather than tying it in with the toolbar option. I wasn't using the toolbar option (i.e., had no need really), but had to invoke it to get the scroll sync feature. Any easy way you could separate the two? Thanks.
Ken
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: Session Manager [v4.a2 ML(3)]

Post by FluxTorpedoe »

@all
Along with updates for the Czech (2015-08-18) and Danish (2015–08–03) languages, we welcome the Italian language for Session Manager by Flora_RMC! :appl:
Don't forget to check them out in the post slightly above…

---------------------------
klownboy wrote:Hi Flux, thanks for the update and including the Auto-Scroll sync business we discussed. […]
I wasn't using the toolbar option (i.e., had no need really), but had to invoke it to get the scroll sync feature.
Glad the Auto-Scroll/Browse works! :)

Regarding the toolbar aspect, in fact I had "rebranded" the entry, which was previously misleading:

---------------------------

@all

• Now, in the "Options" menu, activating "Layouts: Enable Advanced Layout Tools":
  — automatically activates the saving of Auto-Scroll and Auto-Browse for layout sessions
  — only develops the "Layout Tools >" menu with more options (well, only one currently): the possibility to manually save the toolbar with a specific layout-session.

So there's no automatic toolbar saving happening behind the scenes, which means you can safely leave the "Advanced Layout Tools" option ON: it will only provide more layout options.
FYI, I had chosen to leave it optional and off by default to keep the layout menu clean for new users.

Hope this clarify things! 8)

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47

Re: Session Manager [v4.a2 ML(3)]

Post by nerdweed »

Aren't you planning to upgrade this to the strict XY scripting rules?

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: Session Manager [v4.a2 ML(3)]

Post by FluxTorpedoe »

nerdweed wrote:Aren't you planning to upgrade this to the strict XY scripting rules?
I'd totally overlooked this feature… Very pertinent idea, I like this as an valid update feature for v4!
I'm on it, will release a "strict" beta with the latest fixes in a few.

Until them, if some of you have terrific ideas, keep'em coming!

Have a nice day, 8)
Flux

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: Session Manager [v4.a2 ML(3)]

Post by autocart »

nerdweed wrote:Aren't you planning to upgrade this to the strict XY scripting rules?
What is this? I searched but could not find.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Session Manager [v4.a2 ML(3)]

Post by highend »

It's in the help file
Syntax Checking

Tick it show a warning on dubious syntax. Recommended for debugging scripts.

Tip: You can suppress further validation for the current script by holding Ctrl while pressing "Continue" in the "Dubious Syntax" dialog.
One of my scripts helped you out? Please donate via Paypal


nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47

Re: Session Manager [v4.a2 ML(3)]

Post by nerdweed »

FluxTorpedoe wrote:
nerdweed wrote:Aren't you planning to upgrade this to the strict XY scripting rules?
I'd totally overlooked this feature… Very pertinent idea, I like this as an valid update feature for v4!
I'm on it, will release a "strict" beta with the latest fixes in a few.

Until them, if some of you have terrific ideas, keep'em coming!

Have a nice day, 8)
Flux
Great. Thanks

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Session Manager [v4.a2 ML(3)]

Post by SkyFrontier »

Hi, Flux.
Never cared much for session management - although I scripted a very simple one which now and then I run. Well. I care. Lots. But never focused enough to produce or found a solution which was unobtrusive enough for me to actually "use-it-without-noticing".

The thing I'm really currently into is auto-recording recent scenarios, at least with the minimum user participation as possible, as well as classifying the most used ones on top of the list along with the latest ones.

Can't say this'll be the best model for session managing but I'm really curious on what would be your approach on this, the optional layouts' save being my focus (ie, layouts being optionally restored when required).

I hardly believe SessMan will integrate these features in its current incarnation, so my suggestion contemplates a possible fork.

P.S.: I hate doing that: translation is flowing, slow but moving. Sorry, just have to dedicate my time to other stuff as of now. ETA: this weekend, national recess.
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...

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: Session Manager [v4.a2 ML(3)]

Post by FluxTorpedoe »

Hi'
highend wrote:Syntax Checking[…]
Tip: You can suppress further validation for the current script by holding Ctrl while pressing "Continue" in the "Dubious Syntax" dialog.
Well, thanks from me too! Plus, I only knew it as a tweak… :biggrin:

---------------------------

@SkyFrontier
No worries about the translation, I'm already glad you're doing it! :)

About your suggestion, I'm intrigued… and not really sure what you're after. Do you mean you'd like users to save tabsets+layout, with minimal interaction — like, a keyboard shortcut would auto-save a full session with a specific name, and would auto-order the session list?

Well, I'd really like if you could give a real case scenario…
It would help me understand how to implement some or all of it (or if it's really too distinct/heavy to justify keeping it for a fork project).

Have a nice day, 8)
Flux

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Session Manager [v4.a2 ML(3)]

Post by SkyFrontier »

FluxTorpedoe wrote: About your suggestion, I'm intrigued… and not really sure what you're after. Do you mean you'd like users to save tabsets+layout, with minimal interaction — like, a keyboard shortcut would auto-save a full session with a specific name, and would auto-order the session list?
Hi there, Flux. Missed your feedback, sorry.
When I started what later would culminate in surfYnXoard mod, I was mainly after maximum optimization for minimum interaction. Soon I became obsessed with the theme - in my point of view I was putting a train on a magnetic trail and that delivered me a whole set of tools allowing for even a minimum GUI.

More and more I miss a way to quickly retrieve a recent set, dual or single pane, either of a most used tabs or a most recent tabs, with or without companion pane data. So a basic requirement would be: the script auto-saving (on tab changing? time-triggered?) tab sessions and, on CKS, delivering a list to chose from, preferably making use of live filter which would allow to perform a quick search for specific strings present on given sessions.

Listed sessions could be recorded and presented on pairs when requested
"1wData"***"pane 1 tabs|pane 2 tabs"; //with data
"1tabs"***"pane 1 tabs|pane 2 tabs"; //tabs only
"2wData"***"pane 1 tabs|pane 2 tabs";
"2tabs"***"pane 1 tabs|pane 2 tabs";
"3wData"***"pane 2 tabs";
"3tabs"***"pane 2 tabs";

Scenario?
Each and every sys/xy restart I'd like to have a way to choose among either the most recently used sets of tabs or the most used ones, without the hassle of saving/naming them just to have a hard list of panes plenty of folders that no longer exist.
Last time I checked the panes' data could not be fully retrieved and needed to have saved settings so they were stored for later retrieval - thing I fully avoid, specially when recording that data would happen quite often, which in turn would led XY settings prone to get corrupted.

If your tech could read my subconscious memories and directly transmit such info in form of the tabs I'll need for the next session, ideally scanning the future to pick the ones I'll really make use of in a prioritization of what's more urgent to do, right to left, top to bottom, that would certainly be a plus. :ugeek:
:biggrin:

No rush here, but I'm really sick of thinking what would be the day when a session is smartly presented and picked, always fresh, minimum intervention, zero impact on settings.
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...

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: Session Manager [v4.a2 ML(3)]

Post by FluxTorpedoe »

Hmm Hmm, :veryconfused: :eh: :kidding:
Still trying to wrap my mind around this!
Will get back to you!…

FluxTorpedoe
Posts: 855
Joined: 05 Oct 2011 13:15

Re: Session Manager [v4.b1 ML(5)]

Post by FluxTorpedoe »

 
#########################
### Session Manager v4.b1 ###         MultiLingual (5 languages)
#########################



• REQUIREMENTS: XYplorer >= v15.00.0518 :!: (w/ User Defined Functions)
 — Previous version v3.2 (for XYplorer < v15.00.0518) available here
 — Previous version v2.71 (for XYplorer < v14.10.0104) available here

• INSTALLATION for first-time users / UPDATE from v2.x:
 — Please refer to first post / this post

• UPDATE » for all users:
 — Overwrite your existing "SessionManager.xys" file with latest version
 — Recommended: Run SM and update your "Default Layout" (and "Default Toolbar" if applicable)

• UPDATE » for non-english users:
 — Download one of the language files and extract it into the same folder as SessionManager.xys (language detection is automatic)
Note (if applicable): Temporary Session and Autosave might appear as regular sessions depending on translation. Just save again/delete obsolete.

• TRANSLATORS:
 — New contributions are more than welcome!
 — Few (very) minor changes between v4.a2 and v4.b1.
 — @all, please head to the dedicated post on the ML forum for the changelog and latest english language file

---------------------------

• DOWNLOADS:

› Script:
SessionManager.xys
(115.36 KiB) Downloaded 215 times
› Languages:
 — Čeština by Hogaty(v4.b1) Updated 2015-09-24
 — Dansk by Regmos(v4.b1) Updated 2015–09–25
 — Italiano by Flora_RMC(v4.b1) Updated 2015-10-02
 — Português (Brasil) by SkyFrontierAdded 2015–09–24
• NEW:
 — Français by pseudoz(v4.b1) Added 2015–09–28

---------------------------

• CHANGELOG:

Session Manager v4.b1 — Updated 2015-09-24
*** Fully strict scripting compliant (Menu "Scripting" > "Syntax Checking")
* Temporary Session is now always listed last, also in "Delete" Menu
! Fixed misbehavior when saving (regular or temporary) session just after enabling Autosave
* Changed behavior of "Reset Autosave of current session" just after enabling Autosave
! Alert not showing when saving session under existing name
* Clarified status info of all Temporary Session operations
* Renamed "– Autosave –" to "•• Autosave ••" in menu for better legibility (esp. if enabled for Temporary Session))
Last edited by FluxTorpedoe on 17 Oct 2015 11:17, edited 4 times in total.

Post Reply