Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/robohelp/robohtml/WS98613C7C-EF5B-48e9-A91A-D2AABB882687.html
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Hi,
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.
Greet,
Willam
Copy link to clipboard
Copied
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.
Thank you,
Susan
*
*
On Fri, Jan 4, 2013 at 12:51 AM, Willam van Weelden <
Copy link to clipboard
Copied
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.
Greet,
Willam
Copy link to clipboard
Copied
Thank you for your reply, Willam. The bottom of this page
http://help.adobe.com/en_US/robohelp/robohtml/WS98613C7C-EF5B-48e9-A91A-D2AABB882687.htmlindicates
there is a call: Robohtml.exe
This is the syntax that is not working for. I may have to give and call RH
directly.
Thank you,
Susan Darling
On Tue, Jan 8, 2013 at 1:31 PM, Willam van Weelden <forums_noreply@adobe.com
Copy link to clipboard
Copied
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.
C:
cd "Program Files\RoboHelp\Robohtml"
Robohtml.exe -x myscript.jsx
Greet,
Willam