I try to delete a subtopic in an index, like this for example :
var index = app.activeDocument.indexes ; var topic = index.topics.topics ; $.writeln(topic.name); topic.remove() ;
The last line throws an exception "Invalid object...".
It seems to work with a topic (index.topics) but not with a subtopic (index.topics.topics).
What is the correct method to remove a subtopic, please?
Thanks in advance.
Got the same problem.
Does anyone have an idea?
Looks like a bug to me. It appears to be impossible to delete a subtopic.