Page 1 of 1

locate the file , when click it from everything

Posted: 17 Apr 2020 20:20
by secrethcb
when click a filepath from everything(from https://www.voidtools.com), jump to the xyplorer ,
the Focus is not the file .
xyplorer has been set to the default file manager

Re: locate the file , when click it from everything

Posted: 17 Apr 2020 20:52
by highend
Options - General - Context Menu - Open Path
$exec("<path to XYplorer folder>\XYplorer.exe" /feed="::if $(exists$('%1'$) == 1$) ${ goto '%1'; $} else ${ goto gpc$('%1', 'path'$); selectitems gpc$('%1', 'file'$); $}; sel '+0'; focus;")

Re: locate the file , when click it from everything

Posted: 18 Apr 2020 06:16
by secrethcb
.oh,i will have a try ,thanks very much!

Re: locate the file , when click it from everything

Posted: 11 May 2020 07:16
by secrethcb
highend wrote: 17 Apr 2020 20:52 Options - General - Context Menu - Open Path
$exec("<path to XYplorer folder>\XYplorer.exe" /feed="::if $(exists$('%1'$) == 1$) ${ goto '%1'; $} else ${ goto gpc$('%1', 'path'$); selectitems gpc$('%1', 'file'$); $}; sel '+0'; focus;")
a simple script for "everthing" is $exec("<parent path>\XYplorer.exe" "%1") :appl: