🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18799

Re: Creating objects won't listen to "Properties:..." [AS]

#18799
From: Olav Kvern
Date: Tue, 18 Feb 2003 18:56
16 lines
1156 bytes
Chris--

Try:



set myBox to make rectangle with properties {geometric bounds:{myY1, myX1, myY2, myX2},stroke weight:1, stroke color: color "Black" of document 1} 




Works for me--does it work for you? The color "Black" belongs to the document, and unless you're in a "tell document 1" context, you need to provide the document reference. Does that make sense?

Thanks,

Ole
Technical Details
Message-ID: <1de7e876.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de7e876.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,5f85c984a949f4e
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-18 11:07:52 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-09!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Creating objects won't listen to "Properties:..." [AS]
Message-ID: <1de7e876.0@WebX.la2eafNXanI>
Date: Tue, 18 Feb 2003 10:56:49 -0800
References: <1de7e876.-1@WebX.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit