Paper Folders

Features wanted...
binocular222
Posts: 1419
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Paper Folders

Post by binocular222 »

It seems Paper Folder is auto saved in real time (Restart without saving doesn't discard changes). I like this behaviour, but the menu View > Paper Folder > Save is not necessary. We can remove it to clean up the menu
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: Paper Folders

Post by admin »

neil9090 wrote:Wishlist items;
Sub Folders with items within the "Paper" folder are not listed in the popout list under "Paper >", would be nice!
But what should happen when you click such a folder? You don't want to go down into the the app data folder to the PF source files, right?
neil9090 wrote: Ability to lock/prevent the removal of items from the list.
i.e. on a portable installation items may not always be available due to run location e.g. using network devices that are not always on, running from a different machine.

Perhaps have a clean up feature to remove unwanted/orphan items in the Paper Folder file for end user to action.
You could even have Stats: 3 items unavailable, click here to clean this paper folder now

Excellent new feature. Just trying to work out how best to use it..
I made some experiments with this during development, but it's not good. XY is not made to show non-existing items in the list. This would mean some deep restructuring.

I added an unofficial/undoc tweak anyway (next beta) to let you have some fun:

Code: Select all

PFAllowZombies=1

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

Re: Paper Folders

Post by admin »

Filehero wrote:Suggestion/question: Is there a way to make an existing PF kind of "the current PF" to which I quickly could add a selected file system item using a keyboard shortcut (e.g. <ctrl>+<+>) or a context menue command?
You will be able to do that with the upcoming SC PaperFolder.

I called them *Paper* Folder because they are not dynamic (like paper). It's a feature.

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

Re: Paper Folders

Post by admin »

binocular222 wrote:It seems Paper Folder is auto saved in real time (Restart without saving doesn't discard changes). I like this behaviour, but the menu View > Paper Folder > Save is not necessary. We can remove it to clean up the menu
Probably true. But I'm hesitating to remove it. It's so expected to be there. :)

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Paper Folders

Post by Enternal »

admin wrote:
binocular222 wrote:It seems Paper Folder is auto saved in real time (Restart without saving doesn't discard changes). I like this behaviour, but the menu View > Paper Folder > Save is not necessary. We can remove it to clean up the menu
Probably true. But I'm hesitating to remove it. It's so expected to be there. :)
I somehow think you should have an option to turn off the auto-save feature (not on by default). Then that "Save" menu would make a bit more sense. Also, how about a read-only mode? This is different than allowing zombies.

jcmn
Posts: 179
Joined: 18 Sep 2007 11:34
Location: portugal

Re: Paper Folders

Post by jcmn »

If I want to include files in a paper folder that doesn't exist yet there should be the option to create it in the same operation instead of having to create it in View-Paper Folders - New

Also in the Edit - New you could have an option to create a Paper Folder.

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Paper Folders

Post by Enternal »

jcmn wrote:If I want to include files in a paper folder that doesn't exist yet there should be the option to create it in the same operation instead of having to create it in View-Paper Folders - New

Also in the Edit - New you could have an option to create a Paper Folder.
I'm guessing something like:
CopyTo... -> Location: paper:NewPaperFolder
So basically by prepending "paper:" to the path of whatever operation you're trying to do, it will automatically create a new paper folder? That seems like a neat idea.

A good use for this feature is making a quick n dirty temporary paper folder for whatever reasons. For example, I'm in a rush and need to some quick organizing of files and folders from various places. I have a catalog script already set up that if any items are dragged onto it, it will automatically create a temporary paper folder if it does not exist. So now I can just drag any files and folder into it even if the paper folder have not been created yet. And if I click that catalog, it will automatically open up that paper folder in a new tab/current tab. Awesome. Kind of like a quick n dirty temporary working folder without going through the process of making a new paper folder, naming it, and more. Lazy method.

EDIT: Don, a very nice useful way of using paper folders is making search results into paper folders. One problem I had with searches is that when I switch tabs and then back, depending on the type of search I have done, I need to wait for XYplorer to "redo" the search. By having XYplorer convert these results into paper folders, it's much faster and easier to work on those results even when switching back and forth between tabs. Awesome!

EDIT2: I HAVE MADE 666 POSTS! AND THIS IS THE 666th POST. :twisted: :twisted: :twisted: :twisted: BOW DOWN TO ME MERE MORTALS! MUHAHAHAHA~ *gets knocked out by a giant paper airplane*

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

Re: Paper Folders

Post by admin »

:beer: :beer: :beer: (Number of the beer)
Enternal wrote:
jcmn wrote:If I want to include files in a paper folder that doesn't exist yet there should be the option to create it in the same operation instead of having to create it in View-Paper Folders - New

Also in the Edit - New you could have an option to create a Paper Folder.
I'm guessing something like:
CopyTo... -> Location: paper:NewPaperFolder
So basically by prepending "paper:" to the path of whatever operation you're trying to do, it will automatically create a new paper folder? That seems like a neat idea.
Yep, that's good. I just added it:

Code: Select all

    * Paper Folders: Now, if you copy items to a Paper Folder that does not 
      exist yet, it will be created on the fly without asking.
Further integration via context menu is an option for later. Let's just get the basics straight first.

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

Re: Paper Folders

Post by admin »

Enternal wrote:
admin wrote:
binocular222 wrote:It seems Paper Folder is auto saved in real time (Restart without saving doesn't discard changes). I like this behaviour, but the menu View > Paper Folder > Save is not necessary. We can remove it to clean up the menu
Probably true. But I'm hesitating to remove it. It's so expected to be there. :)
I somehow think you should have an option to turn off the auto-save feature (not on by default). Then that "Save" menu would make a bit more sense. Also, how about a read-only mode? This is different than allowing zombies.
You can try to make a PF file readonly and see what happens. Should work (no time for testing now). You probably can add files to it while it's open in a tab, but they will not stick. Nice function for a temporary collection! :appl:

PS: tested it, does not work nicely now. But will work in next beta. :)

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Paper Folders

Post by highend »

I HAVE MADE 666 POSTS! AND THIS IS THE 666th POST. :twisted: :twisted: :twisted: :twisted: BOW DOWN TO ME MERE MORTALS! MUHAHAHAHA~
Gz and *banned for 3 days for posting this* :mrgreen: :ball: :ball: :ball:
One of my scripts helped you out? Please donate via Paypal

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Paper Folders

Post by LittleBiG »

Jeez, the "paper:" command creates a Paper Folder with empty name, the filename is ".txt.txt".

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

Re: Paper Folders

Post by admin »

:whistle:

Enternal
Posts: 1174
Joined: 10 Jan 2012 18:26

Re: Paper Folders

Post by Enternal »

highend wrote:
I HAVE MADE 666 POSTS! AND THIS IS THE 666th POST. :twisted: :twisted: :twisted: :twisted: BOW DOWN TO ME MERE MORTALS! MUHAHAHAHA~
Gz and *banned for 3 days for posting this* :mrgreen: :ball: :ball: :ball:
:whistle:

First attempt to have a bit of fun:

Code: Select all

  Global $PSExist;
  CopyTo "paper:PaperScrap", "<get drop |>";
  Focus "PI";
  Sub "_PSExist";
  Focus "PI";
  If $PSExist != 1 {
    Focus "PI";
    Tab("New");
    Goto "paper:PaperScrap";
    Tab("Rename", "PaperScrap");
    Focus "PI";}

"_PSExist"
  Global $PSExist;
  $numTabs = Tab("get", "c");
  $curTabID = Tab("get");
  $maxTabs = $numTabs - $curTabID;
  $i = 1;
  While($i <= $maxTabs) {
    If Tab("get", "caption", $i) == "PaperScrap" {
      $PSExist = 1;
      Break; }
    Else {$i++;} }
So what it does is you can use it as a quick and temporary virtual folder for work. Simply use that code to put into a catalog item and you can then drag files and folders onto it and it will automatically add the items to the temporary paper folder (which I named it PaperScrap). It will then check to see if you already have a tab open named "PaperScrap" in the opposite pane and if you don't, automatically opened up the paper folder in the opposite pane.

Because of the way I checked for the existence of the tabs named "PaperScrap", you will definitely see flashing of the panes since I used the SC "Focus" to change panes and then back after checking for the existence of that tab. Can't think of a better way to deal with that yet. Also I would love it if it's possible to focus a certain tab if I know its index. For example, currently the tab in focus is index 5. The tab that I'm interested in is tab 3. I can send the command "Tab("focus", 3)" and it will change focus to that tab. Is there any other ways of achieving that?

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

Re: Paper Folders

Post by admin »

Why so complicated?

I simply have a catalog item pointing to this location: paper:Stuff Then I drop my stuff onto it. When I want to see the list I click the item. (Have a locked tab to that item and it will be openend automatically.)

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Paper Folders

Post by bdeshi »

@Enternal, there's get("tabs",,a) and get("tabs",,i) which will return tab paths, but the required tab will have PaperScrap in path too.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply