How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
bissettbd
Posts: 2
Joined: 11 Mar 2020 15:31

How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?

Post by bissettbd »

I cannot figure out how to duplicate the Quick Access Folders (the folders I selected and pinned in Win 10 File Explorer) to appear in the default tab view of XYplorer???
Attachments
Quick Access Add.png
Quick Access Add.png (3.25 KiB) Viewed 1884 times

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

Re: How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?

Post by highend »

Afaik the only way to display them in XY is via scripting (on a button, catalog, whatever...) e.g. via:

Code: Select all

    $psContent = <<<>>>
        $o = new-object -com shell.application
        foreach ($item in $o.Namespace("shell:::{679f85cb-0220-4080-b29b-5540cc05aab6}").Items()) {
            Write-Output  "$($item.Name)|$($item.Path)"
        }
    >>>;
    $tmpFile = "%TEMP%\~tempPS.ps1";
    writefile($tmpFile, $psContent);
    $items = trim(runret("""powershell.exe"" -ExecutionPolicy ByPass -File ""$tmpFile""", , 65001), <crlf>, "R");

    $menu = "";
    foreach($item, $items, <crlf>, "e") {
        $caption = gettoken($item, 1, "|");
        $path    = gettoken($item, 2, "|");
        $menu   .= $caption . "|" . $path . "|" . $path . <crlf>;
    }
    $sel = popupmenu($menu, 6:=<crlf>, 7:="|");
    if ($sel) { goto $sel; }
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60590
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?

Post by admin »

Cool hack! :tup:

bissettbd
Posts: 2
Joined: 11 Mar 2020 15:31

Re: How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?

Post by bissettbd »

OK, if I run the script where should I see the Quick Access folders appear?
Can it be set to run each time the program is started?
Thanks,

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

Re: How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?

Post by highend »

Normally at the current cursor position.

XY can be started with command line parameters.
E.g.: XYplorer.exe /script="show quick access folders.xys"
While the file would need to be in <xyscripts> when not called with full path
One of my scripts helped you out? Please donate via Paypal

Post Reply