In a review of RoboHelp 2015, Willam van Weelden said "...scripts have access to the currently opened document. Scripts can modify text selection in topics and copy and paste selected content."
I have tried to work out how to do this, but the RoboHelp object model seems to be very badly documented. Furthermore, the ExtendScript toolkit editor seems incapable of opening the full object tree in its Data Browser pane; it just locks solid for ages and then gives up. The ExtendScript Object Model Viewer is similarly useless, giving no useful information about data types etc.
Can anyone give me some clues to the objects I need to access the content of the currently opened document?