Highlighted

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

Participant ,
Jan 14, 2016

Copy link to clipboard

Copied

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? 

Topics

HTML

Views

248

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Participant ,
Jan 14, 2016

Copy link to clipboard

Copied

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? 

Topics

HTML

Views

249

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation