• 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 CS not save to path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop CS not save to path


  • Subject: Re: Photoshop CS not save to path
  • From: "Shane Stanley" <email@hidden>
  • Date: Thu, 3 Jun 2004 21:22:51 +1000

On Thu, 3 Jun 2004 11:34:32 +0100, Michael Tompsett wrote:

>tell application "Finder" to set myTempFileName to (home as string) &
>"Documents:PStest0020.TIFF"

you don't need to involve the Finder in this, although it shouldn't cause
what you're seeing.
>
>tell application "Adobe Photoshop CS"
> make new document
>
> set myOptions to {class:TIFF save options, image compression:none, byte
>order:Mac OS, save alpha channels:true, save spot colors:true, embed
>color profile:true}
> save current document in file myTempFileName as TIFF with options
>myOptions appending no extension without copying
>
>end tell

I modified your script with an extra line at the end:

tell application "Finder" to set myTempFileName to (home as string) &
"Documents:PStest0020.TIFF"
tell application "Adobe Photoshop CS"
make new document
set myOptions to {class:TIFF save options, image compression:none, byte
order:Mac OS, save alpha channels:true, save spot colors:true, embed
color profile:true}
save current document in file myTempFileName as TIFF with options
myOptions appending no extension without copying
file path of current document
end tell

And here's my log:

tell application "Finder"
get home
--> "Macintosh HD:Users:shane:"
end tell
tell application "Adobe Photoshop CS"
make new document
--> document "Untitled-1"
save current document in file "Macintosh HD:Users:shane:Documents:
PStest0020.TIFF" as TIFF with options {class:TIFF save options, image
compression:none, byte order:Mac OS, save alpha channels:true, save spot
colors:true, embed color profile:true} appending no extension without copying
--> document "PStest0020.TIFF"
get file path of current document
--> alias "Macintosh HD:Users:shane:Documents:PStest0020.TIFF"
end tell

As you can see, the file has ended up where you asked.

That doesn't answer your question, but it would seem to rule out a simple
PS bug.

---
Shane Stanley <email@hidden>-
_______________________________________________
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.


References: 
 >Photoshop CS not save to path (From: Michael Tompsett <email@hidden>)

  • Prev by Date: Photoshop CS not save to path
  • Next by Date: Expert wanted to write code
  • Previous by thread: Photoshop CS not save to path
  • Next by thread: Re: Photoshop CS not save to path
  • Index(es):
    • Date
    • Thread