🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17906

Re: Very basic color question (AS)

#17906
From: John Darnell
Date: Wed, 07 May 2003 15:34
24 lines
1612 bytes
Okay, so with the hints you all gave me I figured this out: Fill color for the text frame turns out to be the background color. Fill color for the story in the text frame turns out to be the foreground color.

I also figured out that the color belongs to the document and not the text frame. This did not work:

tell application
tell document 1
tell page 1
tell text frame 1
   set MySwatch to swatch "Yellow"
   set fill color to MySwatch
end tell
end tell
end tell
end tell

Moving the "Set MySwatch" down to befor the "tell page" command did.

Is there a way to grab all the swatch names in the document?

Ole:

If by the explorer window you mean the results window, believe it or not I just discovered how to use it two days ago, which is one of the reasons the number of questions I have been asking has decreased.

Thanks, everyone, for contributing.
Technical Details
Message-ID: <1de90532.3@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de90532.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,402e84d5475a8923
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-07 08:37:45 PST
From: "John Darnell" <John.Darnell@Walsworth.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Very basic color question (AS)
Message-ID: <1de90532.3@WebX.la2eafNXanI>
Date: Wed, 7 May 2003 08:34:31 -0700
References: <1de90532.-1@WebX.la2eafNXanI>
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit