Find and update an Index using javascript
Hello, i'm trying to make a javascript script to find update an index but i'm stucked.
I'm using InDesign CS5.5 and the ExtendScript Toolkit 4.1.28
I have an indb file and many indd, I can locate the right file indd and open it with app.open.
I tried to look at indexes but they are always 0, I also tried to check textFrames to find the right one but without success.
I looked for a way to inspect the document to identify the structure but i can't find anythin better than randomly checking elements with the debugger.
I manually update the index selecting the textbox and then with Edit -> Update index
Can you help me to aumate it?
Thanks
