Win 8.1 Recent Places

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Stabilizer
Posts: 19
Joined: 11 Jun 2008 19:16

Win 8.1 Recent Places

Post by Stabilizer »

I use Recent Places in Windows Explorer (Windows 8.1) frequently and it works well for me

Is there a way to put Recent Places in the XYP main tree?

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

Re: Win 8.1 Recent Places

Post by highend »

Not in the main tree but as an alternative a script (e.g. executed by clicking on a udc / assigning a keyboard shortcut, etc.):

Code: Select all

    // Show popup menu for recent places
    $count = 15; // Max folders to show in the popup menu
    $recentFolder = "%APPDATA%\Microsoft\Windows\Recent";
    $linkFiles = listfolder($recentFolder, "*.lnk", 1, "<crlf>");
    $folderList = "";
    foreach($file, $linkFiles, "<crlf>") {
        $dstFolder = property("#linktarget", $file);
        if (exists($dstFolder) == 2) {
            $folderList = $folderList . getpathcomponent($file, "base") . ";$dstFolder<crlf>";
        }
    }
    $target = popupmenu($folderList, -1, -1, , $count, , "<crlf>", ";");
    goto $target;
One of my scripts helped you out? Please donate via Paypal

Stabilizer
Posts: 19
Joined: 11 Jun 2008 19:16

Re: Win 8.1 Recent Places

Post by Stabilizer »

I've never used a script before

Is there some information on how to get started?

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

Re: Win 8.1 Recent Places

Post by highend »

e.g. Help file...

Advanced Topics - User-Defined Commands
One of my scripts helped you out? Please donate via Paypal

Post Reply