🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9157

How to resize the text frames based on the contents?

#9157
From: Raja Gejaraj
Date: Fri, 08 Sep 2006 06:45
17 lines
1323 bytes
Hello all,

I'm writing a JS to insert the id values in the beginnning of each Para, for that I need the following helps from you...

(1) I want to resize the text frames based on the contents, my contents are having only 5 to 6 characters like i0001...

If I modify the geometric bounds it showing error like below

"This value would cause one or more objects to leave the pasteboard."

(2) And also I need to insert the text frames with the id values in the right side for the 2nd column (for 2 column projects)

Pl. suggest.

Thanks in Advance,

G. Raja
Technical Details
Message-ID: <3bc18ec3.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.netcologne.de!newsfeed-fusi2.netcologne.de!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,9ecd95f08efd3512,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Raja Gejaraj" <r.gejaraj@spi-bpo.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.netcologne.de!newsfeed-fusi2.netcologne.de!news.buerger.net!open-news-network.org!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: How to resize the text frames based on the contents?
Message-ID: <3bc18ec3.-1@webcrossing.la2eafNXanI>
Date: Thu, 7 Sep 2006 23:45:44 -0700
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit