🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #10149

Re: Iterate thru selected rows of a table

#10149
From: Martin Fischer*
Date: Fri, 07 Jul 2006 05:33
24 lines
1244 bytes
Hello Robert,

ah, that helps a lot!
Fantastic.

In JS it's
myAddrStart = app.selection[0].cells[0].name.split(":");

Thank you very much.

@Dave
In your "tableColWidthSqueezeL.jsx" I could locate

var Lcol = Number(cells[j].split(":")[0]);

I think that you did solve your problem at this point.

But there is something other that I don't understand:
What is this and what is this for?

var result = {Lcol:Number.POSITIVE_INFINITY,Rcol:Number.NEGATIVE_INFINITY}

Thanks
Martin
Technical Details
Message-ID: <3bc0d3f4.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing
References: <3bc0d3f4.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,5a6e15a0faa4778e
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Martin Fischer*" <martin.fischer@online.de>
Newsgroups: adobe.scripting.indesign
Subject: Re: Iterate thru selected rows of a table
Message-ID: <3bc0d3f4.3@webcrossing.la2eafNXanI>
Date: Thu, 6 Jul 2006 22:33:58 -0700
References: <3bc0d3f4.-1@webcrossing.la2eafNXanI>
Lines: 25
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!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing