robohelp 2022 build script
After building in Robohelp 2022, I want to copy all files in the folder I specified to the build folder. Are there any js script examples? And is there a special environment variable for the Robohelp build location?
After building in Robohelp 2022, I want to copy all files in the folder I specified to the build folder. Are there any js script examples? And is there a special environment variable for the Robohelp build location?
I realize this topic is a year+ old, however.... if you are comfortable with the Windows command line and batch files...
You can use a command-line scripting/batch file to build the Robohelp content, then add a command-line command like Robocopy to move the files.
Robohelp command line (2020): https://helpx.adobe.com/robohelp/using/generate-output.html?x-product=Helpx%2F1.0.0&x-product-location=Search%3AForums%3Alink%2F3.6.3
Robocopy help: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy
example:
rem batch file to build output and copy files
"C:\Program Files\Adobe\Adobe RoboHelp 2020\RoboHelp.exe" --cl "C:\path\to\project\project.rhpj" -o "preset" -l "C:\path\to\log\file\log.html" -p "C:\path\to\output\folder"
Robocopy <from> <to> *.* /z /s /unilog:C:\path\to\copy\log\textfile.txt
I have not tested this but I've done similar before. Be careful with Robocopy, it's great for copying but can also delete i you are not careful with switches. Check the logs each time to be sure of what it did.
__PRESENT
__PRESENT
__PRESENT
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.