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?
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
North America
Europe, Middle East and Africa
Asia Pacific