Scripting Guide
Page 2
...of their respective holders. Adobe, the Adobe logo, Adobe Acrobat, Adobe Photoshop, Adobe Illustrator, Adobe InDesign, and PostScript are registered trademarks of Adobe Systems Incorporated that may ...only be used or copied in this document is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. ii Adobe Illustrator CS Scripting Guide Copyright 2000, 2002-2003 Adobe...
...of their respective holders. Adobe, the Adobe logo, Adobe Acrobat, Adobe Photoshop, Adobe Illustrator, Adobe InDesign, and PostScript are registered trademarks of Adobe Systems Incorporated that may ...only be used or copied in this document is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. ii Adobe Illustrator CS Scripting Guide Copyright 2000, 2002-2003 Adobe...
Scripting Guide
Page 6
vi Illustrator save options 125 ink 128 ink properties 128 insertion point 129 job options 132 JPEG export options 134 layer, layers 136 line 140 matrix 146 ... 173 path point, path points 176 path point info 178 pattern, patterns 179 pattern color info 180 PDF options 181 PDF save options 183 Photoshop options 188 Photoshop export options 190 placed item, placed items 192 plugin item, plugin items 194 PNG24 export options 194 PNG8 export options 196 polygon 199 postscript...
vi Illustrator save options 125 ink 128 ink properties 128 insertion point 129 job options 132 JPEG export options 134 layer, layers 136 line 140 matrix 146 ... 173 path point, path points 176 path point info 178 pattern, patterns 179 pattern color info 180 PDF options 181 PDF save options 183 Photoshop options 188 Photoshop export options 190 placed item, placed items 192 plugin item, plugin items 194 PNG24 export options 194 PNG8 export options 196 polygon 199 postscript...
Scripting Guide
Page 125
.... default: false 12 Aug 03 Adobe Illustrator CS Scripting Guide 125 Illustrator preferences Specifies preferences for Illustrator 9 or greater documents. See the save options - Properties Property R/O Value type best type class type default type properties R/O type class R/O type class R/O type class record PDF file options R/O PDF options Photoshop file options R/O Photoshop options What it is The best...
.... default: false 12 Aug 03 Adobe Illustrator CS Scripting Guide 125 Illustrator preferences Specifies preferences for Illustrator 9 or greater documents. See the save options - Properties Property R/O Value type best type class type default type properties R/O type class R/O type class R/O type class record PDF file options R/O PDF options Photoshop file options R/O Photoshop options What it is The best...
Scripting Guide
Page 188
...newFilePath to destinationPath & fileName & ".pdf" tell application "Illustrator CS" open command in file newFilePath as alias list set destinationFolder to choose folder with prompt "Destination folder?" Table 4.65 Photoshop options - Properties Property R/O Value type best type class ...} close current document saving no end tell end repeat end SaveFilesAsPDF -- SaveFilesAsPDF(fileList, destinationFolder) Photoshop options You can supply options when opening a Photoshop file. Call handler set sourceFolder to choose folder with prompt "Source folder?" 188 AppleScript Reference...
...newFilePath to destinationPath & fileName & ".pdf" tell application "Illustrator CS" open command in file newFilePath as alias list set destinationFolder to choose folder with prompt "Destination folder?" Table 4.65 Photoshop options - Properties Property R/O Value type best type class ...} close current document saving no end tell end repeat end SaveFilesAsPDF -- SaveFilesAsPDF(fileList, destinationFolder) Photoshop options You can supply options when opening a Photoshop file. Call handler set sourceFolder to choose folder with prompt "Source folder?" 188 AppleScript Reference...
Scripting Guide
Page 189
..., pixel aspect ratio correction:false} end tell 12 Aug 03 default: true If true, layers should be preserved when the document is converted; Adobe Illustrator CS Scripting Guide 189 Table 4.65 Photoshop options - default: true If true, slices should be preserved when the document is converted; Example 44.1 ---- Properties Property R/O Value type pixel aspect...
..., pixel aspect ratio correction:false} end tell 12 Aug 03 default: true If true, layers should be preserved when the document is converted; Adobe Illustrator CS Scripting Guide 189 Table 4.65 Photoshop options - default: true If true, slices should be preserved when the document is converted; Example 44.1 ---- Properties Property R/O Value type pixel aspect...
Scripting Guide
Page 190
... nested layers of the exported image (in the command reference for additional details. default: false Specifies the resolution of the Illustrator document should be preserved when exporting the document; See the export command in dots per inch); default: true If true,... boolean color space compatibility compound shapes Valid values: • Gray • RGB • CMYK Valid values: • Photoshop 5 • Photoshop 8 boolean editable text boolean embed ICC profile boolean hidden layers boolean image map nested layers boolean boolean resolution slices warnings real ...
... nested layers of the exported image (in the command reference for additional details. default: false Specifies the resolution of the Illustrator document should be preserved when exporting the document; See the export command in dots per inch); default: true If true,... boolean color space compatibility compound shapes Valid values: • Gray • RGB • CMYK Valid values: • Photoshop 5 • Photoshop 8 boolean editable text boolean embed ICC profile boolean hidden layers boolean image map nested layers boolean boolean resolution slices warnings real ...
Scripting Guide
Page 191
Properties (Continued) Property R/O Value type What it is an alias to a folder where the Photoshop files -- Adobe Illustrator CS Scripting Guide 191 Table 4.66 Photoshop export options - It is not necessary to file newFilePath as layered Photoshop files. are to be provided for all files in fileList tell application "Finder" to set fileName to name of aFile...
Properties (Continued) Property R/O Value type What it is an alias to a folder where the Photoshop files -- Adobe Illustrator CS Scripting Guide 191 Table 4.66 Photoshop export options - It is not necessary to file newFilePath as layered Photoshop files. are to be provided for all files in fileList tell application "Finder" to set fileName to name of aFile...
Scripting Guide
Page 260
... alias. This script exports the current document as JPEG set newFilePath to (path to desktop folder as string) & "Sample.jpg" tell application "Illustrator CS" export current document to newFilePath as The export options for the specified file type Example 90.1 -- 260 AppleScript Reference export Exports the specified document.... What it is Objects supported object reference The document to export • document Returns nothing to [file] file specification as JPEG/Photoshop/ SVG/PNG8/PNG24/ GIF with options anything The file to export the document as JPEG with the term file.
... alias. This script exports the current document as JPEG set newFilePath to (path to desktop folder as string) & "Sample.jpg" tell application "Illustrator CS" export current document to newFilePath as The export options for the specified file type Example 90.1 -- 260 AppleScript Reference export Exports the specified document.... What it is Objects supported object reference The document to export • document Returns nothing to [file] file specification as JPEG/Photoshop/ SVG/PNG8/PNG24/ GIF with options anything The file to export the document as JPEG with the term file.
Scripting Guide
Page 326
See the Export method for all properties. default value: true R/O Application object The Illustrator Application object AiPhotoshopCompatibility Specifies which may be provided for any properties not specified. 12 Aug 03 values: (72-2400) default: 150 ... WriteLayers Boolean If true, the exported image should be anti-aliased; default: true Double The resolution of the original document's structure as a Photoshop file. Default values will be supplied when exporting a document as possible when exporting; default: Photoshop8 Boolean If true, text objects should be ...
See the Export method for all properties. default value: true R/O Application object The Illustrator Application object AiPhotoshopCompatibility Specifies which may be provided for any properties not specified. 12 Aug 03 values: (72-2400) default: 150 ... WriteLayers Boolean If true, the exported image should be anti-aliased; default: true Double The resolution of the original document's structure as a Photoshop file. Default values will be supplied when exporting a document as possible when exporting; default: Photoshop8 Boolean If true, text objects should be ...
Scripting Guide
Page 327
...default: white Boolean If true, the exported image should be saved with a color; Adobe Illustrator CS Scripting Guide 327 Example 16.1 This example exports the current document as a 24-bit PNG file. default: true R/O Application object The Illustrator Application object Boolean If true, the exported image should use when matting the art board... is AntiAliasing Application ArtBoardClipping HorizontalScale Matte MatteColor SaveAsHTML Transparency VerticalScale Boolean If true, the exported image should be supplied when exporting a document as a Photoshop 5 file with layers.
...default: white Boolean If true, the exported image should be saved with a color; Adobe Illustrator CS Scripting Guide 327 Example 16.1 This example exports the current document as a 24-bit PNG file. default: true R/O Application object The Illustrator Application object Boolean If true, the exported image should use when matting the art board... is AntiAliasing Application ArtBoardClipping HorizontalScale Matte MatteColor SaveAsHTML Transparency VerticalScale Boolean If true, the exported image should be supplied when exporting a document as a Photoshop 5 file with layers.
Scripting Guide
Page 401
...Photoshop file. Dim appRef As New Illustrator.Application Dim saveOptions As New Illustrator.PDFSaveOptions saveOptions.ColorCompression = aiJPEGHigh saveOptions.Compatibility = aiAcrobat5 PhotoshopFileOptions You can only be provided for all properties. Default values will be supplied in conjunction with the SaveAs method. default: true 12 Aug 03 Adobe Illustrator CS... Scripting Guide 401 Notes PDF save the frontmost document as PDF. It is converted; Example 54.1 This script illustrates how to specify values for any ...
...Photoshop file. Dim appRef As New Illustrator.Application Dim saveOptions As New Illustrator.PDFSaveOptions saveOptions.ColorCompression = aiJPEGHigh saveOptions.Compatibility = aiAcrobat5 PhotoshopFileOptions You can only be provided for all properties. Default values will be supplied in conjunction with the SaveAs method. default: true 12 Aug 03 Adobe Illustrator CS... Scripting Guide 401 Notes PDF save the frontmost document as PDF. It is converted; Example 54.1 This script illustrates how to specify values for any ...
Scripting Guide
Page 412
... The color management profile mode; Table 5.116 Preferences - Properties Property R/O Value type What it is Application Parent PDFFileOptions PhotoshopFileOptions R/O Application object The Illustrator Application object R/O Variant The object's container R/O PDFFileOptions Options to use when opening or placing a Photoshop file PrintColorManagementOptions Contains information used for PDF and Photoshop files. 412 textRef.Left = x appRef.Redraw y = y -
... The color management profile mode; Table 5.116 Preferences - Properties Property R/O Value type What it is Application Parent PDFFileOptions PhotoshopFileOptions R/O Application object The Illustrator Application object R/O Variant The object's container R/O PDFFileOptions Options to use when opening or placing a Photoshop file PrintColorManagementOptions Contains information used for PDF and Photoshop files. 412 textRef.Left = x appRef.Redraw y = y -
Scripting Guide
Page 476
... aiBlackInk aiCustomInk Visual Basic Reference What it means: The type of the gradient, radial or linear The color space of a raster item or an exported Photoshop 5 file 12 Aug 03
... aiBlackInk aiCustomInk Visual Basic Reference What it means: The type of the gradient, radial or linear The color space of a raster item or an exported Photoshop 5 file 12 Aug 03
Printing Guide
Page 5
... but you can also be individually selected in Illustrator CS removes the live and cannot be flattened. Printer's marks (trim, registration, color bar, and page information marks) can also set printer's marks and bleeds when saving to Adobe Photoshop®, InDesign®, and Acrobat® ...6.0 Professional, flattening in Illustrator CS, so you can set a uniform distance along all your own as you print or export it ...
... but you can also be individually selected in Illustrator CS removes the live and cannot be flattened. Printer's marks (trim, registration, color bar, and page information marks) can also set printer's marks and bleeds when saving to Adobe Photoshop®, InDesign®, and Acrobat® ...6.0 Professional, flattening in Illustrator CS, so you can set a uniform distance along all your own as you print or export it ...
Printing Guide
Page 7
... older version of the predefined transparency flattener presets, or create your settings in order to Adobe PDF 1.3. Photoshop users can be flattened when saving to be used in Illustrator CS: • Illustrator PDF for optimal preservation of Unicode character encoding, and makes sharing documents across platforms easier because the same font...
... older version of the predefined transparency flattener presets, or create your settings in order to Adobe PDF 1.3. Photoshop users can be flattened when saving to be used in Illustrator CS: • Illustrator PDF for optimal preservation of Unicode character encoding, and makes sharing documents across platforms easier because the same font...
Printing Guide
Page 8
... using any other functionality, you won't have to overprint. You'll immediately feel the more readily, maintaining as possible. There is a tighter integration between Photoshop and Illustrator CS, with transparency and are set to keep two versions of the layer definitions as much of your original file. confident...
... using any other functionality, you won't have to overprint. You'll immediately feel the more readily, maintaining as possible. There is a tighter integration between Photoshop and Illustrator CS, with transparency and are set to keep two versions of the layer definitions as much of your original file. confident...
Printing Guide
Page 9
... Overprints, which flattens transparency in the artwork. Both Adobe InDesign and Adobe Photoshop place native Illustrator files. For details, see "New Adobe Text Engine." Export: Other file formats are available for...Illustrator Legacy EPS will be done within Illustrator, in Illustrator. Illustrator CS uses the currently selected flattening preset to determine what settings to create EPS files for later editing in many situations designers create files from other applications, specifically Adobe InDesign, Adobe Photoshop...
... Overprints, which flattens transparency in the artwork. Both Adobe InDesign and Adobe Photoshop place native Illustrator files. For details, see "New Adobe Text Engine." Export: Other file formats are available for...Illustrator Legacy EPS will be done within Illustrator, in Illustrator. Illustrator CS uses the currently selected flattening preset to determine what settings to create EPS files for later editing in many situations designers create files from other applications, specifically Adobe InDesign, Adobe Photoshop...
Printing Guide
Page 11
...unnecessary and not recommended for how to the clipboard. The default is important, choose PDF only as AICB (Adobe Illustrator Clipboard) cannot preserve transparency. • In order for that link. • Edit Original: Open the ...Photoshop) and discard transparency, select Preserve Paths. The palette uses the following icons to indicate the artwork's status: Missing artwork 9 Modified artwork Transparency interaction Linked artwork The Links palette flyout menu (accessed via the triangle in the Adobe Creative Suite File Handling & Clipboard preferences: Illustrator CS...
...unnecessary and not recommended for how to the clipboard. The default is important, choose PDF only as AICB (Adobe Illustrator Clipboard) cannot preserve transparency. • In order for that link. • Edit Original: Open the ...Photoshop) and discard transparency, select Preserve Paths. The palette uses the following icons to indicate the artwork's status: Missing artwork 9 Modified artwork Transparency interaction Linked artwork The Links palette flyout menu (accessed via the triangle in the Adobe Creative Suite File Handling & Clipboard preferences: Illustrator CS...
Printing Guide
Page 12
... over how spot colors are given the option to Convert Photoshop Layers to InDesign prints at high resolution, but cannot be created/edited within Illustrator. Text editability: Illustrator CS and Photoshop CS now share the same underlying text composition technology making text ...However, you are handled. Linked PDF files: When placing PDF files into Illustrator CS, including Photoshop multitone files, you import artwork from Illustrator to Objects. Importing layers from Illustrator > Preferences > File Handling & Clipboard in Mac OS, and Edit > Preferences > ...
... over how spot colors are given the option to Convert Photoshop Layers to InDesign prints at high resolution, but cannot be created/edited within Illustrator. Text editability: Illustrator CS and Photoshop CS now share the same underlying text composition technology making text ...However, you are handled. Linked PDF files: When placing PDF files into Illustrator CS, including Photoshop multitone files, you import artwork from Illustrator to Objects. Importing layers from Illustrator > Preferences > File Handling & Clipboard in Mac OS, and Edit > Preferences > ...
Printing Guide
Page 13
...le is flattened, and often completely rasterized. Or far better is to print directly from Illustrator CS, where you can 't be merged; To move editable text between Photoshop and 11 Illustrator, copy and paste the text instead. ing layers. • Layer sets that use this work... flow for printing Illustrator artwork is no longer possible so for last-minute changes, one Placing Illustrator art in QuarkXPress A very ...
...le is flattened, and often completely rasterized. Or far better is to print directly from Illustrator CS, where you can 't be merged; To move editable text between Photoshop and 11 Illustrator, copy and paste the text instead. ing layers. • Layer sets that use this work... flow for printing Illustrator artwork is no longer possible so for last-minute changes, one Placing Illustrator art in QuarkXPress A very ...