Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 114192

Re: "Error Number 2" in Indesign CS3 script

$
0
0

Hi,

...

Everytime I run a script in  Indesign CS3 I get the following error:

...

 

So, can you run a script in other Indesign versions with no errors?

 

 

...

102var TF = addPageWithTF(masterPage);
103TF.place(aFile);
...

Both lines use variables created outside of part of code you pasted here. Did you check their values (i.e. - debug breakpoint set and "DataViewer" opened in ESTK)

 

What is the result of function addPageWithTF() - a page or a textFrame?

 

Moreover:

You can add a second parameter to method TF.place(file, showingOptions), like:

 

TF.place(aFile, false);

 

Jarek


Viewing all articles
Browse latest Browse all 114192

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>