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

Re: Photoshop and CS3


  • Subject: Re: Photoshop and CS3
  • From: "EU - Luca Pozzato" <email@hidden>
  • Date: Wed, 09 Jan 2008 19:03:36 +0100

> Luca, et. al.
>
> This gives me the same result in CS3. I have worked on this and I can
> do
> the following. Sometimes the path actually gets pasted in. 2 out or 20.
> First 2 of course. Others it does not. It is in the  clip board and if
> I
> choose paste from the menu or do a command v, well it drops right into
> the
> document. Does anyone have any idea why this is. This is actually much
> nicer then chasing properties. I which I would have gotten to this
> solution sooner.
>
>         tell application "Adobe Photoshop CS3"
>                 activate
>                 set display dialogs to never
>
>                 open theFilea
>                 set docRefA to the current document
>                 tell current document
>
>                         get name of path item 1
>                         get class of path item 1
>                         get properties of path item 1 as list
>                         get properties of path item 1
>                         get class of path item 1
>                         get container of path item 1
>                         get kind of path item 1
>                         select path item 1
>                         copy path item 1
>                 end tell
>
>                 open theFileb
>                 set docRefB to the current document
>                 tell current document
>                         paste
>                 end tell
>
>         end tell
>
>
> Dan Burbank

Hi Dan, I got the same problem pasting the clipboard with the script but calling system events
seems to work…

tell application "Adobe Photoshop CS2"
	activate
	set display dialogs to never
	open theFilea
	set docRefA to the current document
	tell current document
		select path item 1
		copy path item 1
	end tell

	open theFileb
	set docRefB to the current document
end tell

tell application "System Events"
	tell process "Adobe Photoshop CS2"
		tell menu bar 1
			click menu item "Paste" of menu "Edit"
		end tell
	end tell
end tell

Ciao
Luca





 _______________________________________________
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 and CS3 (From: email@hidden)

  • Prev by Date: Photoshop and CS3
  • Next by Date: Re: How to select "Copy" from an Application's Edit Menu
  • Previous by thread: Photoshop and CS3
  • Next by thread: How to get the app in use
  • Index(es):
    • Date
    • Thread