bbcADOBE PHOTOSHOP CS6JAVASCRIPT SCRIPTING REFERENCE
Adobe Photoshop CS6JavaScript Scripting Reference 10remove...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 100DocumentInfo sample Script The following script sets document in
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 101// save the outputs in JPEG var jpegOptions = new JPEGSaveOption
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 102DocumentsThe collection of open Document objects. Access this li
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 103EPSOpenOptionsOptions for opening a document in EPS format using
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 104EPSSaveOptionsOptions for saving a document in EPS format using
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 105ExportOptionsIllustratorOptions for exporting PathItem objects t
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 106ExportOptionsSaveForWebOptions for optimizing a document for the
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 107qualitynumber [0..100]Read-write. The quality of the produced im
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 108FileFolderExtendScript defines the JavaScript classes File and F
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 109GalleryBannerOptionsOptions for the bannerOptions property of th
Adobe Photoshop CS6JavaScript Scripting Reference 11width ...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 110GalleryCustomColorOptionsOptions for the customColorOptions prop
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 111GalleryImagesOptionsOptions for the imagesOptions property of th
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 112resizeConstraintGalleryConstrainTypeRead-write. The image dimens
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 113GalleryOptionsOptions for a Web photo gallery, created with Appl
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 114GallerySecurityOptionsOptions for the securityOptions property o
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 115GalleryThumbnailOptionsOptions for the thumbnailOptions property
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 116GIFSaveOptionsOptions for saving a document in GIF format using
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 117GrayColorDefines a gray color, used in the SolidColor object.See
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 118GuidePropertiesProperty Value type What it isdirectionDirectionR
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 119GuidesThe collection of open Guide objects. Access this list thr
Adobe Photoshop CS6JavaScript Scripting Reference 12Document ...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 120HistoryStateA version of the document stored automatically (and
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 121HistoryStatesThe collection of Guide objects in the document. Ac
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 122HSBColorDefines an HSB color, used in the SolidColor object.See
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 123IndexedConversionOptionsOptions for converting an RGB image to a
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 124JPEGSaveOptionsOptions for saving a document in JPEG format usin
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 125LabColorDefines an LAB color, used in the SolidColor object.See
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 126LayerCompA snapshot of a state of the layers in a document, whic
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 127LayerCompsThe collection of LayerComp objects in the document. A
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 128LayersThe collection of layer objects, including ArtLayer and La
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 129LayerSetA group of layer objects, which can include ArtLayer obj
Adobe Photoshop CS6JavaScript Scripting Reference 13mergeVisibleLayers...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 130MethodsMethod Parameter type Returns What it doesduplicate([rela
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 131LayerSetsThe collection of LayerSet objects in the document. Acc
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 132app.activeDocument.close()}// create a working documentvar docRe
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 133MeasurementLogThe measurement log for the application. Access th
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 134MeasurementScaleThe measurement scale for the document. Access t
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 135NoColorRepresents a missing color object, used in the SolidColor
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 136NotifierAn event-handler object that tells a script to execute s
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 137NotifiersThe collection of Notifier objects in the document. Acc
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 138PathItemA path or drawing object, such as the outline of a shape
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 139PathItem sample script The following creates a path in three seg
Adobe Photoshop CS6JavaScript Scripting Reference 14city...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 140lineArray[0].leftDirection = lineArray[0].anchorlineArray[0].rig
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 141lineSubPathArray[2] = new SubPathInfo()lineSubPathArray[2].opera
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 142PathItemsThe collection of PathItem objects in a document. Acces
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 143PathPointRepresents the anchor and control-handle endpoints for
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 144PathPointInfoUsed to create a PathPoint, which represents the an
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 145var spi = new SubPathInfo();spi.closed = false;spi.operation = S
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 146PathPointsA collection of PathPoint objects that define a subpat
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 147PDFOpenOptionsOptions for opening a document in generic Adobe PD
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 148PDFSaveOptionsOptions for saving a document in Adobe PDF format
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 149jpegQualitynumber [0..12]Read-write. The quality of the produced
Adobe Photoshop CS6JavaScript Scripting Reference 15path...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 150vectorDatabooleanDEPRECATED for Adobe Photoshop CS6.viewbooleanR
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 151PhotoCDOpenOptionsDEPRECATED in Adobe Photoshop CS6. Kodak Photo
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 152PhotoshopSaveOptionsOptions for saving a document in PSD format
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 153PICTFileSaveOptionsOptions for saving a document in PICT format
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 154PICTResourceSaveOptionsOptions for saving a document as a PICT R
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 155PicturePackageOptionsOptions for a picture package created with
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 156PixarSaveOptionsOptions for saving a document in Pixar format us
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 157PNGSaveOptionsOptions for saving a document in PNG format using
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 158PreferencesRepresents application preferences for Photoshop. Acc
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 159exportClipboardbooleanRead-write. True to retain Adobe Photoshop
Adobe Photoshop CS6JavaScript Scripting Reference 16includeCopyright...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 160numberofHistoryStatesnumberRead-write. The number of history sta
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 161typeUnitsTypeUnitsRead-write. The preferred unit for text charac
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 162PresentationOptionsOptions for Adobe PDF presentations created u
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 163RawFormatOpenOptionsOptions for opening a document in RAW format
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 164RawSaveOptionsOptions for saving a document in RAW format using
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 165RGBColorDefines an RGB color, used in the SolidColor object.See
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 166SelectionThe selected area of a document or layer. Access throug
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 167fill(filltype[, mode][, opacity][, preserveTransparency])SolidCo
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 168Selection sample script The following script creates a checkerbo
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 169var startTypeUnits = app.preferences.typeUnitsvar startDisplayDi
Adobe Photoshop CS6JavaScript Scripting Reference 17colors...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 170}// Fill the current selection with the foreground colorcheckers
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 171SGIRGBSaveOptionsOptions for saving a document in SGIRGB format
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 172SolidColor A color definition used in the document. Maps a color
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 173SubPathInfoAn array of PathPoint objects that describes a straig
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 174SubPathItemRepresents a subpath; a collection of subpaths make u
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 175SubPathItemsA collection of SubPathItem objects that make up a P
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 176TargaSaveOptionsOptions for saving a document in TGA (Targa) for
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 177TextFontDescribes a font that is available to the application. A
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 178TextFontsThe collection of fonts available on your computer. Fon
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 179TextItemThe text in an ArtLayer object whose kind property is La
Adobe Photoshop CS6JavaScript Scripting Reference 18matte...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 180desiredLetterScalingnumber [100..500]Read-write. The amount of s
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 181hyphenateAfterFirstnumber [1..15]Read-write. The number of lette
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 182maximumLetterScalingnumber [100..500]Read-write. The maximum amo
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 183minimumLetterScalingnumber [100..500]Read-write. The minimum amo
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 184spaceBeforeUnitValue[-1296..1296] pointsRead-write. The amount o
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 185MethodsMethod Parameter type Returns What it doesconvertToShape(
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 186TiffSaveOptionsOptions for saving a document in TIFF format usin
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 187UnitValueExtendScript defines the JavaScript class UnitValue to
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 188xmpMetadataCamera RAW image XMP metadata.For camera RAW image fi
1893JavaScript ResourceThis section describes the JavaScript resource that enables your JavaScripts to behave like a plug-in. This includes: ● th
Adobe Photoshop CS6JavaScript Scripting Reference 19LayerSet ...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Resource 190Basic JavaScript resource exampleThis example shows a very basic <jav
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Resource 191Operator precedence is shown in the following table. Operators are liste
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Resource 192The following table show the set of variables you can use in the <ena
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Resource 193Using the "in" functionThe in function (see <inFunction>
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Resource 194The /Events dictionary contains an entry for each event:The /Classes dic
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Resource 195Predefined Class TypesPhotoshop provides a number of predefined classes
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Resource 196The annotSizeClass has two properties: width, and height, both of type f
1974Scripting ConstantsThis section lists and describes the enumerations defined for use with Adobe Photoshop CS6 JavaScript properties and metho
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 198BitmapConversionTypeCUSTOMPATTERNDIFFUSIONDITHERHALFTHRESHOLDHALFTONESCR
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 199ByteOrderIBMMACOSThe platform-specific order in which multibyte values a
© 2012 Adobe Systems Incorporated. All rights reserved. Adobe® Creative Suite® 6 Photoshop® JavaScript Scripting Reference for Windows® and Macintosh®
Adobe Photoshop CS6JavaScript Scripting Reference 20parent...
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 200ColorBlendModeBEHINDCLEARCOLORCOLORBURNCOLORDODGEDARKENDARKERCOLORDIFFER
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 201CreateFieldsDUPLICATIONINTERPOLATIONThe method to use for creating field
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 202DisplacementMapTypeSTRETCHTOFITTILEDescribes how the displacement map fi
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 203FileNamingTypeDDMMDDMMYYDOCUMENTNAMELOWERDOCUMENTNAMEMIXEDDOCUMENTNAMEUP
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 204GalleryFontTypeARIALCOURIERNEWHELVETICATIMESNEWROMANThe fonts to use for
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 205GuideLineStyleDASHEDSOLIDThe preferred line style for nonprinting guides
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 206LayerKindBLACKANDWHITEBRIGHTNESSCONTRASTCHANNELMIXERCOLORBALANCECURVESEX
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 207NoiseDistributionGAUSSIANUNIFORMDistribution method to use when applying
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 208OtherPaintingCursorsPRECISEOTHERSTANDARDOTHERThe preferred pointer for t
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 209PDFResampleNONE PDFAVERAGE PDFBICUBIC PDFSUBSAMPLE The down sample metho
Adobe Photoshop CS6JavaScript Scripting Reference 21typename ...
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 210PointKindCORNERPOINTSMOOTHPOINTThe role a PathPoint plays in a PathItem.
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 211ResampleMethodBICUBICBICUBICSHARPERBICUBICSMOOTHERBILINEARNEARESTNEIGHBO
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 212SelectionTypeDIMINISHEXTENDINTERSECTREPLACEThe selection behavior when a
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 213TextCaseALLCAPSNORMALSMALLCAPSThe capitalization style to use in text. U
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 214TrimTypeBOTTOMRIGHTTOPLEFTTRANSPARENTType of pixels to trim around an im
Adobe Photoshop CS6JavaScript Scripting Reference Scripting Constants 215WaveTypeSINESQUARETRIANGULARThe type of wave to use. Pass to ArtLayer.ap
216Appendix A: Event ID CodesThe following table lists events and their four-character ID codes or string identifiers for use with the notifier o
Adobe Photoshop CS6JavaScript Scripting Reference Appendix A: Event ID Codes 217Charcoal 'Chrc'Chrome 'Chrm'Clear 'Cler&
Adobe Photoshop CS6JavaScript Scripting Reference Appendix A: Event ID Codes 218Deselect 'Dslc'Despeckle 'Dspc'DifferenceClou
Adobe Photoshop CS6JavaScript Scripting Reference Appendix A: Event ID Codes 219GaussianBlur 'GsnB'Get 'getd'Glass 'Gls
Adobe Photoshop CS6JavaScript Scripting Reference 22transparency...
Adobe Photoshop CS6JavaScript Scripting Reference Appendix A: Event ID Codes 220Mezzotint 'Mztn'Minimum 'Mnm 'ModeChange &quo
Adobe Photoshop CS6JavaScript Scripting Reference Appendix A: Event ID Codes 221PosterEdges 'PstE'Posterize 'Pstr'Previous &a
Adobe Photoshop CS6JavaScript Scripting Reference Appendix A: Event ID Codes 222Smooth 'Smth'SmudgeStick 'SmdS'Solarize &apos
Adobe Photoshop CS6JavaScript Scripting Reference Appendix A: Event ID Codes 223WaterPaper 'WtrP'Watercolor 'Wtrc'Wave '
224IndexAAction Manager 193actionscommand lists 40descriptions 43descriptors 37playing 47active document 45activePrinter 96Add Noise filte
Adobe Photoshop CS6JavaScript Scripting Reference Index 225canvasflipping 92resizing 92canvas, defined 88caption 96captionscontact sheets 82
Adobe Photoshop CS6JavaScript Scripting Reference Index 226Twirl 59Wave 59Zigzag 59document formats, see individual document formatsDocumentPr
Adobe Photoshop CS6JavaScript Scripting Reference Index 227color balance 55histogramschannels 72history log 161history statesactivating 88all
Adobe Photoshop CS6JavaScript Scripting Reference Index 228merging 60merging visible 92moving 61rasterizing 92rasterizing contents 61removin
Adobe Photoshop CS6JavaScript Scripting Reference Index 229anchor points 143left direction 143right direction 143PathItems 142pathsSee path i
Adobe Photoshop CS6JavaScript Scripting Reference 23typename ...
Adobe Photoshop CS6JavaScript Scripting Reference Index 230scriptsautomation 189, 193enabling/disabling in menu 189executing 33grouping in men
Adobe Photoshop CS6JavaScript Scripting Reference Index 231ruler 160type 161UnitValue object 32, 187Unsharp Mask filter 59URLs, document 99U
Adobe Photoshop CS6JavaScript Scripting Reference 24savePaletteLocations ...
Adobe Photoshop CS6JavaScript Scripting Reference 25bounds...
Adobe Photoshop CS6JavaScript Scripting Reference 26operation ...
Adobe Photoshop CS6JavaScript Scripting Reference 27firstLineIndent...
Adobe Photoshop CS6JavaScript Scripting Reference 28annotations...
Adobe Photoshop CS6JavaScript Scripting Reference 29ColorSpaceType ...
3Contents1 Introduction ...
Adobe Photoshop CS6JavaScript Scripting Reference 30OperatingSystem...
Adobe Photoshop CS6JavaScript Scripting Reference 31UndefinedAreas ...
321IntroductionThis reference describes the objects and methods in the Adobe® Photoshop® CS6® JavaScriptTM type library. A companion document, Ph
Adobe Photoshop CS6JavaScript Scripting Reference Introduction 33● In Mac OS: Applications/Utilities/Adobe Utilities/ExtendScript Toolkit CS6/SDK
Adobe Photoshop CS6JavaScript Scripting Reference Introduction 34Object model usage and namingThe JavaScript API follows JavaScript naming conven
352JavaScript Object ReferenceThe Photoshop objects (the JavaScript type library for Adobe® Photoshop® CS6) are presented alphabetically and in t
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 36When a parameter type or return value is a constant or another ob
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 37ActionDescriptorThis object provides a dictionary-style mechanism
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 38getLargeInteger(key)numbernumberGets the value of a key of type l
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 39putInteger(key,value)numbernumberSets the value for a key whose t
Adobe Photoshop CS6JavaScript Scripting Reference 4putDouble ...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 40ActionListThis object provides an array-style mechanism for stori
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 41getLargeInteger(index)numbernumberGets the value of a list elemen
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 42putObject(classID,value)numberActionDescriptorAppends a new value
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 43ActionReferenceThis object provides information about what the ac
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 44putClass(desiredClass)numberPuts a new class form and class type
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 45ApplicationThe Adobe Adobe Photoshop CS6 application object, whic
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 46localestringRead-only. The language location of the application.A
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 47MethodsversionstringRead-only. The version of Adobe Photoshop app
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 48getCustomOptions(key)stringActionDescriptorRetreives user objects
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 49open(document[, as][, asSmartObject])Fileobject or OpenDocumentTy
Adobe Photoshop CS6JavaScript Scripting Reference 5getContainer ...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 50Application sample scripts Application.jsxThis script invokes an
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 51// set the colorsif (answer) {// I don’t have a favorite color. W
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 52alert("Presentation file saved to: " + outputFile.fsNam
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 53ArtLayerAn object within a document that contains the visual elem
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 54layerMaskFeatherdoubleRead-write. The feather of the layer mask (
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 55MethodsMethod Parameter type Returns What it doesadjustBrightness
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 56applyDeInterlace(eliminateFields,createFields)EliminateFieldsCrea
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 57applyLensBlur([source][, focalDistance][, invertDepthMap][, shape
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 58applyMinimum(radius)number [1..100] Applies the Minimum filter wi
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 59applySmartBlur(radius,threshold,blurQuality,mode)number [0.1..10
Adobe Photoshop CS6JavaScript Scripting Reference 6doAction ...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 60copy([merge])booleanCopies the layer to the clipboard. When the o
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 61mixChannels(outputChannels[, monochrome])array of array of number
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 62ArtLayer sample Script The following script opens all the files i
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 63// Save the current preferencesvar startRulerUnits = app.preferen
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 64}}// sort the layers by namefor (var x = 0; x < app.activeDocu
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 65ArtLayersThe collection of ArtLayer objects in a document or laye
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 66BatchOptionsOptions for running a batch operation using the Appli
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 67suppressProfilebooleanRead-write. True to suppress the color prof
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 68BitmapConversionOptionsOptions for converting an image to bitmap
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 69BMPSaveOptionsOptions for saving a document in BMP format using t
Adobe Photoshop CS6JavaScript Scripting Reference 7Methods ...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 70CameraRAWOpenOptionsOptions for opening a document in Camera RAW
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 71tintnumber [-150..150]Read-write. The tint of the shot.typenamest
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 72ChannelInformation about a color element in the image. Access thr
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 73merge()Merges a spot channel into the component channels.remove()
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 74ChannelsThe collection of Channel objects in a document. Access t
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 75case DocumentMode.GRAYSCALE:case DocumentMode.INDEXEDCOLOR:visibl
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 76// create the output file// first figure out which kind of line f
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 77}// close down the output filefileOut.close()alert("Histogra
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 78// I need an extra "0" for this line item to keep every
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 79CMYKColorDefines a CMYK color, used in the SolidColor object.See
Adobe Photoshop CS6JavaScript Scripting Reference 8duplicate...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 80ColorSamplerA color sampler for a document. Access through the Do
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 81ColorSamplersThe collection of ColorSampler objects in a document
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 82ContactSheetOptionsOptions for creating a contact sheet with the
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 83CountItemA counted item in a document. Access through the Documen
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 84CountItemsThe collection of CountItem objects in the document. Ac
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 85DCS1_SaveOptionsOptions for saving a CMYK document in DCS1 format
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 86DCS2_SaveOptionsOptions for saving a CMYK document in DCS2 format
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 87DICOMOpenOptionsOptions for opening a document in DICOM format us
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 88DocumentThe active containment object for layers and all other ob
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 89countItemsCountItemsRead-only. The current count items. Note: For
Adobe Photoshop CS6JavaScript Scripting Reference 9BMPSaveOptions ...
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 90quickMaskModebooleanRead-write. True if the document is in Quick
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 91MethodsMethod Parameter type Returns What it doesautoCount(channe
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 92exportDocument(exportIn[, exportAs][, options])FileExportTypeExpo
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 93revealAll()Expands the document to show clipped sections.rotateCa
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 94Document sample script The following script creates a document th
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 95var selRegion = Array(Array(0, 0), Array(mer
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 96DocumentPrintSettingsThe print settings for a document.Properties
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 97scalenumberRead-only. Scale of image on page.vectorDatabooleanRea
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 98MethodsMethod Parameter type Returns What it doessetPagePosition(
Adobe Photoshop CS6JavaScript Scripting Reference JavaScript Object Reference 99DocumentInfoMetadata about a document object. Access through the
Comments to this Manuals