0 Replies Latest reply on Jan 14, 2016 8:38 AM by ReactionAtWork

    Is it possible to access the current document contents using ExtendScript?

    ReactionAtWork Level 1

      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?