June 21, 2025 at 8:48 am #30296
Keymaster
The dialog box includes a Count Matches option. To achieve the same result in your macro, make sure to include the eeFindCount
flag.
Using the macro below will give you the same outcome:
nFound = document.selection.Find("d", eeFindNext | eeFindReplaceSelOnly | eeFindCount);