Command Line Generation
Command line generation is available in Adobe RoboHelp. This can be done on any machine with a licensed copy of Adobe RoboHelp installed.
Syntax
The command line syntax is:-
RoboHelp.exe --cl “Input project absolute path” -o “output preset name” -p “output path” -l “log file path”
- The first parameter “--cl” indicates that RoboHelp.exe would be running in command line
- The second parameter is the absolute path of the RoboHelp project (.rhpj) file.
- The third parameter is -o OR --output followed by preset name in double quotes.
- The fourth parameter is optional. -p OR --path which is followed by the absolute folder path for the output. This parameter allows you to define a path other than what is defined in the preset. If not defined here, then the path in the preset will be used.
- The fifth parameter is optional. -l (lower case L) OR --log which is the absolute path of the log file with extension .html. If this parameter is not set, the log details will be created within the command prompt.
Examples
All parameters defined
"C:\Program Files\Adobe\Adobe RoboHelp 2020 RoboHelp.exe" --cl "C:\MyProjectFolder\MyProjectName.rhpj" -o "MyPresetName" -p "C:\MyoutputFolder" -l "C:\MyLogFilesFolder\MyProjectNameLog.html"
Mandatory parameters only defined
"C:\Program Files\Adobe\Adobe RoboHelp 2020 RoboHelp.exe" --cl "C:\MyProjectFolder\MyProjectName.rhpj" -o "MyPresetName"
The output will be generated to the path defined in the preset.
The log details will be created within the command prompt.
Generating Multiple Outputs
You can create a batch file to generate multiple outputs.
Donations
If you find the information and tutorials on my site save you time figuring it out for yourself and help improve what you produce, please consider making a small donation.