Page 3 of 17

Re: Paper Folders

Posted: 30 Jun 2014 11:11
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

Re: Paper Folders

Posted: 30 Jun 2014 11:13
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

Re: Paper Folders

Posted: 30 Jun 2014 11:17
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.

Re: Paper Folders

Posted: 30 Jun 2014 11:19
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. :)

Re: Paper Folders

Posted: 30 Jun 2014 11:23
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.

Re: Paper Folders

Posted: 30 Jun 2014 11:26
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.

Re: Paper Folders

Posted: 30 Jun 2014 11:31
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*

Re: Paper Folders

Posted: 30 Jun 2014 12:14
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.

Re: Paper Folders

Posted: 30 Jun 2014 12:17
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. :)

Re: Paper Folders

Posted: 30 Jun 2014 12:58
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:

Re: Paper Folders

Posted: 30 Jun 2014 14:44
by LittleBiG
Jeez, the "paper:" command creates a Paper Folder with empty name, the filename is ".txt.txt".

Re: Paper Folders

Posted: 30 Jun 2014 15:05
by admin
:whistle:

Re: Paper Folders

Posted: 30 Jun 2014 15:09
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?

Re: Paper Folders

Posted: 30 Jun 2014 15:26
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.)

Re: Paper Folders

Posted: 30 Jun 2014 15:30
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.