Skip navigation
laurenkusa
Currently Being Moderated

RoboHelp 9 EclipseHelpWithIndex.jsx script Error

Jun 26, 2012 5:46 PM

Hi All,

 

In the past, I was able to use the EclipseHelpWithIndex.jsx script with the modification:

 

function AddTopic(tNode)

{

     var keyName = tNode.attribute(NAME);

     var url = tNode.attribute(URL);

 

     var keyXML = XML(String("<entry keyword=\"" + keyName + "\"/>"));

     var topicXML = XML(String("<topic href=\"" + url + "\"/>"));

     keyXML.appendChild(topicXML);

 

     return keyXML;

}

 

But I have since changed from a Windows XP to a Windows 7 system.  I am running Robohelp 9 as Administrator.  When I run this script now, I see an error:

 

undefined is not an object Line 181, Column 1.

 

Line 181 is:

ecIndex.write(indexXML.toXMLString());

 

Any thoughts as to why this is happening?

 
Replies
  • Currently Being Moderated
    Jun 26, 2012 9:27 PM   in reply to laurenkusa

    In what version of RoboHelp were you using this script when it was working.

     

    what seems by your statement is either location to which you are writing is not writable or the index file is not a accessible.

     

    try placing the RoboHelp project in some non Win7 location (like folder in another drive- non OS drive) and running the script .

     

    Hope this might help

    Regards

    Ashish

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2012 12:36 PM   in reply to laurenkusa

    HI Lauren,

         Did you tried moving the project to Non OS drive and runing the script?

     

    Ashish

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2012 12:41 PM   in reply to laurenkusa

    Great to know that I was some help.

     

    thanks

    Ashish

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2012 6:25 AM   in reply to laurenkusa

    Just Mr. Bill trying to protect us from ourselves ;>)

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points