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
}
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
North America
Europe, Middle East and Africa
Asia Pacific