• 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
Re: applescript-users digest, Vol 3 #1 - 14 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Applescript & MYOB
  • Next by Date: Re: FMP question -- for Shane Stanley?
  • Previous by thread: Applescript & MYOB
  • Next by thread: Re: FMP question -- for Shane Stanley?
  • Index(es):
    • Date
    • Thread