Quickly access bookmarked files and folders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
BlueFx
Posts: 8
Joined: 03 Nov 2019 15:21

Quickly access bookmarked files and folders

Post 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

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

Re: Quickly access bookmarked files and folders

Post 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");
One of my scripts helped you out? Please donate via Paypal

BlueFx
Posts: 8
Joined: 03 Nov 2019 15:21

Re: Quickly access bookmarked files and folders

Post by BlueFx »

Hello highend,

thank you very much for the quick answer!

The two work like a charm.

MBaas
Posts: 582
Joined: 15 Feb 2016 21:08

Re: Quickly access bookmarked files and folders

Post by MBaas »

Thanks for this inspiring thread! :tup:
______________________________________________
Happy user ;-)

BlueFx
Posts: 8
Joined: 03 Nov 2019 15:21

Re: Quickly access bookmarked files and folders

Post 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).

Post Reply