I get "Invalid option usage: x" when running this in RH10 -
"C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML/RHCL.exe" -x"C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML\presets\scripts\Output Generator with Glossary Restyling.jsx" -lWebHelp -oC:\[path] C:\[path].xpj
Also, will running this automatically change the output from the default "expanded text" to "popup text"? That is what I am trying to accomplish. I thought by doing it once locally from Tools > Scripts that it would "set" the SSL and output type but no luck. Thank you, in advance, for any help you can offer.
What are you trying to accomplish? You seem to mix up two concepts:
1. Calling the rhc tool for generating via batch.
2. Calling RoboHelp.exe to execute a script.
If you want to generate and call a script, have the script generate the output for you.
Sorry, I see how I might have confused you. I tested the script by running
it inside RH to see what it does. I liked it the output. So the next step
is to test with command line build, which is what we do for production. I
wanted to test the command line locally so that is what I sent in my post.
I don't understand 1) the error message or 2) how to tell it I want
"popup" as the dialog box gives me the choice when I run it locally.
I hope this makes more sense.
On Fri, Jan 4, 2013 at 12:51 AM, Willam van Weelden <
I understand what you are trying to accomplish. The problem is that the rhcl does not support scripts as far as I know.
The solution is to amend the call to call RoboHelp.exe with the script as a parameter (the help tells you the correct syntax). You then let the script handle creating the output and instead of rhcl.exe.
Thank you for your reply, Willam. The bottom of this page
there is a call: Robohtml.exe
This is the syntax that is not working for. I may have to give and call RH
On Tue, Jan 8, 2013 at 1:31 PM, Willam van Weelden <email@example.com
Exactly how do you call RH? Do you use a path for the script and are you in the correct folder of RH?
Try the following: In a batch file, first go to the installation directory and then call Robohtml.exe.
cd "Program Files\RoboHelp\Robohtml"
Robohtml.exe -x myscript.jsx