Welcome to the Mythicsoft Q&A site for:

- Agent Ransack
- FileLocator Lite
- FileLocator Pro

Please feel free to ask any questions on these products or even answer other community member questions.

Useful Links:

- Contact Us
- Help Manuals
- Mythicsoft Home
0 votes

Using the scripting feature I was able to successfully write a Containing text script using the JScript Engine. When utilized, the correct files are returned. However, the lines which contain the found text are not included on the Hits tab. Instead, it just says, "Unable to display hits for file" for all the files returned. Also, the Hits column is 0 for every file.

Is there a way to use a Containing text script and have the Hits tab correctly populated?

by (25 points)

1 Answer

0 votes

The current implementation of content scripting uses a single function isValidLine that returns a single boolean value true/false. This doesn't provide enough information for the Hits tab to highlight terms within the line.

I'll add a request to the Issue Tracker to add another method, eg. getLineHits, so that a script could provide term highlighting information.

by (28.6k points)
...