Re: "Virtual" Paper Folder.
Posted: 09 Mar 2021 14:09
Does PF "delete+" exist already as file before this code runs?
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Code: Select all
paperfolder("delete+", , "r"); copyto , "$checkTags"; you're right, comma was missing. yet now i know that there is no way to simply open paper folder with paperfolder() and not modify file in some way = with proper commas it just erased my important paperfolder that had list of items, though i truly expected "r" to be for only reading, no adding or erasing.
Code: Select all
paperfolder("delete+", , ,"r");$paper = paperfolder("delete+", , ,"r"); if you just want to open a paperfolder with no editing you can do it like this: paperfolder("delete+", , , "l");can't really check if it's less access but nterface part of "Explicit" still works fine.
Code: Select all
//paperfolder(, , , "oe1");
$a = <selitems |>;
tab("new");
paperfolder("Sel", "$a", "|", "al");thanks for corrections, that helped me in further experiments.jupe wrote: ↑09 Mar 2021 19:07 I think you are misunderstanding how to use paperfolder(), with the "r" param you need to assign it to a variable to be useful (or embed it in another cmd), eg.$paper = paperfolder("delete+", , ,"r");if you just want to open a paperfolder with no editing you can do it like this:paperfolder("delete+", , , "l");
Yes, that was part of the problem. It's more tricky than I thought, but I cannot let loose now... check next beta...