Monday, May 05, 2014

Deleting unused images in RoboHelp

You can view the list of unused image files in the RoboHelp project from: Tools>Reports>Unused Files. However, you cannot delete those files from the RoboHelp project. You can delete the file names from the Windows Explorer, which is a tedious work and prone to error. It becomes more challenging when the size of your project is big and files got filled up during several updates.

RoboHelp support java script to automate the task in the project. Don’t worry if you are not expert in java script. You can download the imagecleanup.jsx that is freely available at: https://www.wvanweelden.eu/product/image-cleanup
  1. Open the RoboHelp project for which you want to delete unused images.
  2. To open the Script Explorer pod, click View>Pods>Script Explorer.
    The 
    Script Explorer pod opens.

  3. Image: Add caption
  4.  In the Script Explorer pod, click the Import Script files  icon.The Select script files to import dialog box opens.
     
    Image: Select Script files to import
  5. Select the imagecleanup.jsx file and click OpenThe script is added in RoboHelp.
  6. To delete the unused images from RoboHelp, select the script and click the Run Selected script File  icon.
     

    Image: Choose action
  7. In the Choose action dialog box, click Remove unused imagesNote: Take backup of unused files as these images are deleted permanently from the location.  
    Image: Script Alert
  8. In the Script Alert dialog box, click Yes
  9. The Output View pod displays a list of all the images that are removed.

1 comment:

Unknown said...

Hi,

Can you please share this image-cleanup.jsx. This link of website shared doesnt work.