app.documents.add( 4, 4 )
jpgFile = new File( "/Temp001.jpeg" )
jpgSaveOptions = new JPEGSaveOptions()
jpgSaveOptions.embedColorProfile = true
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE
jpgSaveOptions.matte = MatteType.NONE
jpgSaveOptions.quality = 1
app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,
Extension.LOWERCASE)
In the Adobe Scripting guide, above is the code for JPEG. Instead of JPEG, I want a LayerSet to save as a TIF with the 'without layers' and 'save as copy + alpha' enabled ? I searched the guide, could not find if I can link group properties color with a keyboard short-cut ?