How to search the contents of text frame anchored to the current story
Hi,
I have a multipage story with many anchored text frames. I'm trying to find a way to search the contents of all the anchored objects on my current page. I've only been able to do it by selecting all text frame objects on the current page and then search them. However, this include other text frames that may have a match I don't want.
However I'm not sure how this is even working as when I run
alert(app.activeWindow.activePage.pageItems.length)
the number of items returned is all the text frames on the page except the anchored ones.. in this case, 6 instead of 21.
Any ideas you have are appreciated!
Thanks!
Christopher
