Page 1 of 1
How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?
Posted: 11 Mar 2020 15:45
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???
Re: How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?
Posted: 11 Mar 2020 16:27
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; }
Re: How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?
Posted: 11 Mar 2020 17:10
by admin
Cool hack!

Re: How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?
Posted: 11 Mar 2020 19:49
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,
Re: How Do I Add the Quick Access Folders in Win 10 to XYPlorer Default Tab View?
Posted: 11 Mar 2020 20:06
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