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

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

References: 
 >Photoshop CS3 and clipping paths (From: email@hidden)

  • Prev by Date: Photoshop CS3 and clipping paths
  • Next by Date: Re: How to select "Copy" from an Application's Edit Menu
  • Previous by thread: Photoshop CS3 and clipping paths
  • Next by thread: How do you update a tracks info in Itunes with applescript
  • Index(es):
    • Date
    • Thread