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

RoboHelp 9 EclipseHelpWithIndex.jsx script Error

New Here ,
Jun 26, 2012 Jun 26, 2012

Copy link to clipboard

Copied

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?

Views

950

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
Engaged ,
Jun 26, 2012 Jun 26, 2012

Copy link to clipboard

Copied

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

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
New Here ,
Jun 27, 2012 Jun 27, 2012

Copy link to clipboard

Copied

RoboAsh (Ashish)

On both systems, I was using Robohelp 9.

Lauren

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
Engaged ,
Jun 27, 2012 Jun 27, 2012

Copy link to clipboard

Copied

HI Lauren,

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

Ashish

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
New Here ,
Jun 27, 2012 Jun 27, 2012

Copy link to clipboard

Copied

Hi Ashish,

I just changed the permissions on the output folder nad was able to write successfully.  thanks for the tip.

I think Windows 7 does a great injustice to its users by making so many directories read-only.

Lauren

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
Engaged ,
Jun 27, 2012 Jun 27, 2012

Copy link to clipboard

Copied

Great to know that I was some help.

thanks

Ashish

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 ,
Jun 28, 2012 Jun 28, 2012

Copy link to clipboard

Copied

LATEST

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

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