πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #229

Re: Insert a row into a table with applescript

#229
From: PsychoCat
Date: Fri, 27 Nov 2009 00:37
26 lines
1973 bytes
Hi bryan,

Is this all right with you?

tell application "Adobe InDesign CS2"
  tell document 1
    set the_frame to item 1 of selection
    tell table 1 of the_frame
      make new row at before first row
      make new row at after last row

      select first row
      delay 1
      select last row
    end tell
  end tell
end tell

On 11月25ζ—₯, εˆε‰1:48, "jupiterkan...@gmail.com" <jupiterkan...@gmail.com>
wrote:
> I have a table and I want to use Applescript to insert a new row at
> the top and the bottom of the table in Indesign CS2, but I can't
> figure out how. Β Any advice?
>
> -bryan
Technical Details
Message-ID: <930d5644-9e74-4cbf-bf00-6a11443ad6c7@u8g2000prd.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!u8g2000prd.googlegroups.com!not-for-mail
References: <238fcdfa-e3cd-414b-bf8e-1edbbd42ee94@x15g2000vbr.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: a938ebf930,d105201ce834898
X-Google-Attributes: gida938ebf930,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,UTF8
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!u8g2000prd.googlegroups.com!not-for-mail
From: PsychoCat <masahiro.asada@gmail.com>
Newsgroups: adobe.scripting.indesign
Subject: Re: Insert a row into a table with applescript
Date: Thu, 26 Nov 2009 16:37:47 -0800 (PST)
Organization: http://groups.google.com
Lines: 27
Message-ID: <930d5644-9e74-4cbf-bf00-6a11443ad6c7@u8g2000prd.googlegroups.com>
References: <238fcdfa-e3cd-414b-bf8e-1edbbd42ee94@x15g2000vbr.googlegroups.com>
NNTP-Posting-Host: 210.138.104.134
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1259282268 3938 127.0.0.1 (27 Nov 2009 00:37:48 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 27 Nov 2009 00:37:48 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: u8g2000prd.googlegroups.com; posting-host=210.138.104.134; 
 posting-account=Y4B_ewoAAAC5S0Wu90XYP7JFbmaprf6F
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; ja-jp) 
 AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9,gzip(gfe),gzip(gfe)