Answered
Extract the paragraph tags used in the TOC
Is there a way in Extendscript to extract the paragraph tags used in the TOC? I see them in the book's MIF as DeriveTag, but I don't see a property or method that would return them.
Is there a way in Extendscript to extract the paragraph tags used in the TOC? I see them in the book's MIF as DeriveTag, but I don't see a property or method that would return them.
I think this may be what you are looking for. Select the TOC in the book window and try this code:
#target framemaker
var book, bookComp;
book = app.ActiveBook;
bookComp = book.FirstSelectedComponentInBook;
alert (bookComp.ExtractTags);
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.