Hi,
I can't find this anywhere, so sorry if it was asked before. When I preview a text file, how can I find some text inside it?
To see where is the text that was found in a search... (or just in general, for that matter).
Thanks!
Find text in preview
Re: Find text in preview
There are several of us that have asked for this, but up until now it hasn't been a high priority for Don. I'm hoping that changes soon, as it would be VERY useful for me!Walrez wrote:I can't find this anywhere, so sorry if it was asked before. When I preview a text file, how can I find some text inside it?
To see where is the text that was found in a search... (or just in general, for that matter).
so another +1 on this!
-
PeterH
- Posts: 2826
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: Find text in preview
Currently you have to open the file with an editor or alike.
It seems that when Don thinks he has nothing of higher priority he also might simulate an editor.
One of the problems: many people with different high priorities...
Though at least there is one true point: you can search for a file with some contents - and can't view the location where it's found.
But I'm convinced: this will last a long time...
It seems that when Don thinks he has nothing of higher priority he also might simulate an editor.
One of the problems: many people with different high priorities...
Though at least there is one true point: you can search for a file with some contents - and can't view the location where it's found.
But I'm convinced: this will last a long time...
-
binocular222
- Posts: 1419
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: Find text in preview
To search for content and see where the found text is, I use File Locator instead of XY's built in search
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
Re: Find text in preview
Yeah use AgentRansack (FileLocator Lite - same program just different branding) with the ExternalSearch script and that should be good.
http://xyplorer.com/xyfc/viewtopic.php? ... ch#p100929
http://xyplorer.com/xyfc/viewtopic.php? ... ch#p100929
-
Stef123
Re: Find text in preview
Same here. Been using the pro version for a long time. Runs portable, you can nest searches, it will highlight the found search terms in different colors, and show their occurences on mini-map bars within file previews. Besides, the boolean regex make complex queries easy, even for an regex-illiterate like me.binocular222 wrote:I use File Locator instead of XY's built in search
To include labels and tags, however, you have to fall back on XY's search engine. I still have to figure out how to pass on a paperfolder list of these search result to FileLocator. It were easier to do it all in one step, of course, so yes, I also second the orginal request of this thread.
Re: Find text in preview
Weird, I posted a reply from home and can't see it at work...
Anyway, thanks for the answers.
I tried the script method. Installed a. ransack, ran the script, and I got in return a folder with the resulting files.
How can I see the contents and the search term inside of it?
Anyway, thanks for the answers.
I tried the script method. Installed a. ransack, ran the script, and I got in return a folder with the resulting files.
How can I see the contents and the search term inside of it?
-
Stef123
Re: Find text in preview
Because you answered here:Walrez wrote:Weird, I posted a reply from home and can't see it at work...
http://www.xyplorer.com/xyfc/viewtopic. ... 42#p117142
You cannot, afaik. Not by using the script, that is. You'd have to call up Ransack without the return-parameters, turning the search completely over to Ransack, out and away from XY.Walrez wrote:How can I see the contents and the search term inside of it?
Re: Find text in preview
Ah... I thought it was mentioned here because of the subject...Stef123 wrote:Because you answered here:Walrez wrote:Weird, I posted a reply from home and can't see it at work...
http://www.xyplorer.com/xyfc/viewtopic. ... 42#p117142
You cannot, afaik. Not by using the script, that is. You'd have to call up Ransack without the return-parameters, turning the search completely over to Ransack, out and away from XY.Walrez wrote:How can I see the contents and the search term inside of it?
I wonder if there's a way to retrieve the string that was specified for a search as a variable to use it inside a script.
Should I ask in the scripting sub-forum?
XYplorer Beta Club