Help needed with Show Find Results
Posted: 2023-03-16 03:25:36
I want to list all words in a specified character style. The manual gives search examples that open a window with a list of found terms, but I can't make that work for me. It's obviously something simple I haven't understood. My macro:
'AnyWord' is a PowerFind bubble from the Find/Replace dialog and I've applied the relevant character styling to it. The macro finds all the terms successfully but finishes by showing a window saying '0 matches in 0 documents'.
How should I use the Show Find Results?
Code: Select all
$doc = Document.active
$found = Hash.new
Find All "(AnyWord)", 'eau'
Show Find Results $found, "All Glossary Terms"
How should I use the Show Find Results?