Skip to main content
Known Participant
October 8, 2009
Answered

Link to a topic in another project (in a new window)

  • October 8, 2009
  • 3 replies
  • 1140 views

When I make a link from a topic in project A to a topic in project B, i can´t change the hyperlink-options. So the topic from project B is showen in the same window as the topic from project A before. Is it possible to make it open in a new (second) window?

Sorry for my bad english.

Janine

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer RoboColum_n_

Hi Janine.

Unfortunately this is a limitation of links to a remote topic in another CHM. It works differently with other output formats (e.g. WebHelp).


Read the RoboColum(n) for a tips and tricks on Technical Communication Suite products.

3 replies

Inspiring
October 9, 2009

You can use a shortcut control to start up a new hh.exe process, feeding it the path to the help topic you want to call. Use the Hidden (for Scripts) form of the control, and place it at the end of the topic. Change your link to javascript:UniqueId0.Click() (where UniqueId0 is the ID attribute of the shortcut control) and it will run the shortcut when clicked.

But there is a bug with this in Adobe RoboHelp HTML 8, which you can find a discussion of over in the RoboHelp HTML forum. ARH8 omits the ID attribute, making it impossible to run the link. I worked around this problem by wrapping my object in javascript so that ARH8 cannot mess it up. The result looks like:

<script language="JScript" type="text/javascript">//<![CDATA[
  document.writeln('<OBJECT CLASSID="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"');
  document.writeln(' ID="UniqueId0"  TYPE="application/x-oleobject">');
  document.writeln('<PARAM NAME="Command"  VALUE="Shortcut">');
  document.writeln('<PARAM NAME="Font"  VALUE="MS Sans Serif,8,0,,">');
  document.writeln('<PARAM NAME="Item1"  value=",hh.exe,helpfile.chm::/topic.htm">');
  document.writeln('</OBJECT>');
//]]></script>

Alternatively, if having this link look like a button is OK with you, then you can just use the form of the control that makes a button and put it exactly where you want the link to be. This doesn't require the ID tag so should work in ARH8.

Captiv8r
Legend
October 9, 2009

Hi there

I'm really hoping everyone affected by this will please take a moment and report the bug to Adobe. I know I've reported it. But I'm just one person. If they only hear from me, they aren't likely to take it seriously and correct the issue.

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

RoboColum_n_
RoboColum_n_Correct answer
Legend
October 8, 2009

Hi Janine.

Unfortunately this is a limitation of links to a remote topic in another CHM. It works differently with other output formats (e.g. WebHelp).


Read the RoboColum(n) for a tips and tricks on Technical Communication Suite products.