• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Subject: Re: Still trying to create a simple line in Illustrator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Still trying to create a simple line in Illustrator
  • Next by Date: Problem with text items and german umlauts
  • Previous by thread: Re: Aren't these books supposed to be out now?
  • Next by thread: Problem with text items and german umlauts
  • Index(es):
    • Date
    • Thread