Nested Paper Folders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Keagel
Posts: 16
Joined: 29 Apr 2020 15:20

Nested Paper Folders

Post by Keagel »

Hey,

Is there any way to have paper folders inside paper folders? It doesn't seem like it's currently possible but maybe I'm missing something.

Thanks!

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Nested Paper Folders

Post by nas8e9 »

Not that I can see, but according to the help file you can have subfolders in the paper-folder:
Paper Folders can also be located in subfolders of <xydata>\Paper:
Location: paper:Sub\foo
Refers to: <xydata>\Paper\Sub\foo.txt

Keagel
Posts: 16
Joined: 29 Apr 2020 15:20

Re: Nested Paper Folders

Post by Keagel »

Yeah I discovered that too, unfortunately that's not enough for what I'm trying to do. I'd like to be able to open a paper folder and have it show any paper folder inside as if they were subfolders, the final goal being the ability to create group-like functionality based on paper folders (ie. grouping by date, etc.).

mazot
Posts: 42
Joined: 20 Apr 2020 23:19

Re: Nested Paper Folders

Post by mazot »

I am not sure on what you want but thought this might go some way to it.
First off it depends heavily on Custom File Association.
the code I use is based on highend's CFA.

Code: Select all

*.pf.txt>::goto "paper:<pfaitem>"; 
As you can see Xtra ".pf".
The code to use to get pf's into a pf is simple.
Select your pf's then run following code.

Code: Select all

"From selection"
	$SelectedItems = get( "SelectedItemsPathNames", <crlf>); // gets all paths & names
        paperfolder ("paper:_XYCollectorM1.pf.txt", $SelectedItems, <crlf>);
HTH

Keagel
Posts: 16
Joined: 29 Apr 2020 15:20

Re: Nested Paper Folders

Post by Keagel »

Thanks for the bit of code!
Unless I misunderstood something, that just adds the text files to a new paper folder, doesn't it?

mazot
Posts: 42
Joined: 20 Apr 2020 23:19

Re: Nested Paper Folders

Post by mazot »

Yes but because of the CFA you can launch them from inside your paper folder.
In effect you can put pf's in pf's to your hearts desire.

Keagel
Posts: 16
Joined: 29 Apr 2020 15:20

Re: Nested Paper Folders

Post by Keagel »

Oh you're right, I simply forgot to rename my paper folders to .pf.txt, thanks for the help!

Post Reply