Page 10 of 40
Re: Session Manager [v2.6b7]
Posted: 04 Feb 2014 08:08
by autocart
It takes a while to understand how the autosave feature works but I think for me Session Manager is about perfect now. And the autosave is fast too.
The script association is even more than I would have ever expected and it seems so powerful and cool that it makes the whole thing 2x perfect. (Even though I don't
yet know what to use it for.)
Extremely awesome work, thx Flux!!!

Re: Session Manager [v2.6b7]
Posted: 05 Feb 2014 21:23
by FluxTorpedoe
Thanks for the kind words...
BTW, I just changed the script association, so not only will you be able to associate a script file, or file and label, but you'll also be able to enter directly your script (like in the Address Bar). Much easier for simple series of commands and scripts like "run", etc.
Well, I'll wait before posting the update to see if there's something else I need to change.
Have a nice day,
Flux
Re: Session Manager [v2.6b7]
Posted: 12 Feb 2014 11:52
by autocart
FluxTorpedoe wrote:if there's something else I need to change.
This is not a need to change but definitely a wish: If possible I'd like to have the clickable list of sessions also available in the catalog for easier and quicker switching. How much work would that be?
Regards, Stephan
Re: Session Manager [v2.6b7]
Posted: 21 Mar 2014 04:14
by Enternal
@ FluxTorpedo (& autocart)
Oooh! All of these new updates are just wonderful! It's really useful and continue to be really useful. Nothing to complain at all

Re: Session Manager [v2.6b7]
Posted: 01 Apr 2014 03:36
by FluxTorpedoe
Hi Everyone,
Back online again...
Thanks
Enternal for the feedback.
@
autocartFluxTorpedoe wrote:I'd like to have the clickable list of sessions also available in the catalog for easier and quicker switching
Hummm. Do you mean each session listed as a separate entry in the catalog? Though it's possible by scripting to replace or include catalogs, I fear there's no way to add or remove single entries in the catalog...
The closest thing that could be done —in theory— would be to
manually add sessions (i.e. scripts to load them) to catalogs, though the entries wouldn't be updated if sessions are renamed or deleted...
But right now, this kind of "direct access" to Session Manager functions only exists for "Reset", "Reset Layout", and "Save Temporary Session".
Well, if that's really really useful, I could think about providing direct access to individual sessions, let me know...
Have a nice day,
Flux
Re: Session Manager [v2.6b7]
Posted: 08 Jul 2014 20:10
by Filehero
Hi all (Flux and users),
I seems that saving/restoring layouts is broken over here, at least with XY 14.20.0314.
So far, using either the 2nd pane or the address bar as indicator the saved layout isn't restored at all (though EnableLayouts=1). Can someone confirm?
Cheers,
Filehero
Re: Session Manager [v2.6b7]
Posted: 08 Jul 2014 21:37
by klownboy
Hi Filehero,
I can confirm some definite issues with SessionManager as well. I've noticed similar issues with 3 of my scripts which I had to update or correct. They were used frequently and they worked just fine up to a week or two ago. Each problem had to do with conditional "IF" statements with the use of AND or OR or equivalents. The issue I had has to do with the opening and closing parentheses "(" and ")" in scripts. I can't be sure, but for some reason XY scripting was more tolerant with lines like...
Code: Select all
if ($STG_AutoSave && ($PRE_n_AvailSess < 2))
but now may require something like...
Code: Select all
if (($STG_AutoSave) && ($PRE_n_AvailSess < 2))
I don't know if it's the same issue in this case, but I noticed many similarly laid out if statements in Flux's script. I stepped through my scripts and noticed it wasn't properly/accurately checking the if conditions. My scripts worked again after I made some tweaks like ones above. I'm not sure what Don might have changed to break those scripts, but yesterday I was planning on asking that question (i.e., if anyone else had noticed any issues) and never got around to it.
Ken
Re: Session Manager [v2.6b7]
Posted: 08 Jul 2014 21:50
by PeterH
Just tried to test a stmt as your first - and had no problem.
(Sorry: old XY-Version 0307 here, so ignore this Statement)
But: if there's something new requesting a change like you wrote, I would say it's a
For me the additional () make no sense at all.
Re: Session Manager [v2.6b7]
Posted: 08 Jul 2014 22:04
by klownboy
Hi PeterH, the additional () make no sense to me either, but I had numerous script lines like this...
Code: Select all
if ($orig_ratio == 1.78 AND ($xy == 16x9)) {
msg "Image, ". $fn ." is already in a<br>16x9 aspect ratio, ". $d . " px!";
$FileChkReturn = "0"; continue (2); }
They failed, as seen by stepping, to give me the correct result and when the additional () were added the script ran fine as it always did before without the additional ()...very odd. In this particular case, I'd get the message that the picture is already in the 16x9 aspect ratio when I knew it wasn't. It worked fine in almost daily use up to a week or two ago and it works again with the additional ().

Re: Session Manager [v2.6b7]
Posted: 09 Jul 2014 01:23
by PeterH
OK: in this example the additional () *could* at least do something.
But help *still* says that == has higher precedence than AND - so I further call it a bug.
Though I tried to simulate it, and it worked ok. (But I used all constants, like (4 == 4 AND 5 == 5)
I even deleted the right pair of () and all correct. Tested all combinations of additional ().
By the way: 16x9 is a string, and should be quoted. Though I don't think it makes a problem here...
(16*9 would be 144

)
Congratulations Germany, and good night (miss a yawning face to show

)
Re: Session Manager [v2.6b7]
Posted: 09 Jul 2014 06:55
by Filehero
Hi Ken & Peter,
thanks for your analysis, I hope Flux can reproduce the findings.
I'm still "shocked" by what I've been witnessing yesterday evening.

Re: Session Manager [v2.6b7]
Posted: 09 Jul 2014 13:07
by klownboy
Thanks PeterH for the tests and the tips. The script is about 2 years old and could do with a major update especially with all the new features Don has added since. I do quote my strings now. I was actually surprised I hadn't when I looked back at the code. Maybe the problems I was having are completely unrelated to the SessionManager issues but I figured I'd through it out there just in case.
Re: Session Manager [v2.6b7]
Posted: 09 Jul 2014 17:18
by FluxTorpedoe
Wowww,
Don is moving too fast (again)!!!
I just discovered papers, runret(), and so much more...
Regarding the conditional issue, I don't have it with v14.20.0306. Thanks to your post I know I'll have to wait to update my XY since I don't have time to figure this out right now. Though at first sight I don't see why a lone variable should be enclosed in parenthesis...
Regarding the update of Session Manager with the new and expended layout tools, that's my next

... I was waiting/hoping for the integration of the InfoPanel status (i.e. visibility of Preview, or Find, or...), but I'll update it anyway as soon as I can.
Besides, my very limited time with XY development was devoted to the discovery and integration of the new tools with Everything from Marco's script...
See you
there — and here soon for more SM news.
Have a nice day, and

to Don's team,
Flux
Re: Session Manager [v2.6b7]
Posted: 09 Jul 2014 19:03
by Filehero
Hi Flux,
thanks for your update.
Now have more fun with XY and Everything.
Cheers,
Filehero
Re: Session Manager [v2.6b7]
Posted: 10 Jul 2014 14:17
by klownboy
Dual pane (Session with layouts enabled) is definitely not being saved or restored properly and the same with the address bar. If I save a Dual Pane configuration with a address bar and then return to my "Normal" configuration which was saved with no address bar the Normal Session will have an address bar now.