🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8509

Re: Applying script changes character/paragraph style?

#8509
From: Linda_Ni
Date: Fri, 06 Oct 2006 22:31
12 lines
1304 bytes
Hi Dave,

Actually, my script is suppose to go into my tagged textframe, count the amount of characters. If the characters exceed the maximum allowed character, it's suppose to add a carriage return at the comma. For instance:

Johnny Smith, Computer Science

becomes:

Johnny Smith,
Computer Science

My script doesn't quite work properly yet. But what I noticed is that when I run the script in InDesign, it wipes out all my character/paragraph style that I had applied (which its not suppose to do). Can you give me a little help on that? Thank you!
Technical Details
Message-ID: <3bc1e4a7.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.x-privat.org!spool.x-privat.org!webcrossing
References: <3bc1e4a7.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fe9ac4a084ef676a
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Linda_Ni@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Applying script changes character/paragraph style?
Message-ID: <3bc1e4a7.1@webcrossing.la2eafNXanI>
Date: Fri, 6 Oct 2006 15:31:46 -0700
References: <3bc1e4a7.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed.x-privat.org!spool.x-privat.org!webcrossing