-- Copyright 2002-2008.  Adobe Systems, Incorporated.  All rights reserved.
-- This script illustrates how to save a document as TIFF with specific options in your Documents folder

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

tell application "Adobe Photoshop CS4"
	activate
	
	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
