Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Using Scripts in RoboHelp 2020

New Here ,
Aug 09, 2021 Aug 09, 2021

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!

TOPICS
Scripting

Views

43

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 09, 2021 Aug 09, 2021

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

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 09, 2021 Aug 09, 2021

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 09, 2021 Aug 09, 2021

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation