• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How do I print a topic using skin button?

Explorer ,
May 14, 2013 May 14, 2013

Copy link to clipboard

Copied

I have tried achieving this using the toolbarscripts01.js created by Willem Van Weeden on Peter Grainge's site. I've implemented .js in the skin for use with PDFs before, so I'm pretty sure I'm doing it right, but on click, nothing happens, when it should print. Script and instructions can be found here.

http://www.grainge.org/pages/authoring/twisty/twisty.htm

I'm using RH10 and outputting WebHelp.

I should also mention that I first tried the method called Print Button for WebHelp on this page, but it didn't work either.

http://www.grainge.org/pages/snippets/snippets.htm#print

Has anyone else successfully created a print topic button in the skin nav bar? Any suggestions for alternatives or what I might be doing wrong?

Views

536

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 14, 2013 May 14, 2013

For now duplicate what is in the download and don't use a custom image. Logic dicatates there has to be a difference and you need to avoid any you know about.

Have you added the js file to baggage?

Create a brand new project and go through it line by line. If that fails, see the Contact page on my site and send the new project.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Votes

Translate

Translate
Community Expert ,
May 14, 2013 May 14, 2013

Copy link to clipboard

Copied

Neither of the scripts would be there unless they had been tried first.

The first one has a Rh project set up that you can download. First please try that and confirm that it is working there.

Are you testing on generated output rather than preview?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 14, 2013 May 14, 2013

Copy link to clipboard

Copied

I just compared the project files from the download against what I had done in my own project. They are identical. The only difference was that I had chosen a custom image. So I chose none for image and just used text, as in the example project. But the results were the same.

The project download does work when I generate output. RH10 upgraded the project files for me when I opened the project.

I am testing on generated output and not on preview.

I don't know what I could be doing wrong. I see nothing different

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 14, 2013 May 14, 2013

Copy link to clipboard

Copied

For now duplicate what is in the download and don't use a custom image. Logic dicatates there has to be a difference and you need to avoid any you know about.

Have you added the js file to baggage?

Create a brand new project and go through it line by line. If that fails, see the Contact page on my site and send the new project.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 14, 2013 May 14, 2013

Copy link to clipboard

Copied

And are you tesing locally installed WebHelp on Chrome? Chrome will block that button locally too. (Even with RH10.)

Greet,

Willam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 14, 2013 May 14, 2013

Copy link to clipboard

Copied

LATEST

Peter, you found the problem. I had copied the js file into the directory instead of adding it to the baggage files via RH UI. Thanks for catching that. A good lesson to learn for other future work, too.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp