TCS 4 (FM11/RH 10)
I'm new to RoboHelp and I'm trying to determine the feasibility of automating the project creation and conversion tasks via RH ExtendScript and command line options. Specifically, I want to:
I have some of these tasks working now via an external .bat file that I call from the command line, but the ExtendScript documentation is very short on real world samples. Does anyone have any specific examples or code samples that accomplish these tasks (particularly the import or linking of FrameMaker book files with the importFrameMakerDoc method)?
Thanks for your time.
You might want to investigate the direct Publishing feature out of FM for TCS users - that way you don't need to invoke RH through your batch file/scripting
ExtendScript can certainly do what you require. Unfortunately there is no abundance of information on using ExtendScript in RoboHelp. But what the script would really have to do would depend on your requirements: Do you want to always create a new project? Do you want to be able to add FrameMaker books to existing projects?
You may be interested in my introduction to ExtendScript in RoboHelp: http://www.adobe.com/devnet/robohelp/articles/robohelp-extendscript.html
And my extendscript library, with many handy functions to easy scripting: http://www.wvanweelden.eu/premium-content/robohelp-extendscript-library