Re: Photoshop CS not save to path
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.