There is no way from JavaScript to directly manipulate an Acrobat Index file. But if all you want is indexing information you can write custom code for collecting it with the doc.getPageNthWord() function. You can even format it into custom XML using the XMLData Object.
If you want to be able to edit a working Acrobat Index file you'll have to go another route, such as writing a custom plug-in or exteranl program.
If you want to be able to edit a working Acrobat Index file you'll have to go another route, such as writing a custom plug-in or exteranl program.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script