Skip navigation
Currently Being Moderated

ExtendScript hanging

Apr 17, 2012 4:22 PM

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

}

 
Replies
  • Currently Being Moderated
    Apr 17, 2012 11:54 PM   in reply to rlauriston

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points