• 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
photoshop 7 and clipping paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

photoshop 7 and clipping paths


  • Subject: photoshop 7 and clipping paths
  • From: "Håvard, Inkognito" <email@hidden>
  • Date: Wed, 31 Jul 2002 11:54:56 +0200

I am trying to convert my old PhotoScripter scripts to work with Photoshop 7, but I can't figure out how to examine pahts, to be able to change flatness value etc.

This is a small snippet that worked with PhotoScripter/PS 5.5. It renames any clipping path and changes the flatness value to "none". Any idea on how can I rewrite this to work with Photoshop 7?

tell document 1 of application "Adobe Photoshop 5.5"
set antPaths to count paths
if antPaths > 0 then
repeat with nr from 1 to antPaths
if kind of (path nr) is clipping then
set name of path nr to "dyp"
set clip path to clipping path {path:path nr, flatness:0}
exit repeat
end if
end repeat
end if
end tell

Havard
_______________________________________________
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: Today's Question - poke a character in a string
  • Next by Date: Re: Any good way to print to PDF on OS X?
  • Previous by thread: Re: Today's Question - poke a character in a string
  • Next by thread: Starting Script via CRON?
  • Index(es):
    • Date
    • Thread