🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2201

Re: [JS CS3] Moving the insertion point to the next table cell

#2201
From: Peter Kahrel
Date: Mon, 05 Jan 2009 17:18
13 lines
933 bytes

if (app.selection[0].parent instanceof Cell) 
   { 
   row = app.selection[0].parent.parentRow.index; 
   app.selection[0].parent.parentColumn.cells[row+1].texts[0].select(); 
   }



The script should really also check whether you're you're in the last row of the table.

Peter
Technical Details
Message-ID: <59b76e03.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing
References: <59b76e03.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,25778a794a28e82b
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Peter Kahrel" <kahrel@kahrel.plus.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS CS3] Moving the insertion point to the next table cell
Message-ID: <59b76e03.0@webcrossing.la2eafNXanI>
Date: Mon, 5 Jan 2009 09:18:50 -0800
References: <59b76e03.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit