Copy link to clipboard
Copied
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
}
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I don't encounter the problem if I run the force update command manually.
Which I guess pretty much indicates it's a bug.
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now