Skip to main content
Participating Frequently
August 10, 2021
Question

Using Scripts in RoboHelp 2020

  • August 10, 2021
  • 2 replies
  • 1125 views

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!

This topic has been closed for replies.

2 replies

Community Expert
August 10, 2021

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

Participating Frequently
August 10, 2021

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

 

Participating Frequently
August 10, 2021