Creating shapes in Illustrator
Creating shapes in Illustrator
- Subject: Creating shapes in Illustrator
- From: Ken Tozier <email@hidden>
- Date: Sat, 6 Oct 2007 19:22:02 -0400
Hi
I'm trying to create an oval on an Illustrator 10 document and am
getting a "data is the wrong type" error
Here's the script
set dotRadius to 3
tell application "Adobe Illustrator 10"
tell document 1
set ellipseBounds to my EllipseBoundsForPoint(0, 0, dotRadius)
set e to make ellipse ellipseBounds
end tell
end tell
on EllipseBoundsForPoint(inX, inY, inRadius)
return {inY + inRadius, inX - inRadius, inY - inRadius, inX + inRadius}
end EllipseBoundsForPoint
I tried every coersion I could throw at it "as fixed
rectangle" (which is what the dictionary claims Illustrator is
looking for), individually coercing each item to a fixed, surrounding
the fields with both "{ }" and "[ ]," appending "mm" to each field.
nothing works.
Does anyone know how to create shapes in Illustrator?
Thanks for any help
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden