Article View: adobe.scripting.indesign
Article #16756Re: 3 simple Questions to you from a beginner (AS)
From: Olav Kvern
Date: Thu, 31 Jul 2003 15:55
Date: Thu, 31 Jul 2003 15:55
27 lines
1354 bytes
1354 bytes
Dieter--
As I understand it, there are two problems:
1. The rectangle does not fit the imported graphic, and
2. The rectangle has a stroke.
Right? If that's so, then all you need to do is use something like this:
set myRectangle to make rectangle with properties {geometric bounds:{"35 mm", "135 mm", "100 mm", "197.3 mm"}, stroke weight:0, stroke color:swatch "None"}
tell myRectangle
--You'll need to provide a full path to the image in the following line:
place "photo.tif"
fit given center content
fit given frame to content
end tell
end tell
Thanks,
Ole
Technical Details
Message-ID:
<1dea21f8.4@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!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1dea21f8.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,9502e9288f24add2 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-31 09:08:13 PST From: "Olav Kvern" <okvern@adobe.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!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: 3 simple Questions to you from a beginner (AS) Message-ID: <1dea21f8.4@WebX.la2eafNXanI> Date: Thu, 31 Jul 2003 08:55:13 -0700 References: <1dea21f8.-1@WebX.la2eafNXanI> Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit