πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by jupiterkansas Tue, 24 Nov 2009 16:48
Insert a row into a table with applescript
#228
Author: jupiterkansas
Date: Tue, 24 Nov 2009 16:48
6 lines
1377 bytes
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
Re: Insert a row into a table with applescript
#229
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads