Re: applescript-users digest, Vol 3 #1 - 14 msgs
Re: applescript-users digest, Vol 3 #1 - 14 msgs
- Subject: Re: applescript-users digest, Vol 3 #1 - 14 msgs
- From: Shane Stanley <email@hidden>
- Date: Wed, 01 Nov 2000 08:42:36 +1100
On 1/11/00 4:27 AM +1000, Dieter May, email@hidden, wrote:
>
You have first to make a path item and then to set the points.
>
Here is part of my script where I can set costum Cropmarks arround an object.
You're doing things the hard way -- it's easier to use the "entire path"
property. And if all your points will be corner points, all you need to
supply is a list of co-ordinate lists, like this:
tell application "Adobe Illustrator. 9.0"
tell document 1
make new path item at beginning with properties {entire path:{{0,
0}, {100, 0}, {100, 100}, {0, 100}}, filled:false, stroked:true, stroke
color:{gray value:100}, stroke width:2, closed:true, name:"Sample"}
end tell
end tell
--
Shane Stanley, email@hidden