Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: Autorun script that adds elements to an XML file on open with Notify event

$
0
0

A couple of things: the new document may not be getting seen as the ActiveDoc. So you don't depend on this, change line 6 to

 

doWork (object);

 

and line 11 to

 

function doWork (doc) {

 

and remove line 12.

 

Also, make sure that your lines 16 and below are actually the correct syntax for doing what you want.


Viewing all articles
Browse latest Browse all 3715

Trending Articles