Page 1 of 1

Quickly access bookmarked files and folders

Posted: 03 Nov 2019 15:58
by BlueFx
Hello!

I am currently evaluating XYplorer and so far I am very happy with it.
However, I wouldn't be here if I'd not a question ;)

So here it comes: I want to access my favorite files and folders using a filtered view.
I know that there is a menu showing my bookmarked folders or files, but I cannot filter the entries in it making it difficult to use when there are a lot of bookmarks.
What I was looking for is something like the "go to" dialog listing my favorites. I have seen, that I can edit the entries that are shown in the "go to" dialog when pressing <arrow down>. However, I cannot add a file / folder to this list by toggling it as a favorite (e.g. by pressing Ctrl+B).

As a workaround, I could use a paper folder that shows my favorites. But then I would need two things to get the functionality I want:
* I need a script that is executed by pressing a keyboard shortcut (e.g. Ctrl+B) that adds the path of the currently selected file to the paper folder's text file. So I need to run an external script by pressing a shortcut and hand over the current selection.
* I need a specific paper folder to be opened by pressing a keyboard shortcut.

Is there any way to get this functionality? Is it maybe build-in?

Best regards and thank you!

BlueFx

Re: Quickly access bookmarked files and folders

Posted: 03 Nov 2019 16:15
by highend
1.)

Code: Select all

    $paperName = "Test"; // Name of the paper file without extension
    paperfolder($paperName, <curpath>, , "a");
2.)

Code: Select all

    $paperName = "Test"; // Name of the paper file without extension
    tab("new", "paper:$paperName");

Re: Quickly access bookmarked files and folders

Posted: 03 Nov 2019 17:50
by BlueFx
Hello highend,

thank you very much for the quick answer!

The two work like a charm.

Re: Quickly access bookmarked files and folders

Posted: 04 Nov 2019 03:33
by MBaas
Thanks for this inspiring thread! :tup:

Re: Quickly access bookmarked files and folders

Posted: 23 Nov 2019 23:05
by BlueFx
I have just experimented a bit and currently, I use a simple folder collecting shortcuts to my favourites. This has the advantage, that I can rename the entries. I think you also could solve this using catalogs but I did not find a way to add items to a catalog using a script.
I needed the renaming to bookmark some folders that are located in a shared folder - so I could not rename the folders itself.

Therefore my current bookmark command is just

Code: Select all

new("C:\Users\XYZ\Favorites\<curbase>", 'link', "<curitem>");
and my "Show bookmarks" link is a "goto" to my bookmarks folder. It has a special view, though (big icons, no extension).