Adobe 65010248 Scripting Guide - Page 27
Collection objects, AppleScript, JavaScript - photoshop
UPC - 883919156484
View all Adobe 65010248 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 27 highlights
CHAPTER 3: Scripting Illustrator Working with objects 27 The following objects must be created explicitly: CMYK color document preset EPS save options export options AutoCAD export options Flash export options GIF export options JPEG export options Photoshop export options PNG8 export options PNG24 export options SVG file folder gradient color gray color Illustrator save options ink ink info lab color matrix MXG save options no color open options open options AutoCAD open options FreeHand open options PDF open options Photoshop paper info Pattern color PDF save options PPD file PPD file info print color management options print color separation options print coordinate options printer printer info print flattener options print font options print job options print options print page marks options print paper options print postscript options raster effect options rasterize options screen screen spot function RGB color spot color tracing options The file and folder objects are Adobe ExtendScript devices designed to provide platform-independent access to the underlying file system. For information on using these objects, see JavaScript Tools Guide. For information on creating an object explicitly, see the chapter for your scripting language. Collection objects Most collection objects must be obtained from a container. For example, a path items collection object can be contained by a document object or a layer object; to obtain an object in a path items collection, refer to either containing of these objects. For example, see the language-specific sections below. AppleScript To refer to a path items object in a document: path item 1 in document 1 To refer to a path items object in a layer: path item 1 in layer 1 in document 1 JavaScript To refer to a path items object in a document: documents[0].pathItems[1] To refer to a path items object in a layer: documents[0].layers[0].pathItems[0]