About compatibility to software "everything"
About compatibility to software "everything"
Hi everyone,
I am looking for setting to auto-select the search item opened from everything.
I searched around other website to get setting of script on "everything" that is
Method 1: To use double click on "everything" search item (for folder item only)
$exec("Path\XYPlorer\XYplorer.exe" "%1")
And
Method 2: To use right click "open path" on "everything" search item (for item other than folder, eg pdf, excel, work etc.)
$exec("Path\XYPlorer\XYplorer.exe" "$parent(%1)")
Above both method work to use Xyplorer to open items.
However, for method 2, it cannot auto-select the search item when it is opened from everything.
Then, I resume the default setting of everything and change the system default file manager to Xyplorer.
It is same result as using method 2.
Would anyone can help? (maybe the solution is pending for "Everything" to update their software to get more support on the command script and compatible to other file manager.)
I am looking for setting to auto-select the search item opened from everything.
I searched around other website to get setting of script on "everything" that is
Method 1: To use double click on "everything" search item (for folder item only)
$exec("Path\XYPlorer\XYplorer.exe" "%1")
And
Method 2: To use right click "open path" on "everything" search item (for item other than folder, eg pdf, excel, work etc.)
$exec("Path\XYPlorer\XYplorer.exe" "$parent(%1)")
Above both method work to use Xyplorer to open items.
However, for method 2, it cannot auto-select the search item when it is opened from everything.
Then, I resume the default setting of everything and change the system default file manager to Xyplorer.
It is same result as using method 2.
Would anyone can help? (maybe the solution is pending for "Everything" to update their software to get more support on the command script and compatible to other file manager.)
Re: About compatibility to software "everything"
Code: Select all
$exec("Path\XYPlorer\XYplorer.exe" /feed="::goto '%1'; sel '+0'; focus;")
One of my scripts helped you out? Please donate via Paypal
Re: About compatibility to software "everything"
I use the following for Explore path in Everything
$exec("C:\Tools\XYplorer\XYplorer.exe" "%1")
This also selects the item if used on a file in the Everything results.
But my normal usage is to search from inside of XYplorer and get the results in a Paper folder.
This script can search for names left mouse or content right mouse on a user defined button with (using the Everything 1.5 for content).
$exec("C:\Tools\XYplorer\XYplorer.exe" "%1")
This also selects the item if used on a file in the Everything results.
But my normal usage is to search from inside of XYplorer and get the results in a Paper folder.
This script can search for names left mouse or content right mouse on a user defined button with (using the Everything 1.5 for content).
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Re: About compatibility to software "everything"
Is it possible to open the search item in new tab?highend wrote: ↑30 Jun 2021 12:40Code: Select all
$exec("Path\XYPlorer\XYplorer.exe" /feed="::goto '%1'; sel '+0'; focus;")
Also, where can I get reference to write those script /feed="::goto '%1'; sel '+0'; focus;"
Anyway, this script work!! Thank you
Last edited by CloudJack on 30 Jun 2021 13:19, edited 1 time in total.
Re: About compatibility to software "everything"
I am not sure how to use script file on XYplorer. When I load the script and input search file name, nothing is on paper folder. (using Everything 1.4.1.1009)Horst wrote: ↑30 Jun 2021 12:46 I use the following for Explore path in Everything
$exec("C:\Tools\XYplorer\XYplorer.exe" "%1")
This also selects the item if used on a file in the Everything results.
But my normal usage is to search from inside of XYplorer and get the results in a Paper folder.
This script can search for names left mouse or content right mouse on a user defined button with (using the Everything 1.5 for content).
Everything.xys
Seem my step is wrong.
Re: About compatibility to software "everything"
Menu - Go - Go to Application Data FolderIs it possible to open the search item in new tab?
Switch into the "Scripts" subfolder there
Download the .xys attachment and place it there as
Code: Select all
Open path via Everything.xys
Code: Select all
$exec("C:\Tools\XYplorer\XYplorer.exe" /feed="::perm $$P_EVERYTHING_FILE = '%1'; load 'Open path via Everything.xys';")
Menu - Help - Contents and IndexAlso, where can I get reference to write those script /feed="::goto '%1'; sel '+0'; focus;"
Advanced Topics
Scripting, Scripting Commands Reference, Variables...
One of my scripts helped you out? Please donate via Paypal
Re: About compatibility to software "everything"
I guess you didn't customize the script for your Environment (Path to the Everything dir).CloudJack wrote: ↑30 Jun 2021 13:13I am not sure how to use script file on XYplorer. When I load the script and input search file name, nothing is on paper folder. (using Everything 1.4.1.1009)Horst wrote: ↑30 Jun 2021 12:46 I use the following for Explore path in Everything
$exec("C:\Tools\XYplorer\XYplorer.exe" "%1")
This also selects the item if used on a file in the Everything results.
But my normal usage is to search from inside of XYplorer and get the results in a Paper folder.
This script can search for names left mouse or content right mouse on a user defined button with (using the Everything 1.5 for content).
Everything.xys
Seem my step is wrong.
Also you must have the Everything Command-line Interface tool (es.exe) from Everything in the Everything folder
Download it from
https://www.voidtools.com/downloads/.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Re: About compatibility to software "everything"
Thank you again!highend wrote: ↑30 Jun 2021 13:49Menu - Go - Go to Application Data FolderIs it possible to open the search item in new tab?
Switch into the "Scripts" subfolder there
Download the .xys attachment and place it there asOpen path via Everything.xysCode: Select all
Open path via Everything.xys
Use this for Everything:Code: Select all
$exec("C:\Tools\XYplorer\XYplorer.exe" /feed="::perm $$P_EVERYTHING_FILE = '%1'; load 'Open path via Everything.xys';")
Menu - Help - Contents and IndexAlso, where can I get reference to write those script /feed="::goto '%1'; sel '+0'; focus;"
Advanced Topics
Scripting, Scripting Commands Reference, Variables...
I modified the script into this:
Code: Select all
perm $P_EVERYTHING_FILE;
tab("new", gpc($P_EVERYTHING_FILE, "path"));
foreach($item, $P_EVERYTHING_FILE, <crlf>, , "No files selected!") {
if(getpathcomponent($item, "ext",,4)) {
goto $item;
}
else {
selectitems $item;
selfilter getpathcomponent($item, "name"),4:=1;
}
}
unset $P_EVERYTHING_FILE;
Re: About compatibility to software "everything"
I found error if path contain character '
It cannot pass the path into XYplorer for running script.
It cannot pass the path into XYplorer for running script.
Re: About compatibility to software "everything"
Then do it this way
Why are you using a foreach loop?
Everything does not store all selected items in that permanent variable, it does send each selected item one by one via that $exec() call...
Code: Select all
$exec("C:\Tools\XYplorer\XYplorer.exe" /feed=|::perm $$P_EVERYTHING_FILE = "%1"; load "Open path via Everything.xys";|)
Everything does not store all selected items in that permanent variable, it does send each selected item one by one via that $exec() call...
One of my scripts helped you out? Please donate via Paypal
Re: About compatibility to software "everything"
It works perfect .highend wrote: ↑30 Jun 2021 18:49 Then do it this way
Code: Select all
$exec("C:\Tools\XYplorer\XYplorer.exe" /feed=|::perm $$P_EVERYTHING_FILE = "%1"; load "Open path via Everything.xys";|)
Oh...I am not sure how Everything works so that I assume all selected items stored in one variable.Why are you using a foreach loop?
Everything does not store all selected items in that permanent variable, it does send each selected item one by one via that $exec() call...
Re: About compatibility to software "everything"
I figure it out and it works to search file in XYplorer with everything ES.exeHorst wrote: ↑30 Jun 2021 14:33I guess you didn't customize the script for your Environment (Path to the Everything dir).CloudJack wrote: ↑30 Jun 2021 13:13I am not sure how to use script file on XYplorer. When I load the script and input search file name, nothing is on paper folder. (using Everything 1.4.1.1009)Horst wrote: ↑30 Jun 2021 12:46 I use the following for Explore path in Everything
$exec("C:\Tools\XYplorer\XYplorer.exe" "%1")
This also selects the item if used on a file in the Everything results.
But my normal usage is to search from inside of XYplorer and get the results in a Paper folder.
This script can search for names left mouse or content right mouse on a user defined button with (using the Everything 1.5 for content).
Everything.xys
Seem my step is wrong.
Also you must have the Everything Command-line Interface tool (es.exe) from Everything in the Everything folder
Download it from
https://www.voidtools.com/downloads/.
But it seem this method not supporting Chinese character in searching result.
For example, a pdf file is named 一二三.pdf.
I search ".pdf" on the script. The result cannot show the pdf file.
Then, I search "一二三" instead. The result shows the pdf file. However, the result type is "PDF" but "PDF document"
To more explain, if pdf file is named "abc.pdf". The result type will show "PDF document".
Re: About compatibility to software "everything"
My script is a stripped down version of much better scripts which also handle unicode.CloudJack wrote: ↑01 Jul 2021 20:02I figure it out and it works to search file in XYplorer with everything ES.exeHorst wrote: ↑30 Jun 2021 14:33I guess you didn't customize the script for your Environment (Path to the Everything dir).CloudJack wrote: ↑30 Jun 2021 13:13I am not sure how to use script file on XYplorer. When I load the script and input search file name, nothing is on paper folder. (using Everything 1.4.1.1009)Horst wrote: ↑30 Jun 2021 12:46 I use the following for Explore path in Everything
$exec("C:\Tools\XYplorer\XYplorer.exe" "%1")
This also selects the item if used on a file in the Everything results.
But my normal usage is to search from inside of XYplorer and get the results in a Paper folder.
This script can search for names left mouse or content right mouse on a user defined button with (using the Everything 1.5 for content).
Everything.xys
Seem my step is wrong.
Also you must have the Everything Command-line Interface tool (es.exe) from Everything in the Everything folder
Download it from
https://www.voidtools.com/downloads/.
But it seem this method not supporting Chinese character in searching result.
For example, a pdf file is named 一二三.pdf.
I search ".pdf" on the script. The result cannot show the pdf file.
Then, I search "一二三" instead. The result shows the pdf file. However, the result type is "PDF" but "PDF document"
To more explain, if pdf file is named "abc.pdf". The result type will show "PDF document".
Have a look on this thread
viewtopic.php?f=7&t=12054
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Re: About compatibility to software "everything"
Is there anything to be gained by fully quoting the last post in a thread?
No, it's just a waste of space!
No, it's just a waste of space!
Ralph
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)
Re: About compatibility to software "everything"
Try my current (personal!) version...
On my system it finds files with e.g. "漢字" in it just fine...
It has a few additional switches as well (things that I use very often):
On my system it finds files with e.g. "漢字" in it just fine...
It has a few additional switches as well (things that I use very often):
Code: Select all
d: = Only directories
f: = Only files
c: = content:<search term>
l: = Search only in current XY's path
One of my scripts helped you out? Please donate via Paypal