Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InDesign rectangle stroke won't set to 0 via AS?



"T.J. Mahaffey" wrote:

> I can't seem to get a script create an InDesign rectangle with NO stroke.
> For example, this script ends up adding a 1pt stroke every time, despite my
> instructions.
[clip]
> =============
> tell application "Adobe InDesign CS2"
>   tell document 1
>       tell page 1
>           make rectangle with properties {geometric bounds:{0.75, 0.75, 2.125,
> 3.625}, stroke weight:0}
>       end tell
>   end tell
> end tell
> =============
> 
> Does anyone have any thoughts?


In the category of a "thought" (I don't use InDesign), the other property
values in that line are real numbers (and probably so in InDesign's UI
also).  Did you try using 0.0 as the stroke weight property value?

--
Gary

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >InDesign rectangle stroke won't set to 0 via AS? (From: "T.J. Mahaffey" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.