Can “search hits in context” be exported for the found records?
With the summary of course.
I see it can be copied from the Inspector.
I don’t see anything in the scripting dictionary that reveals the info displayed in the Inspector.
I have found:
Discovery of an interesting script and its application in research (experimental only!)
I found this thread, IMHO the value of this script in research might have been overlooked…
The script is originally intended for single word OR for more complex regex. But I find that any simple phase with more than 2 words can also yield a pretty narrowed-down outcome. I modify the script a tiny bit to include the name of item for each hit, in which can be useful if wiki-link is enabled. There are much more modifications that can be made…
Disclaimer 1: experimental, can’t guarantee that i…
Exporting search results with context
I’d like to do something, but don’t know if its possible with DTPO or some scripting:
imagine I’ll do a search, get several results; I select one of the results (eg. a PDF document) and I visualize it inside DTPO with the search terms highlighted in orange;
the question: can I export (to txt for eg.) the parts of the document near the highlighted word? For example, 5 words before and 5 after?
Imagine I search for “ipsum” inside a document with the following text:
Etiam vitae arcu volut…
Note: cgrunenberg Mar '17 A future release will support this.
Is it the future yet?
Can anyone point me towards a solution?
Thanks!
The search results in the Search inspector are not accessible via scripting. Copy and paste, copy and Comnand-N, or drag and drop are the available options.