photoshop 7 and clipping paths
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.