🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19048

Re: Delete last character of cell in table -- How?

#19048
From: Olav Kvern
Date: Mon, 20 Jan 2003 23:18
21 lines
1147 bytes
Guys--

Right. Note, however, that the parent story of a cell is a text object, not a story object.

Try something like this:



--Given a cell "myCell", delete the last character if it is a return. 
if contents of character -1 of parent story of myCell is return then 
		tell character -1 of parent story of myCell 
			delete 
		end tell 
end if 




Thanks,

Ole
Technical Details
Message-ID: <1de7770b.7@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de7770b.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,111a8899c902bd04
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-20 15:40:09 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Delete last character of cell in table -- How?
Message-ID: <1de7770b.7@WebX.la2eafNXanI>
Date: Mon, 20 Jan 2003 15:18:33 -0800
References: <1de7770b.-1@WebX.la2eafNXanI>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit