I recently upgraded to the anniversary edition (version 25.00.0.68) and tried out the new "Filter Lines" feature in "Find and Replace." I was able to show only the lines with the text listed in the "find what" field, but I want to copy just those lines into the clipboard to paste into another application. When I try copying just the displayed lines, the entire contents of the file is placed into the clipboard instead. As a workaround, I managed to bookmark each of the resulting filtered lines, copy all bookmarked lines to the clipboard, and paste it into the external application. However, manually bookmarking the lines is not feasible when there is a large number of results. Also since I would ultimately like to put this process into a macro, it poses a challenge as the number of lines needed to bookmark is unknown.
What is the best way to manually copy only the filtered lines resulting from the search to the clipboard, and is there any recommendation on how I might script this process it into a macro?
Thank you in advance for any advice!
BSOD76
Supporting information:
Here is an example of the original file being searched:
Desired Results ultimately copied to the clipboard to paste in an external application:
What is the best way to manually copy only the filtered lines resulting from the search to the clipboard, and is there any recommendation on how I might script this process it into a macro?
Thank you in advance for any advice!
BSOD76
Supporting information:
Here is an example of the original file being searched:
Code: Select all
<Redacted Text>
RECORDS PROCESSED: 14
RECORDS UPDATED: 14
<Redacted Text>
RECORDS PROCESSED: 15
RECORDS UPDATED: 15
<Redacted Text>
# SELECTED 403
NOW PROCESSING...
400 PROCESSED
RECORDS PROCESSED: 403
RECORDS UPDATED: 403
<Redacted Text>
NOW PROCESSING...
800 PROCESSED
RECORDS UPDATED: 879
Code: Select all
RECORDS UPDATED: 14
RECORDS UPDATED: 15
RECORDS UPDATED: 403
RECORDS UPDATED: 879