Photoshop CS not save to path
Photoshop CS not save to path
- Subject: Photoshop CS not save to path
- From: Michael Tompsett <email@hidden>
- Date: Thu, 03 Jun 2004 11:34:32 +0100
When saving a file from Photoshop CS (os x 10.3.3), photoshop never saves the file in the path specified in the script.
Below is a standard example script from Adobe, which creates a new document and should save it in the documents folder of the user. When the script is run it actually saves the file here:
Macintosh HD:Applications:Adobe Photoshop CS:Adobe Photoshop CS.app:Contents:MacOSClassic:PStest0020.TIFF
Have tried the save function in many different scripts but nevers saves to where it is aske to save, for example hwen saving to a server it saves the file in the top directory, despite being asked to save in a folder within the top directory. Any reason why this is happening or is it a bug?
Thanks
Michael
-----------------
THE SCRIPT:
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
end tell
----------------
THE EVENT LOG:
tell application "Finder"
get home
"Macintosh HD:Users:mikeyt:"
end tell
tell application "Adobe Photoshop CS"
make new document
document "Untitled-1"
save current document in file "Macintosh HD:Users:mikeyt: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"
end tell
----------------
_______________________________________________
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.