cs6 save tiff options with applescript
hi all, new to this so be kind! ![]()
trying to create a simple script that will do a save as of the current doc in photoshop as an lzw, flat tiff, prompting for the location to save the file to.
this is what i have so far:
set targetFolder to choose folder with prompt ¬
"Location for exported files"
set targetPath to targetFolder as string
tell application "Adobe Photoshop CS6"
activate
save current document in file (targetFolder) as TIFF with options {byte order:Mac OS, embed color profile:false, image compression:LZW, save alpha channels:false, save layers:false} appending lowercase extension with copying
close current document without saving
end tell
but i keep getting this error:
error "Adobe Photoshop CS6 got an error: Can’t make some data into the expected type." number -1700 to item
ive tried comparing the tiff options code to other sample scripts but it seems to be correct format?
