🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18266

[VB] setting Paragraph.Justification fails

#18266
From: Antti Tuuri
Date: Fri, 11 Apr 2003 15:30
16 lines
1162 bytes
Hi,

I'm trying to set the horizontal justification of table cells, but my script fails (unspecified error) if I don't run it from the scripts-palette.

Can anyone see what I'm doing wrong or know an alternative way of doing the task?

For Each column In table.Columns
 For Each cell In column.Cells
  For Each parag In cell.Paragraphs
   parag.Justification = idCenter
  Next
 Next
Next

Thanks,
Antti
Technical Details
Message-ID: <1de8b381.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!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,365feaa54ddea644,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-11 08:38:23 PST
From: "Antti Tuuri" <antti.tuuri@canter.fi>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: [VB] setting Paragraph.Justification fails
Message-ID: <1de8b381.-1@WebX.la2eafNXanI>
Date: Fri, 11 Apr 2003 08:30:30 -0700
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit