Please can someone helpo me...
I have a grep find set up in a script and all works fine.
Just wondered if it's possible to get the page number of each instance returned by the grep find?
Thanks in advance.
Grep find typically returns a Text object. From there, you can get myFind.parentTextFrames.parentPage. Note that if the item is on the pasteboard, parentPage is null. Or if it extends across multiple text frames those frames might be on different pages.
Thanks for the help, I'll give that a go 👍
Thanks for the help, the linked discussion looks good 👍