Subject: Re: Still trying to create a simple line in Illustrator
Subject: Re: Still trying to create a simple line in Illustrator
- Subject: Subject: Re: Still trying to create a simple line in Illustrator
- From: Pat Cannon <email@hidden>
- Date: Mon, 3 Nov 2003 11:57:47 -0600
I want to create a simple line in Illustrator from Point A {x,y} to
Point B {x,y}
I think I've exhausted the following syntax variations and had no luck:
(code) -- make path item at beginning with properties {entire
path:{{x1,y1}, {x2,y2}}} -- (end code)
Seems as though this should be pretty straight forward.
Any suggestions?
John,
This works for me (in OS 9):
-------------------
tell application "Adobe Illustrator 10"
tell document 1
make path item at beginning with properties {entire path:{{306,
396}, {406, 496}}}
end tell
end tell
-------------------
You have the Scripting Support plug-in in the Plug-ins folder, and
you're defining {{x1,y1}, {x2,y2}}, and you're in document tell block?
Hope this helps,
Pat
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.