|
Problem with Paragraph count Adobe InCopy
I have a small script which runs fine in In-Design it runs through a 73 paragraph long tabbed list, splitting each paragraph and using and re-ordering various split details.
I need to run this script using In-Copy and at the moment it runs on the 1st paragraph and stops, the count returns a value of 1
yet in In-Design returns a value of 73.
var docNew=app.activeDocument;
var newTextFrame=app.selection[0];
var paraNum=newTextFrame.paragraphs.length;
Any help gratefully received.
Nick
Last edited by morph4763; 01-08-2013 at 01:45 PM..
Reason: Resolved
|