Open menus at mouse location (favorites, recent folders, etc.)

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

Re: Open menus at mouse location (favorites, recent folders, etc.)

Post by highend »

A bit of a scripting tip, jupe:

Code: Select all

goto formatlist(report("{prop:#LinkTarget}|", quicksearch("*.lnk", "%APPDATA%\Microsoft\Windows\Recent", "|")), "ed"); . "?";
or for the paper folder

Code: Select all

paperfolder("Recent Folders", formatlist(report("{prop:#LinkTarget}<crlf>", quicksearch("*.lnk", "%APPDATA%\Microsoft\Windows\Recent", "|")), "ed", <crlf>));
- Faster
- Less "bloated"
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 2798
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Open menus at mouse location (favorites, recent folders, etc.)

Post by jupe »

Thanks for the tip, but in this case I don't see how it works because the OP wanted Recent Folders, not all Recent Items, that's not to say my code couldn't be better, I was just giving a quick example though.

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

Re: Open menus at mouse location (favorites, recent folders, etc.)

Post by highend »

Ok, I see. Limiting it to folders only wouldn't work that way. report() can't resolve the #LinkTarget at runtime to apply the {Dir ...} field (which would still spare a loop to gather the destination folders)
One of my scripts helped you out? Please donate via Paypal

Post Reply