Copy link to clipboard
Copied
How can I start RoboHelp at the end of a FrameMaker script? Specifically I'd like to do that with <FM10_INSTALL_DIR>\Samples\ScriptsAndUtilities\Conditional Text\FM_Outputs_CondText.jsx.
Thanks to some tips from Willam van Weelden I figured this out
var runrobo = new File("C:\\scripts\\robohelp.bat");
runrobo.execute();
c:\scripts\robohelp.bat contains:
C:\Progra~2\Adobe\adober~1\RoboHTML\robohtml -x C:\scripts\robohelp.jsx
Copy link to clipboard
Copied
Thanks to some tips from Willam van Weelden I figured this out
var runrobo = new File("C:\\scripts\\robohelp.bat");
runrobo.execute();
c:\scripts\robohelp.bat contains:
C:\Progra~2\Adobe\adober~1\RoboHTML\robohtml -x C:\scripts\robohelp.jsx
Copy link to clipboard
Copied
It is also possible to directly send scripts to RoboHelp from FrameMaker using BridgeTalk. See Chapter 5 of the JavaScript tools guide. The major advantage of this approach is that the communications are bi-directional, so it is possible to know if RoboHelp has sucessfully launched or performed a specific scripted task.
Ian
Copy link to clipboard
Copied
Yes, I know that's theoretically possible, but I haven't been able to find a sample script showing how to do it, and my experiments were unsuccessful.