Article View: adobe.scripting.indesign
Article #18426changing properties of an image (AS)
From: mattb
Date: Mon, 24 Mar 2003 18:02
Date: Mon, 24 Mar 2003 18:02
25 lines
1421 bytes
1421 bytes
i'm having problems changing the properties of a placed image
set myTabSwatch to swatch "Tab 1"
try
set myTabTint to tint 1 whose name is "Tab 1" and tint value is 20
on error
set myTabTint to make tint with data {color:color "Tab 1"}
set tint value of myTabTint to 20
end try
set mySectionTab to make rectangle with properties {geometric bounds:{"-0p9.167", "-43p2.667", "4p6.3", "-29p1.667"}, fill color:myTabTint}
tell mySectionTab
set myTabImage to place "myTif.TIF" with properties {color space:cmyk, fill color:myTabSwatch}
set myTabprops to get properties of myTabImage
log myTabprops
end tell
would like to change the color of the image but the properties that show up in the event log haven't changed.
Technical Details
Message-ID:
<1de86e04.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,64f9abdfca131e76,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-24 10:07:46 PST From: mattb <tim@tim.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: changing properties of an image (AS) Message-ID: <1de86e04.-1@WebX.la2eafNXanI> Date: Mon, 24 Mar 2003 10:02:39 -0800 Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit