Copy link to clipboard
Copied
Scripts look like a powerful tool, but I could not find any documentation/guides on using them. I mainly want to be able to run JavaScript on all pages that were output so I could make changes to them, or make changes to any files within the output folder. I would do this as a Post Generation script.
If I could only know how I could access the output directory from within a script that would be a good start.
Thanks!
Copy link to clipboard
Copied
This is the only thing I was able to find and it's pretty vague: https://community.adobe.com/t5/robohelp/using-scripts-in-robohelp-2020/td-p/12307771
Copy link to clipboard
Copied
I meant to post this link: https://helpx.adobe.com/content/dam/help/en/pdf/RoboHelp-Scripting-Reference-2019.pdf
Copy link to clipboard
Copied
I feel like the scripting guide is for writing scripts to process the RH source files, rather than the output. I think the post generation script is supposed to be something like a .bat file using perl or node.js or something. So I think you would need to look at standard scripting languages for output manipulation.
This is also assuming you want to run the scripts before publishing the output, rather than scripts that will manipulate the content for the user at runtime.
However, I only know enough about scripting to get myself in trouble.
I suggest you try support, using the email address on this page (the email will get to Robohelp specialists rather than general Adobe help desk staff).
https://helpx.adobe.com/contact/enterprise-support.other.html#robohelp