Page 2 of 4
Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 19:12
by eil
that's what troubles me, that if "Explicit Save Only" is ticked(On), and it's global, and no way to change it with scripting flag #caommand, then how to save one paper folder if globally it's Off? Or if "Explicit Save Only" is not ticked(Off), globally all paper folders are saved, but in script [~paperfolder] is used = how can that be saved if needed?
i know, i asked for "no save" and now looks like ask for totally opposite, but i just want the feature to work both sides.

Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 19:28
by eil
The thing is, if i understand everything right, with current global switch and no way to change it via scripting, plus explicit no-save folders by only ~paperfoldername criteria, it will kinda work but may create flaw situations in some scenarios.
As i understand, my "flag-wish situation" is kinda similar to this
no status modification request = global behaviour that should be possible to revert/controll by scripting means.
Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 19:40
by admin
My idea was to drop the new "Explicit Save Only" setting, AND avoid the need of adding a flag parameter to paperfolder(). All simply by adding some name rule ("no auto-save for PFs with a name like this"). Explicit saving will be no problem.
Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 19:47
by eil
well i'm fine with ~name idea, but as i described above couple situations, how to save if this setting is global and either All PFs save(except ~named) or None is saved(even if name has no ~ at the start).
may it happen you mean some other commands usage in "special situations"?
Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 20:19
by admin
Try v21.50.0134 ...
Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 21:02
by eil
tried it. seems like .134 doesn't consider "Explicit Save Only" as [paperfolders] are never saved(as expected), but ordinary paperfolders do save no matter setting is On or Off(not expected).
if i may, i'd ask to fix it and keep both features, so there be at least some space for manoeuvrer, to have global control over save or not and exception case to have [paperfolders] that don't save for sure.
Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 21:07
by admin
ahem, change log:
Code: Select all
The "Explicit Save Only" toggle from v21.50.0133 is now dysfunctional
Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 21:58
by eil
oh, i read that as "it Will be removed IF new thing will work better"..

so, may you keep both, please?
Re: "Virtual" Paper Folder.
Posted: 08 Mar 2021 22:17
by admin
I guess I don't understand your use case.
see ya tomorrow...

Re: "Virtual" Paper Folder.
Posted: 09 Mar 2021 08:39
by eil
admin wrote: ↑08 Mar 2021 22:17
I guess I don't understand your use case.
basically i'd wish both mechanics to be present, so there be global choice for if to auto-save paperfolders or not(to work with them in either regime in daily work), and exception by
[name] that is never auto-saved(to use in scripts for results, etc).
the things is, before your recent change, making paperfolders save only if really modified(no auto-save due to simply visiting its tab), i didn't want auto-save at all, but With that change, both variants(Autosave/No-autosave) are useful, and surely
[name] exception would be fine addition.
Re: "Virtual" Paper Folder.
Posted: 09 Mar 2021 12:08
by admin
OK, next beta...

Re: "Virtual" Paper Folder.
Posted: 09 Mar 2021 13:06
by eil
suddenly so much more control, cool, thank you!
p.s.
Removed the "[*]" experiment from yesterday for now.
if one day that will return(as an addition), will be only better(too handy yet simple idea not to use it in some scenarios).

Re: "Virtual" Paper Folder.
Posted: 09 Mar 2021 13:12
by admin
You know, with "[*]" there is a slight possibility of breaking old code (old Paper Folders). So, while I like "[*]", I'm careful for now. Maybe when more users grow to the idea of "throw-away Paper Folders", the time will come for "[*]".
Re: "Virtual" Paper Folder.
Posted: 09 Mar 2021 13:32
by eil
I see, well maybe time will come.)
Yet i'd propose to you to describe this trick to use "throw-away Paper Folders"(or "Transient/Temporal Paper Folders") in close official releases, i think people will find it useful, just didn't think about it before.(or maybe they already use paperfolders in this role, but didn't think/care about HDD cycles, which only geeks appreciate

).
Just as an example how i'm gonna use it right away. I have a script that makes deleting safer: checks drive button to warn if it's removable drive, and checks all subs for items with tags/labels. With XY speed all this works quite fast, plus delete operations happen quite often, so not to mess with HDD i listed found tagged items in modal windows like Inputselect() etc. But now i can stop worrying about too often re-saving so use some "temporal" paperfolder.
Re: "Virtual" Paper Folder.
Posted: 09 Mar 2021 14:01
by eil
little question: here's part from my script, paperfolder file already exists and "Explicit Save Only" ticked = am i using it wrong, 'cause it does save transferred data to paperfolder file, not just opens tab to forget on close?
Code: Select all
paperfolder("delete+", "$checkTags", "|");
setcolumns("Path,Name,Ext,Spec,Size,Modified,Created,Label,Tags,Comment");
tab("new", "paper:delete+"); #306;
tab("rename", "delete+|:del"); sortby m;
do i need to specify "oe1" in script even if it's ticked in r-button settings?.