Adobe Photoshop CS5 Object Library JS: BatchOptions

Photoshop CS5

Class

BatchOptions

 Options to specify when running a Batch command.

Class

PropertyTypeAccessDescription
destinationBatchDestinationType:
BatchDestinationType.NODESTINATION
BatchDestinationType.SAVEANDCLOSE
BatchDestinationType.FOLDER
r/wThe type of destination for the processed files. (default: BatchDestinationType.NODESTINATION)
destinationFolderFile r/wThe folder location for the processed files. Valid only when 'destination' = folder.
errorFileFile r/wThe file in which to log errors encountered. To display errors on the screen and stop batch processing when errors occur, leave blank.
fileNaming Array of FileNamingType:
FileNamingType.DOCUMENTNAMEMIXED
FileNamingType.DOCUMENTNAMELOWER
FileNamingType.DOCUMENTNAMEUPPER
FileNamingType.SERIALNUMBER1
FileNamingType.SERIALNUMBER2
FileNamingType.SERIALNUMBER3
FileNamingType.SERIALNUMBER4
FileNamingType.SERIALLETTERLOWER
FileNamingType.SERIALLETTERUPPER
FileNamingType.MMDDYY
FileNamingType.MMDD
FileNamingType.YYYYMMDD
FileNamingType.YYMMDD
FileNamingType.YYDDMM
FileNamingType.DDMMYY
FileNamingType.DDMM
FileNamingType.EXTENSIONLOWER
FileNamingType.EXTENSIONUPPER
r/wA list of file naming options. Maximum: 6.
macintoshCompatiblebool r/wIf true, the final file names are Macintosh compatible. (default: true)
overrideOpenbool r/wIf true, overrides action open commands. (default: false)
overrideSavebool r/wIf true, overrides save as action steps with the specified destination. (default: false)
startingSerialint r/wThe starting serial number to use in naming files. (default: 1)
suppressOpenbool r/wIf true, suppresses file open options dialogs. (default: false)
suppressProfilebool r/wIf true, suppresses color profile warnings. (default: false)
unixCompatiblebool r/wIf true, the final file names are Unix compatible. (default: true)
windowsCompatiblebool r/wIf true, the final file names are Windows compatible. (default: true)

Used in:

string Application.batch (inputFiles: AliasArray, action: string, from: string[, options: BatchOptions])

Jongware, 28-Aug-2012 v3.0.3iContents :: Index