CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript programming (http://www.codingforums.com/forumdisplay.php?f=2)
-   -   Resolved Problem with Paragraph count Adobe InCopy (http://www.codingforums.com/showthread.php?t=285407)

morph4763 01-07-2013 03:09 PM

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


All times are GMT +1. The time now is 08:25 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.