Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Automating an unstructured text selection into a new DITA document

$
0
0

Hi everyone,

 

Lately I've been thinking that it would come in handy to have a script that would allow me to select/highlight (using a mouse) a few words of text in an unstructured FM document, and then choose from a dropdown menu the kind of DITA doc (Task, Concept, or Reference) that I want to paste the text into. Upon making the selection, a new FM DITA page would be automatically generated with the copied text pasted in between its title tags.

 

Is the kind of automation I'm looking for within the realm of possiblity using ExtendScript? It seems like I might be able to cobble together some scripts I've found to take care of the copying & pasting and the dropdown menu, but I have yet to figure out how to write a script that will create and open a new document in FrameMaker.

 

Any thoughts?


Viewing all articles
Browse latest Browse all 3715

Trending Articles