Skip to main content
Inspiring
Apr 17, 2012 11:22 PM UTC
Question

ExtendScript hanging

I've got a script (discussed in http://forums.adobe.com/message/4297510) that updates FrameMaker source in RoboHelp.

It works, but it's hanging due to a "The font information for your system has changed" error in FrameMaker. It looks like if FrameMaker is not open, RoboHelp changes the printer from Adobe PDF to WebWorks Rasterizer. If I have the FrameMaker book open and the correct printer selected, the script completes properly.

Any suggestions other than calling Adobe support?

var projectPath = "<path><.xpj file name>";

main();

function main()

{

        if(projectPath == "")

        {

               //Error!. Quit RoboHelp

               alert("Project path is not defined. \nPlease update the 'projectPath' variable in the script.");

               RoboHelp.quit();

        }

        RoboHelp.openProject(projectPath); //Open the project

        RoboHelp.project.updateAll(true); //Update all linked documents (pass true for Force update)

        RoboHelp.closeProject(); //Close project

        RoboHelp.quit(); //Quit RoboHelp

}

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Willam van Weelden
Inspiring
Apr 18, 2012 6:54 AM UTC

Hi,

As far as I can make out from what you say, the problem is not in the script but in FM or the RH/FM integration. Can you manually force update the FM books that are linked in your RoboHelp project? The script does no more than simply force update all linked documents. And this *should* be the same as manually updating the linked documents.

Greet,

Willam

Translate
Inspiring
Apr 18, 2012 4:00 PM UTC

I don't encounter the problem if I run the force update command manually.

Which I guess pretty much indicates it's a bug.

Translate
Inspiring
Apr 18, 2012 5:31 PM UTC

Never mind, the problem is that the default printer somehow got changed from Adobe PDF to WebWorks Rasterizer. Odd that that wasn't uninstalled along with WebWorks.

Translate