Article View: adobe.scripting.indesign
Article #17108Re: coloor of none
From: Shane Stanley
Date: Sun, 06 Jul 2003 10:58
Date: Sun, 06 Jul 2003 10:58
19 lines
1016 bytes
1016 bytes
Kim,
You can save a lot of this confusion by storing a reference to the color in a variable, and using that:
tell application "InDesign 2.0.2"
tell document 1
set noColor to swatch "None"
...
set properties of text frame 1 to {fill color:noColor}
end tell
end tell
Shane
Technical Details
Message-ID:
<1de9ca4f.4@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9ca4f.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,f87c330ecc8da5c X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-06 04:07:46 PST From: "Shane Stanley" <sstanley@myriad-com.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: coloor of none Message-ID: <1de9ca4f.4@WebX.la2eafNXanI> Date: Sun, 6 Jul 2003 03:58:54 -0700 References: <1de9ca4f.-1@WebX.la2eafNXanI> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit