🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15103

Updating text column fixed width

#15103
From: Robert_Kyle
Date: Wed, 17 Dec 2003 23:41
5 lines
1290 bytes
I'm working on a script to place an item in the last column of a text frame. This item needs to be the width of that column, so I'm trying to use the "text column fixed width" of the text frame preferences.

The problem is the fixed width does not seem to automatically update if the column count has been modified by a script. If the user changes the column count by opening the Text Frame Options dialog, the value of the fixed width updates dynamically.

I suppose the workaround would be to do the math: Width of the text frame minus the total width of the gutters divided by the number of columns. I'm just wondering if anyone else knows of a way to force the text frame preferences to update.
Technical Details
Message-ID: <2ccefcd0.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f5f19f5857c3dfb2,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-17 16:07:46 PST
From: Robert_Kyle@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Updating text column fixed width
Message-ID: <2ccefcd0.-1@webx.la2eafNXanI>
Date: Wed, 17 Dec 2003 15:41:53 -0800
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit