Re: Photoshop CS3 and clipping paths
Re: Photoshop CS3 and clipping paths
- Subject: Re: Photoshop CS3 and clipping paths
- From: "EU - Luca Pozzato" <email@hidden>
- Date: Wed, 09 Jan 2008 10:21:35 +0100
-----Original Message-----
From: email@hidden
To: email@hidden
Date: Tue, 8 Jan 2008 19:11:14 -0800
Subject: Photoshop CS3 and clipping paths
> OK, this is making me crazy. I need to move a path from one document to
> another version of that document. I can't seam to get the darn thing
> out
> of the one and into the other. I can get all kinds of info, I can even
> make a new path with the name of the old path in the new document but
> the
> path just wont move. Has anyone had any success doing what should be a
> simple action?
>
> part of my script, the PS part looks like this
>
>
>
> tell application "Adobe Photoshop CS3"
> activate
> set display dialogs to never
>
> open theFilea
> set docRefA to the current document
> set bob to the properties of path item 1 of current
> document
> open theFileb
> set docRefB to the current document
> set newpath to make path item in current document with
> properties {bob}
> end tell
>
>
hi Dan, this should work
(all properties for path item contains classes that are read only)
set theFilea to "Mydisk:Users:User:Desktop:A.psd" as alias
set theFileb to ""Mydisk:Users:User:Desktop:B.psd" as alias
tell application "Adobe Photoshop CS2" --tested on CS2
activate
set display dialogs to never
open theFilea
set docRefA to the current document
--set bob to the properties of path item 1 of current document -- instead of this use the
following
set mypath to the entire path of path item 1 of current document
set myname to the name of path item 1 of current document
open theFileb
set docRefB to the current document
set newpath to make path item in current document with properties {name:myname, entire
path:mypath}
--set bob to the properties of path item 1 of current document -- just to verify all
properties
end tell
Ciao
Luca Pozzato
--Graphic designer & prepress consultant
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden