Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-07-2013, 03:09 PM   PM User | #1
morph4763
New to the CF scene

 
Join Date: Mar 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
morph4763 is an unknown quantity at this point
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
morph4763 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:31 PM.


Advertisement
Log in to turn off these ads.