"Virtual" Paper Folder.

Features wanted...
eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post 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. :ninja:
Win 7 SP1 x64 100% 1366x768

eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post 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.
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: "Virtual" Paper Folder.

Post 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.

eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post 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"?
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: "Virtual" Paper Folder.

Post by admin »

Try v21.50.0134 ...

eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post 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.
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: "Virtual" Paper Folder.

Post by admin »

ahem, change log:

Code: Select all

The "Explicit Save Only" toggle from v21.50.0133 is now dysfunctional

eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post by eil »

oh, i read that as "it Will be removed IF new thing will work better".. :roll: so, may you keep both, please?
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: "Virtual" Paper Folder.

Post by admin »

I guess I don't understand your use case. :roll:

see ya tomorrow... :)

eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post by eil »

admin wrote: 08 Mar 2021 22:17 I guess I don't understand your use case. :roll:
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.
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: "Virtual" Paper Folder.

Post by admin »

OK, next beta... :)

eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post by eil »

suddenly so much more control, cool, thank you! :appl:

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). :ninja:
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60558
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: "Virtual" Paper Folder.

Post 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 "[*]".

eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post 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 :ugeek: ).

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.
Win 7 SP1 x64 100% 1366x768

eil
Posts: 1621
Joined: 13 Jan 2011 19:44

Re: "Virtual" Paper Folder.

Post 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?.
Win 7 SP1 x64 100% 1366x768

Post Reply