3 Replies Latest reply on Apr 26, 2006 2:08 PM by harpo_

    Can I script the robohelp compiler?


      I'd like to know if I can write a command line script to automate CHM file compilation. I am a developer so I'm not afraid of writing code. I just want to know if there's any way to connect to the robohelp (CHM) compiler via a script (Javascript, VBScipt, etc.) and compile my Robohelp help project automatically. Thanks!

        • 1. Re: Can I script the robohelp compiler?
          ElisaFnord Level 2
          Yes. You can.

          Because the .chm format is a Microsoft creation, the compiler is essentially free. Probably the best place to look is msdn. They should be able to give you the syntax.

          Note that this does not work for the RoboHelp-proprietary formats (WebHelp leaps to mind). I went all round Robin Hood's barn trying to explain the twin concepts of "proprietary" and "seat license" to one configuration team that absolutely insisted that they be able to build WebHelp nightly from the files I stashed in ClearCase. So stick with .chms if at all possible.

          • 2. Re: Can I script the robohelp compiler?
            Captiv8r Adobe Community Professional & MVP
            Hi all

            To add to what Elisa offered, keep in mind that you may lose RoboHelp specific functionality as well. Such as the ability to create help using conditional build tags combined with a conditional build expression.

            Cheers... Rick
            • 3. Re: Can I script the robohelp compiler?
              harpo_ Level 1
              RH can not be automated in any usual way. It does not accept whatever command line commands and does not provide whatever API that can be used for this purpose. Really unbelievable for the 'industry standard in help authoring' , but true.

              You can use a tool like Automate from unisyn.com or similar to start RH and then automatically click buttons, menu commands etc. to do what you need