RoboHelp Scripts
RoboHelp 8 introduced the scripting feature and came with various prepared scripts. From time to time various people, mostly the RoboHelp developers, have been kind enough to provide further scripts for functionality required by RoboHelp users on the Adobe RoboHelp forums.
Always make a backup of your project before running a script. Like a find and replace operation, they can make changes in seconds that would otherwise take hours or days. They can also wreck a project in seconds if something is not as anticipated. You run these scripts entirely at your own risk.
I have shown the RoboHelp version in anticipation of future versions of RoboHelp to indicate which version the script was designed for.
- It is possible that scripts designed for RoboHelp 8 will work in later versions and scripts for later versions will work in RoboHelp 8.
- It is also possible using a script in a different version will wreck your project. See the warning above and make a backup first.
To learn more about scripting, the help topic will start you off and there are links to more detailed resources. Click here.
Version |
Script |
Links |
Brief details from thread |
| Various | The following scripts are installed with RoboHelp 9. If you don't any of them in your list of scripts when viewed from Tools > Scripts you need to copy them from your RobHelp installation folder to your profile. Copy the required script(s) from
|
||
| Convert topic titles to search keywords | This script will append the topic title to the list of keywords and will not remove the existing keywords. This script is not tested. Test the script on a copy of your project. |
||
| Remove space after symbols | On upgrading a project you may find an extra space was added after every em dash. | ||
| Alt Text Updater | When you create a PDF using RoboHelp, the server path will be revealed to anyone hovering over an image. This did not occur in RoboHelp 7 if a screentip had been entered as RoboHelp used that to create Alt Text and Acrobat displayed the contents of that instead. In RoboHelp 8 and 9 the Alt Text is not created automatically. This script creates the Alt Text from the screentip. The instructions are in the forum thread. |
||
| Generate ePub outputs | A script to generate ePub format output. Using this script, you can now take your RoboHelp/FrameMaker/Word content to mobile devices and eBook readers. The link to download the script is in the blog. Also see Willam van Weelden's site for an amended script. Willam found some issues with the supplied script and amended it. Click here. |
||
Convert Related Links button to a See Also list |
The script file will traverse all the topics and snippet files, read all the related topics in the files and replace them with the hyperlinks for those topics. You need to do the following steps
You can also change the style of the hyperlinks created in the script file, look for the function AddHyperlinkInTopic in the script file. Here you can add what ever style class name in the hyperlinks. |
||
Custom popup resizer |
See Using RoboHelp 8 for more information about when to use this script. This script file will increase the width and height of custom popup by 12 for width and 20 for height. It is easy to customize the script based on your specific popup size requirements. Anyone who has installed 8.0.1 or 8.0.2 patch can use this script file. This script also updates the popup with a patched attribute so that the next time you run this script, it should not increase the size of popup again, as it was already patched. If you want to increase the size of popups again by some other amount, you have to set this variable bForceUpdateAll to true. |
||
Popup placement fixer |
See Using RoboHelp 8 for more information about when to use this script. Basically, the location of the pop up windows is incorrect when in the same topic there is dropdown text. This is a CHM only issue. Poster got:
PG got:
Update fixes the problem Eileen Palsson had where source code for popups was converted to output code in the source. |
||
Indexing based on styles |
This script was provided in response to the question: Is it possible to assign index entries using styles? For example I would like to only have words or phrases with a particular heading style display in the index.
|
||
Image resizer |
This script removes the dimensions of all images. They will then open at 100%. On opening a topic, the new size will be written into the code. It has the same result as the "Reset image" operation that can be executed from the image's context menu. This is not an Adobe scrip. It was created by Chashnikov and I have not seen any adverse comments. |
||
Show topics Ready for Review |
This script was provided in response to the question: I would like to be able to set the Status of a topic to "Ready for Review" and then have that status visible in the topic when it is published, so that I can send the generated help files to reviewers/testers and they can see which topics are ready for review/test. Is there an easy way to do this? |
||
Show topics that are not in a browse sequence |
The easy way to find out which topics have not been included in a browse sequence. |
||
Update FrameMake files when generating WebHelp from the command line. |
If any of the .fm files are changed, the changes are NOT propogated to the WebHelp because running the generate command from RHCL does not update the linked .fm files. |
||
Change image format |
If you need to change the format of images, follow the steps below. The script is set to convert .bmp in topics to .png but can be amended to other formats.
|
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.
Topic Revisions
![]()
Date |
Changes to this page |
| 10 Jun 2011 | Further scripts added plus list of RoboHelp 9 installed scripts. |
| 29 July 2010 | ePub script added. |
| 23 Mar 2010 | New Topic |
