Skip to main content
Participating Frequently
August 22, 2011
Answered

"HH_GET_WIN_TYPE has not been specified" in Robohelp 9 HTML

  • August 22, 2011
  • 1 reply
  • 1961 views

Hi there. I know this error has been around before, but I have not found any solution to fix my problem. I imported a Robohelp x5 project into Robo 9 HTML, and everything seemed to import fine. I compiled the project, and everything works except for when I try to go to a topic by clicking on its TOC link. I then get the "hh_get_win_type has not been specified" error, and if I click on the message, it'll eventually go away and then the topic will correctly open. (Any links in the main frame work properly with no error message.) Obviously I need to fix this before sending it out. The specific window it mentions is not used in the project settings any more, so I just can't delete it. Does anybody have a suggestion for this? Thanks, Mark.

    This topic has been closed for replies.
    Correct answer Amebr

    Rats, that did not work. I had already specified the default window to be the one I wanted, but the output project keeps looking for the old one, when I click on anything in the TOC. And then it gives the error.

    I am going to just specify the new window name for every TOC entry, which will take some time, but it'll fix the problem I think.


    Okay, one more thought. There is a space to specify the default window for the TOC and Index. I think under the Advanced Settings Edit button in the screenshot posted previously. See if Default Window in the tabs in that dialog box have the incorrect window selected.

    1 reply

    Community Expert
    August 23, 2011

    Perhaps the TOC entries are still using the old window definition? The instructions are for RH6 but I assume RH7 will be similar.

    Right-click on a TOC entry and select Properties. Go to the Advanced tab. Does Window list the old window?

    If so, the easiest way to fix would probably be to open the hhc file in a text editor and do a search and replace on the old window name.

    wonkleAuthor
    Participating Frequently
    August 23, 2011

    Yes in the output help file, the advanced properties lists the "default window" as "X" where X is the window name that is not used any more, and the one that is causing the error.

    I searched the hhc file for this offending X name, and it's not there at all.

    For the TOC properties for each entry in the Robohelp project, I can see that the window to be used is "default" , which of course is X, which becomes the error. I tried changing one of these from the "default" window to the actual window name I am using (which is listed there as well as the deafult) and then the error does not show for that particular entry in the output TOC. The rest of the TOC entries are still using the default though, and causing the error. I suppose I can manually change each one.... but I'd like to know a better and quicker way. It does not appear that I can do a multi-edit for the TOC window properties. Or can I ?

    Community Expert
    August 23, 2011

    Another place this is set for the project is in the Single Source Layout. Is the Default Window field set to "Default" in that location also?