The pageItems property of a Text Object will give you access to all
So if you've got a textFrame called f, for instance, you would do:
myAnchoredObjects = f.texts.everyItem().pageItems();
to get a list of all anchored objects.
I have an anchored object at the start position of textframe now want to insert some white space characters after that anchored object.
Please let me know how I could do this.
@Ariel – two of your comments did not make it to this thread. Maybe you commented by e-mail and used html formatting…
(Just wanted to make sure you are aware of this :-) )