• 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
Drawing Lines in Photoshop CS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing Lines in Photoshop CS


  • Subject: Drawing Lines in Photoshop CS
  • From: Jason Bourque <email@hidden>
  • Date: Thu, 06 Jan 2005 21:55:10 -0500

Hello,

How can I draw lines in Photoshop CS with

This gets me a path in the paths palette, how do I make a layer and draw a
line?

Jason Bourque



tell application "Adobe Photoshop CS"
    tell document 1
        -- return properties of path item 1

        -- make new art layer at beginning with properties {fill
opacity:100.0, blend mode:normal, opacity:100.0, visible:true}

        make new path item at beginning with properties {name:"Shape 1
Vector Mask", entire path:{{class:sub path info, operation:shape add,
closed:true, entire sub path:{{class:path point info, anchor:{166.5, 24.5},
left direction:{166.5, 24.5}, right direction:{166.5, 24.5}, kind:corner
point}, {class:path point info, anchor:{167.5, 24.5}, left direction:{167.5,
24.5}, right direction:{167.5, 24.5}, kind:corner point}, {class:path point
info, anchor:{167.5, 782.0}, left direction:{167.5, 782.0}, right
direction:{167.5, 782.0}, kind:corner point}, {class:path point info,
anchor:{166.5, 782.0}, left direction:{166.5, 782.0}, right
direction:{166.5, 782.0}, kind:corner point}}}}, kind:vector mask}

    end tell
end tell


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >choose url problem (From: doug rogers <email@hidden>)

  • Prev by Date: Re: Printing PDFs doesn't?
  • Next by Date: FileMaker 7 AppleScript problems...
  • Previous by thread: choose url problem
  • Next by thread: automated response
  • Index(es):
    • Date
    • Thread