External search with Agent Ransack & FileLocator (Pro)
-
- Posts: 177
- Joined: 01 Jan 2016 18:59
Re: External search with Agent Ransack & FileLocator (Pro)
Just tried the script with Agent Ransack and that application returns the error:
"Command line flag '-lee' is not valid."
"Command line flag '-lee' is not valid."
Re: External search with Agent Ransack & FileLocator (Pro)
Code: Select all
v2018.03.04 Build 10.07
• Fixed: Detection for $searchEngine and available options could easily fail
if the application was installed to "A-Z:\Program..." because of the
simple check for "pro". Using a regular expression now
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 177
- Joined: 01 Jan 2016 18:59
Re: External search with Agent Ransack & FileLocator (Pro)
Thanks for the quick fix! It worked.
Re: External search with Agent Ransack & FileLocator (Pro)
Code: Select all
v2018.05.12 Build 10.08
• Added: Support for the command line search tool "flpsearch.exe" (part of
FileLocator Pro!). Result: Drastically improved search time(s)
• Added: -ol 0 support (improves search time and reduces output file size)
• Added: Indexed searches. You have to create your indexes from the GUI of
FileLocator Pro (Menu - Tools - Index Manager...)! WARNING: DO
NOT USE SPACES or other non-latin characters for the name of an
index!!! Use names like: "Drive_C", "Documents", "Office_Docs",
etc. If necessary you can update an index from the script's GUI,
by setting the necessary checkbox ("Use index" must be checked
as well for this to work!). Be aware that updating indexes can
take a whole lot of time depending on where your files are stored
(e.g. on a normal HDD instead of a SSD) and how many need to be
indexed...
• Added: All configuration options are now stored in an .ini file with the
same name as the script (and in the same directory)
• Added: "Update settings" in the GUI. When checked all options are written
to the .ini file. All options are repopulated when the script is
invoked next time!
• Added: "Reset form" in the GUI. Sets all options back to standard
• Changed: Improved $listFiles regex filtering
• Changed: If there are more paper folder files than "PaperFilesLimit"
allows, the oldest ones are automatically deleted up to
PaperFilesLimit - 1
One of my scripts helped you out? Please donate via Paypal
Re: External search with Agent Ransack & FileLocator (Pro)
Hi
Question I get different results when i use External search with FileLocator (Pro) and the standalone version.
When I use the FileLocator (Pro standalone version I get almost 100 more results.
I use the same search terms so am a bit baffled.
Any ideas
Question I get different results when i use External search with FileLocator (Pro) and the standalone version.
When I use the FileLocator (Pro standalone version I get almost 100 more results.
I use the same search terms so am a bit baffled.
Any ideas
Re: External search with Agent Ransack & FileLocator (Pro)
Hi highend,
2 feedbacks:
1) When using Agent Ransack (not the pro version), then $html_IndexUse, $html_IndexName and $html_IndexRefresh are shown as variable names at the top of the form (overlapping with the other content).
2) The help link does not work (nothing happens). This might be an issue with XY itself?
Regards, S.
2 feedbacks:
1) When using Agent Ransack (not the pro version), then $html_IndexUse, $html_IndexName and $html_IndexRefresh are shown as variable names at the top of the form (overlapping with the other content).
2) The help link does not work (nothing happens). This might be an issue with XY itself?
Regards, S.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
Re: External search with Agent Ransack & FileLocator (Pro)
Edit the code (by inserting three lines):
Don't know why the link doesn't work anymore...
Code: Select all
// For all other (e.g. Agent Ransack)
} else {
$html_IndexUse = "";
$html_IndexName = "";
$html_IndexRefresh = "";
...
One of my scripts helped you out? Please donate via Paypal
Re: External search with Agent Ransack & FileLocator (Pro)
Thx for the quick response.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
Re: External search with Agent Ransack & FileLocator (Pro)
Hello,
When running the v2018.05.12_Build_10.08 (latest i think) version of ExternalSearch, I get the error:
when the script executes line 255:
My version of XYplorer is 25.40.0400 pro (latest i believe) and my system is Win10 64
Here is a printscreen of the error message generated by XYPlorer :
Finally, i have another setup on an other desk PC and it works just fine, but i use my laptop more at the moment.
Any way, if you can help me that would be great.
thank you.
When running the v2018.05.12_Build_10.08 (latest i think) version of ExternalSearch, I get the error:
Code: Select all
The system cannot find the file specified.
(C:\Users\denis\system\AppData\Local\Temp\~search_AR.txt)
Code: Select all
$content = readfile($outputFile);
Here is a printscreen of the error message generated by XYPlorer :
Finally, i have another setup on an other desk PC and it works just fine, but i use my laptop more at the moment.
Any way, if you can help me that would be great.
thank you.
Re: External search with Agent Ransack & FileLocator (Pro)
Is this a new problem (on the notebook) or did it work before?
Find the upper of both lines in the script, place the lower line under it above that (same indentation)
Execute the script, click the "Search" button
The "Stepping through a Script" window pops up
In the lower part you'll see the full resolved part of the currently executed line.
01. Right click on these lines, "Copy all items"
Post them here
02. Open a command prompt and execute the real line of it (the one with Agent Ransack / File Locator Pro or flpsearch.exe) inside of it.
Any output in the command prompt?
Is the temporary file created now?
Code: Select all
if (regexmatches($searchEngine, "flpsearch\.exe")) {
step;
Execute the script, click the "Search" button
The "Stepping through a Script" window pops up
In the lower part you'll see the full resolved part of the currently executed line.
01. Right click on these lines, "Copy all items"
Post them here
02. Open a command prompt and execute the real line of it (the one with Agent Ransack / File Locator Pro or flpsearch.exe) inside of it.
Any output in the command prompt?
Is the temporary file created now?
One of my scripts helped you out? Please donate via Paypal
Re: External search with Agent Ransack & FileLocator (Pro)
=> It worked before, i installed/uninstalled a software called DirectFolder 4.2 de codeSector, maybeIs this a new problem (on the notebook) or did it work before?
it messed with the system, but problably not, anyway i don't know.
=> DoneFind the upper of both lines in the script, place the lower line under it above that (same indentation)
=> DoneExecute the script, click the "Search" button
The "Stepping through a Script" window pops up
In the lower part you'll see the full resolved part of the currently executed line.
01. Right click on these lines, "Copy all items"
Post them here
Code: Select all
snipped...
=> Actually, when i launched the script with the 2 step lines added it worked, i obtained a result.02. Open a command prompt and execute the real line of it (the one with Agent Ransack / File Locator Pro or flpsearch.exe) inside of it.
Any output in the command prompt?
Is the temporary file created now?
I removed them now and it is still working.
I quit XYplorer and start it back, i run script and it works again, so i guess the problem is resolved.
I'm not sure why but the adding and testing with the 2 step lines did the trick.
Thank you very much for the very quick answer and the simple quick fix.
Have a great day or night
Denis Villeneuve
Edit : I'm going to restart the computer to see if still works as this is somehow quite weird.
=> Yes it still works, problem solved.