Hello.
I want to output the text of index markers at the same position of the index markers, using InDesign JavaScript.
There are two ways are in my mind now.
1. Use Indexes Objects, looping through them.
In this way, you can get the contents text of Index markers, but you cannot get the position which you can use to insert the text.
Am I right?
2. Use .findText method with searching text "^I".
In this way, you can get the position, but you cannot cast the found character to Index Object, so you cannot get the Index text.
Am I right?
Is there any way to solve either one of those problems, or both?
Thanks to your kindness.