Specifications

Table Of Contents
Adobe Photoshop CS6
JavaScript Scripting Reference 28
annotations................................................................................................................................................................... 186
byteOrder ...................................................................................................................................................................... 186
embedColorProfile..................................................................................................................................................... 186
imageCompression.................................................................................................................................................... 186
interleaveChannels .................................................................................................................................................... 186
jpegQuality ................................................................................................................................................................... 186
layerCompression....................................................................................................................................................... 186
layers ............................................................................................................................................................................... 186
saveImagePyramid..................................................................................................................................................... 186
spotColors ..................................................................................................................................................................... 186
transparency................................................................................................................................................................. 186
typename ...................................................................................................................................................................... 186
UnitValue...................................................................................................................................................................................... 187
xmpMetadata ............................................................................................................................................................................. 188
Properties............................................................................................................................................................................... 188
parent.............................................................................................................................................................................. 188
rawData.......................................................................................................................................................................... 188
typename ...................................................................................................................................................................... 188
3 JavaScript Resource.................................................................................................................189
JavaScript resource syntax..................................................................................................................................................... 189
Basic JavaScript resource example............................................................................................................................... 190
Enable-info grammar............................................................................................................................................................... 190
Undefined values in enable-info evaluation............................................................................................................. 192
Using the "in" function...................................................................................................................................................... 193
Action Manager automation................................................................................................................................................. 193
Terminology dictionary .................................................................................................................................................... 193
Value type defintions .................................................................................................................................................. 194
Uniqueness rules for terminology entries.................................................................................................................. 195
Terminology definition example................................................................................................................................... 195
4 Scripting Constants .................................................................................................................197
AdjustmentReference............................................................................................................................................... 197
AnchorPosition............................................................................................................................................................ 197
AntiAlias ......................................................................................................................................................................... 197
AutoKernType.............................................................................................................................................................. 197
BatchDestinationType .............................................................................................................................................. 197
BitmapConversionType............................................................................................................................................ 198
BitmapHalfToneType ................................................................................................................................................ 198
BitsPerChannelType................................................................................................................................................... 198
BlendMode.................................................................................................................................................................... 198
BMPDepthType ........................................................................................................................................................... 198
ByteOrder ...................................................................................................................................................................... 199
CameraRAWSettingsType........................................................................................................................................ 199
CameraRAWSize.......................................................................................................................................................... 199
ChangeMode................................................................................................................................................................ 199
ChannelType ................................................................................................................................................................ 199
ColorBlendMode......................................................................................................................................................... 200
ColorModel ................................................................................................................................................................... 200
ColorPicker.................................................................................................................................................................... 200
ColorProfileType ......................................................................................................................................................... 200
ColorReductionType.................................................................................................................................................. 200