Scripting Guide
Page 48
... Creates a contact sheet from the files in the Photoshop registry for Adobe Photoshop CS3. Deprecated for the ID with value key. Note: The return string contains the path to the PDF file. makePhotoGallery (inputFolder, outputFolder [, options]) makePhotomerge ...; The following features are supported as values for name: "photoshop/extended" "photoshop/standard" "photoshop/trial" ActionDescriptor Retreives user objects in the specified input folder. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 48 Method Parameter Type Returns What it does...
... Creates a contact sheet from the files in the Photoshop registry for Adobe Photoshop CS3. Deprecated for the ID with value key. Note: The return string contains the path to the PDF file. makePhotoGallery (inputFolder, outputFolder [, options]) makePhotomerge ...; The following features are supported as values for name: "photoshop/extended" "photoshop/standard" "photoshop/trial" ActionDescriptor Retreives user objects in the specified input folder. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 48 Method Parameter Type Returns What it does...
Scripting Guide
Page 51
...) { open(sampleDocToOpen) } } Second Sample Script The following script presents a progression of images as an Adobe PDF slide show. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 51 app.backgroundColor.rgb.red = Math.random() * 255 app.backgroundColor.rgb.green = Math...!= null) { // get all the files found in this folder that are Adobe Photoshop CS3 (.psd format) var inputFiles = inputFolder.getFiles("*.psd") // output to the desktop var outputFile = File("~/Desktop/JavaScriptPresentation.pdf") // there are defaults but I like me to : " + outputFile.fsName)...
...) { open(sampleDocToOpen) } } Second Sample Script The following script presents a progression of images as an Adobe PDF slide show. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 51 app.backgroundColor.rgb.red = Math.random() * 255 app.backgroundColor.rgb.green = Math...!= null) { // get all the files found in this folder that are Adobe Photoshop CS3 (.psd format) var inputFiles = inputFolder.getFiles("*.psd") // output to the desktop var outputFile = File("~/Desktop/JavaScriptPresentation.pdf") // there are defaults but I like me to : " + outputFile.fsName)...
Scripting Guide
Page 52
JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 52 Note: To run this code on non-English platforms, substitute the following path for the outputFile variable: var outputFile = File("~/JavaScriptPresentation.pdf")
JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 52 Note: To run this code on non-English platforms, substitute the following path for the outputFile variable: var outputFile = File("~/JavaScriptPresentation.pdf")
Scripting Guide
Page 147
...of the document (in pixels per channel. UnitValue Deprecated for Adobe Photoshop CS3. CropToType Read-write. The page to which to an image number when usePageNumber = false. UnitValue Deprecated for Adobe Photoshop CS3. number (long) Read-write. string Read-only. See ...model to use . boolean Read-write. boolean Read-write. Indicates whether the value specified in generic Adobe PDF format. boolean Deprecated for Adobe Photoshop CS3. number (double) Read-write. Indicates whether to use antialias. The name of the referenced PDFOpenOptions...
...of the document (in pixels per channel. UnitValue Deprecated for Adobe Photoshop CS3. CropToType Read-write. The page to which to an image number when usePageNumber = false. UnitValue Deprecated for Adobe Photoshop CS3. number (long) Read-write. string Read-only. See ...model to use . boolean Read-write. boolean Read-write. Indicates whether the value specified in generic Adobe PDF format. boolean Deprecated for Adobe Photoshop CS3. number (double) Read-write. Indicates whether to use antialias. The name of the referenced PDFOpenOptions...
Scripting Guide
Page 148
... destination profile. Read-write. Read-write. Deprecated for Adobe Photoshop CS3. Indicates whether to include a small preview image in the document. Indicates whether to embed the color profile in Adobe PDF files. Read-write. Read-write. Deprecated for better compatibility... boolean boolean boolean PDFEncoding boolean What it is Read-write. Read-write. Read-write. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 148 PDFSaveOptions Options that exceed this value in pixels per inch. Indicates whether to save options...
... destination profile. Read-write. Read-write. Deprecated for Adobe Photoshop CS3. Indicates whether to include a small preview image in the document. Indicates whether to embed the color profile in Adobe PDF files. Read-write. Read-write. Deprecated for better compatibility... boolean boolean boolean PDFEncoding boolean What it is Read-write. Read-write. Read-write. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 148 PDFSaveOptions Options that exceed this value in pixels per inch. Indicates whether to save options...
Scripting Guide
Page 149
... registered. Indicates whether to make the document compatible with . Read-write. Deprecated for Adobe Photoshop CS3. Read-write. Indicates whether to the compression amount. Read-write. Indicates whether to show which is stored in Adobe Photoshop CS3 with native Photoshop data intact. The PDF version to include. Read-write. The quality of the referenced PDFSaveOptions object. Read-write...
... registered. Indicates whether to make the document compatible with . Read-write. Deprecated for Adobe Photoshop CS3. Read-write. Indicates whether to the compression amount. Read-write. Indicates whether to show which is stored in Adobe Photoshop CS3 with native Photoshop data intact. The PDF version to include. Read-write. The quality of the referenced PDFSaveOptions object. Read-write...
Scripting Guide
Page 150
Read-write. JavaScript Scripting Reference Property vectorData view Adobe Photoshop CS3 JavaScript Object Reference 150 Value Type boolean boolean What it is (Continued) Deprecated for Adobe Photoshop CS3. Indicates whether to open the saved PDF in Adobe Acrobat.
Read-write. JavaScript Scripting Reference Property vectorData view Adobe Photoshop CS3 JavaScript Object Reference 150 Value Type boolean boolean What it is (Continued) Deprecated for Adobe Photoshop CS3. Indicates whether to open the saved PDF in Adobe Acrobat.
Scripting Guide
Page 162
...presentation = true. boolean number (long) Read-write. Read-write. Options to include the file name for Adobe PDF presentations. Properties Property autoAdvance includeFilename interval loop magnification pDFFileOptions presentation transition typename Value Type What it is auto advanced...is boolean Read-write. See autoAdvance. when false, the output is a Multi-Page document. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 162 PresentationOptions Options that can be a presentation (default: false); default: 5). See autoAdvance....
...presentation = true. boolean number (long) Read-write. Read-write. Options to include the file name for Adobe PDF presentations. Properties Property autoAdvance includeFilename interval loop magnification pDFFileOptions presentation transition typename Value Type What it is auto advanced...is boolean Read-write. See autoAdvance. when false, the output is a Multi-Page document. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Object Reference 162 PresentationOptions Options that can be a presentation (default: false); default: 5). See autoAdvance....
Scripting Guide
Page 196
...EPSPICTPREVIEW EPSTIFFPREVIEW FILMSTRIP JPEG PCX PDF PHOTOCD PHOTOSHOP PHOTOSHOPDCS_1 PHOTOSHOPDCS_2 PHOTOSHOPEPS PHOTOSHOPPDF PICTFILEFORMAT PICTRESOURCEFORMAT PIXAR PNG PORTABLEBITMAP RAW SCITEXCT SGIRGB SOFTIMAGE TARGA TIFF WAVEFRONTRLA WIRELESSBITMAP The format in the Goodies folder on the Adobe Photoshop CS3 Install DVD. LANDSCAPE PORTRAIT ... WRAPAROUND Method to use . OS2 WINDOWS The operating system. GAUSSIAN UNIFORM Distribution method to use for the Extended version only. Kodak PhotoCD is deprecated. Note: The DICOM option is for the document. CMYK GRAYSCALE LAB...
...EPSPICTPREVIEW EPSTIFFPREVIEW FILMSTRIP JPEG PCX PDF PHOTOCD PHOTOSHOP PHOTOSHOPDCS_1 PHOTOSHOPDCS_2 PHOTOSHOPEPS PHOTOSHOPPDF PICTFILEFORMAT PICTRESOURCEFORMAT PIXAR PNG PORTABLEBITMAP RAW SCITEXCT SGIRGB SOFTIMAGE TARGA TIFF WAVEFRONTRLA WIRELESSBITMAP The format in the Goodies folder on the Adobe Photoshop CS3 Install DVD. LANDSCAPE PORTRAIT ... WRAPAROUND Method to use . OS2 WINDOWS The operating system. GAUSSIAN UNIFORM Distribution method to use for the Extended version only. Kodak PhotoCD is deprecated. Note: The DICOM option is for the document. CMYK GRAYSCALE LAB...
Scripting Guide
Page 197
...use. The type of path. The type of compression to use when saving a document in PDF format. The down sample method to use . The pointer for the following tools: Marquee,... make the document compatible with. JavaScript Scripting Reference Constant type OtherPaintingCursors PaintingCursors Palette PathKind PDFCompatibility PDFEncoding PDFResample Adobe Photoshop CS3 Scripting Constants 197 Values PRECISEOTHER STANDARDOTHER BRUSHSIZE PRECISE STANDARD EXACT LOCALADAPTIVE LOCALPERCEPTUAL LOCALSELECTIVE MACOSPALETTE MASTERADAPTIVE MASTERPERCEPTUAL MASTERSELECTIVE PREVIOUSPALETTE...
...use. The type of path. The type of compression to use when saving a document in PDF format. The down sample method to use . The pointer for the following tools: Marquee,... make the document compatible with. JavaScript Scripting Reference Constant type OtherPaintingCursors PaintingCursors Palette PathKind PDFCompatibility PDFEncoding PDFResample Adobe Photoshop CS3 Scripting Constants 197 Values PRECISEOTHER STANDARDOTHER BRUSHSIZE PRECISE STANDARD EXACT LOCALADAPTIVE LOCALPERCEPTUAL LOCALSELECTIVE MACOSPALETTE MASTERADAPTIVE MASTERPERCEPTUAL MASTERSELECTIVE PREVIOUSPALETTE...
Scripting Guide
Page 198
...meaning of the image. JavaScript Scripting Reference Constant type PDFStandard PhotoCDColorSpace PhotoCDSize PICTBitsPerPixels PICTCompression PicturePackageTextType PointKind PointType Adobe Photoshop CS3 Scripting Constants 198 Values NONE PDFX1A2001 PDFX1A2003 PDFX32002 PDFX32003 LAB16 LAB8 RGB16 RGB8 EXTRALARGE LARGE MAXIMUM MEDIUM ... PDF standard to use for type points: POSTSCRIPT = 72 points/inch; TRADITIONAL = 72.27 points/inch. use when creating a Photo CD. Note: Deprecated for bitmap and grayscale images. The color space to use 2, 4, or 8 for Adobe Photoshop CS3...
...meaning of the image. JavaScript Scripting Reference Constant type PDFStandard PhotoCDColorSpace PhotoCDSize PICTBitsPerPixels PICTCompression PicturePackageTextType PointKind PointType Adobe Photoshop CS3 Scripting Constants 198 Values NONE PDFX1A2001 PDFX1A2003 PDFX32002 PDFX32003 LAB16 LAB8 RGB16 RGB8 EXTRALARGE LARGE MAXIMUM MEDIUM ... PDF standard to use for type points: POSTSCRIPT = 72 points/inch; TRADITIONAL = 72.27 points/inch. use when creating a Photo CD. Note: Deprecated for bitmap and grayscale images. The color space to use 2, 4, or 8 for Adobe Photoshop CS3...
Scripting Guide
Page 202
TOPLEFT = top left blank in an image to which the a filter in a PDF presentation. Note: UnderlineType.UNDELINELEFT and UnderlineType.UNDELINERIGHT are valid only when direction = Direction.VERTICAL. MM PIXELS POINTS The unit to trim around an image: BOTTOMRIGHT = ... The method to use to the next in the Distort category has been applied. JavaScript Scripting Reference Constant type ToolType TransitionType TrimType TypeUnits UndefinedAreas UnderlineType Adobe Photoshop CS3 Scripting Constants 202 Values What it means ARTHISTORYBRUSH The tool selection.
TOPLEFT = top left blank in an image to which the a filter in a PDF presentation. Note: UnderlineType.UNDELINELEFT and UnderlineType.UNDELINERIGHT are valid only when direction = Direction.VERTICAL. MM PIXELS POINTS The unit to trim around an image: BOTTOMRIGHT = ... The method to use to the next in the Distort category has been applied. JavaScript Scripting Reference Constant type ToolType TransitionType TrimType TypeUnits UndefinedAreas UnderlineType Adobe Photoshop CS3 Scripting Constants 202 Values What it means ARTHISTORYBRUSH The tool selection.
Scripting Guide
Page 208
...of the user interface need to human readable text, providing text and type information for your user interface. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Resource 208 Using the "in" Function The in function (see if the image mode of the active document is ...mode and target mode have the following entries, and must have several options. The first step in creating a terminology dictionary is created in a PDF dictionary format, with the following format in the : > /Classes /Enumerations >>> ]]> Note: The information in the Conditional Mode Change command, the...
...of the user interface need to human readable text, providing text and type information for your user interface. JavaScript Scripting Reference Adobe Photoshop CS3 JavaScript Resource 208 Using the "in" Function The in function (see if the image mode of the active document is ...mode and target mode have the following entries, and must have several options. The first step in creating a terminology dictionary is created in a PDF dictionary format, with the following format in the : > /Classes /Enumerations >>> ]]> Note: The information in the Conditional Mode Change command, the...
Scripting Guide
Page 220
..., exporting paths to 105 alpha channels defined 72 from transparency (TIFF documents) 186 opacity 72 saving in BMP documents 69 in PDF documents 148 in PICT documents 153 in PICT resources 154 in Pixar documents 156 in PSD documents 152 in RAW documents 164 in ...See layers Asian text 161 authors 98 auto kerning 179, 188 auto leading 184 auto spacing, contact sheets 82 available memory 45 Average filter 55 Adobe Photoshop CS3 B background color application 45 galleries 109 background layers 53 baseline shift 179 batch command 47 batches destination folder 66, 188 specifying options 66 beeping ...
..., exporting paths to 105 alpha channels defined 72 from transparency (TIFF documents) 186 opacity 72 saving in BMP documents 69 in PDF documents 148 in PICT documents 153 in PICT resources 154 in Pixar documents 156 in PSD documents 152 in RAW documents 164 in ...See layers Asian text 161 authors 98 auto kerning 179, 188 auto leading 184 auto spacing, contact sheets 82 available memory 45 Average filter 55 Adobe Photoshop CS3 B background color application 45 galleries 109 background layers 53 baseline shift 179 batch command 47 batches destination folder 66, 188 specifying options 66 beeping ...
Scripting Guide
Page 223
...JPEG documents quality 122 saving 122 JPEG options scans 122 JPEGSaveOptions 122 justification 181 K kerning 179 text auto kerning 188 keyboard behavior 160 Adobe Photoshop CS3 L LabColor 123 languages 181 layer comps 124 adding 126 applying 124 in documents 90 layer sets adding 130 art layers in 128 ...making visible 54 merging 61 merging visible 93 moving 61 rasterizing 94 rasterizing contents 62 removing 65 resizing 62 rotating 62 saving in PDF documents 148 unlinking 63 LayerSet 128 LayerSets 130 layersets merging 129 leading 181, 184 Lens Blur filter applying 57 Lens Flare filter ...
...JPEG documents quality 122 saving 122 JPEG options scans 122 JPEGSaveOptions 122 justification 181 K kerning 179 text auto kerning 188 keyboard behavior 160 Adobe Photoshop CS3 L LabColor 123 languages 181 layer comps 124 adding 126 applying 124 in documents 90 layer sets adding 130 art layers in 128 ...making visible 54 merging 61 merging visible 93 moving 61 rasterizing 94 rasterizing contents 62 removing 65 resizing 62 rotating 62 saving in PDF documents 148 unlinking 63 LayerSet 128 LayerSets 130 layersets merging 129 leading 181, 184 Lens Blur filter applying 57 Lens Flare filter ...
Scripting Guide
Page 224
...IDs 212 removing 136 NTSC filter 58 O object model changes in Photoshop CS3 32 Ocean Ripple filter 58 Offset filter 58 old style type 183 opacity channels 72 gallery security text 113 layer fill 53 layer sets 128 Adobe Photoshop CS3 layers 54 picture packages 155 open options Camera Raw format 70 DICOM... format 88 EPS format 103 PDF format 147 Photo CD format 151 RAW format 163 optimizing 106 other filters Custom 55 ...
...IDs 212 removing 136 NTSC filter 58 O object model changes in Photoshop CS3 32 Ocean Ripple filter 58 Offset filter 58 old style type 183 opacity channels 72 gallery security text 113 layer fill 53 layer sets 128 Adobe Photoshop CS3 layers 54 picture packages 155 open options Camera Raw format 70 DICOM... format 88 EPS format 103 PDF format 147 Photo CD format 151 RAW format 163 optimizing 106 other filters Custom 55 ...
Scripting Guide
Page 225
... Preferences 158 PresentationOptions 162 presentations making 48 PDF presentations printing, documents 94 property measurementLog 45 PSD documents opening 196 saving 152 purging 49 Q quote style 161 R Radial Blur filter 58 rasterize 62 rasterizing Adobe Photoshop CS3 document layers 94 RAW documents opening 196 ...Sharpen Edges filter 59 Sharpen filter 58 sharpen filters Sharpen 58 Index 225 JavaScript Scripting Reference opening 196 saving 152 Photoshop files, maximizing compatibility 160 PICT documents opening 196 saving 153 PICT resources opening 196 saving 154 picture packages contents ...
... Preferences 158 PresentationOptions 162 presentations making 48 PDF presentations printing, documents 94 property measurementLog 45 PSD documents opening 196 saving 152 purging 49 Q quote style 161 R Radial Blur filter 58 rasterize 62 rasterizing Adobe Photoshop CS3 document layers 94 RAW documents opening 196 ...Sharpen Edges filter 59 Sharpen filter 58 sharpen filters Sharpen 58 Index 225 JavaScript Scripting Reference opening 196 saving 152 Photoshop files, maximizing compatibility 160 PICT documents opening 196 saving 153 PICT resources opening 196 saving 154 picture packages contents ...
Scripting Guide
Page 226
...smart quotes 161 Spherize filter 59 spot channels defined 72 merging into component channels 73 opacity 72 saving in DCS 2 documents 87 in PDF documents 149 in PSD documents 152 in RAW documents 164 in SGIRGB documents 171 in TIFF documents 186 spotColors 171 startup scripts 32 ...packages 155 justification 181 languages 181 offset 179 orientation 180 spacing 180-183 tracking 184 wrapping 181 text composer 184 text fonts See fonts Adobe Photoshop CS3 text items See text text layers adding contents 179 creating 53 Texture Fill filter 59 texture filters, Texture Fill 59 threshold 63 thumbnails...
...smart quotes 161 Spherize filter 59 spot channels defined 72 merging into component channels 73 opacity 72 saving in DCS 2 documents 87 in PDF documents 149 in PSD documents 152 in RAW documents 164 in SGIRGB documents 171 in TIFF documents 186 spotColors 171 startup scripts 32 ...packages 155 justification 181 languages 181 offset 179 orientation 180 spacing 180-183 tracking 184 wrapping 181 text composer 184 text fonts See fonts Adobe Photoshop CS3 text items See text text layers adding contents 179 creating 53 Texture Fill filter 59 texture filters, Texture Fill 59 threshold 63 thumbnails...