🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9747

Re: AS: Select table

#9747
From: jupiterkansas
Date: Fri, 21 Jul 2006 20:42
24 lines
1870 bytes
answering my own question...

instead of selecting the table contents, I just select the text frame
that contains the table, and then...

tell selection
  select table 1
end tell

almost too simple.


jupiterkansas@gmail.com wrote:
> I have an Applescript that formats a table in InDesign CS2, but you
> have to select the table before you run the script for it to work.
>
> How can I get Applescript to select the table for me?
>
> Seems like a simple problem, but the best I've done is "Select All"
> which only selects one cell.
>
> "Select Table" seems obvious but doesn't work.
> 
> Dazed and confused?
Technical Details
Message-ID: <1153514554.668259.264350@i42g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!i42g2000cwa.googlegroups.com!not-for-mail
References: <1151946849.839235.253320@b68g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ef7938981bb8dff4
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!i42g2000cwa.googlegroups.com!not-for-mail
From: "jupiterkansas@gmail.com" <jupiterkansas@gmail.com>
Newsgroups: adobe.scripting.indesign
Subject: Re: AS: Select table
Date: 21 Jul 2006 13:42:34 -0700
Organization: http://groups.google.com
Lines: 25
Message-ID: <1153514554.668259.264350@i42g2000cwa.googlegroups.com>
References: <1151946849.839235.253320@b68g2000cwa.googlegroups.com>
NNTP-Posting-Host: 208.35.133.11
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
X-Trace: posting.google.com 1153514559 8877 127.0.0.1 (21 Jul 2006 20:42:39 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 21 Jul 2006 20:42:39 +0000 (UTC)
In-Reply-To: <1151946849.839235.253320@b68g2000cwa.googlegroups.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: i42g2000cwa.googlegroups.com; posting-host=208.35.133.11;
   posting-account=gYIawQ0AAABKsLIhjsrKtESd3vQmBHt_