Adobe 65010248 Scripting Guide - Page 13
for example, Support for JIS90 and JIS04 glyph encoding/forms was added
UPC - 883919156484
View all Adobe 65010248 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 13 highlights
CHAPTER 1: Introduction Changes since CS3 13 ➤ A new AutoKernType, MetricsRomanOnly, specifies metrics-Roman-only kerning. ➣ AppleScript - character: MetricsRomanOnly, character style: MetricsRomanOnly, line: MetricsRomanOnly, paragraph: MetricsRomanOnly, paragraph style: MetricsRomanOnly, word: MetricsRomanOnly ➣ JavaScript - AutoKernType.METRICSROMANONLY ➣ VBScript - AiAutoKernType.aiMetricsRomanOnly ➤ A new FlashExportStyle, ArtBoardsToFiles, enables each artboard in a document to be exported to a separate SWF file. ➣ AppleScript - export style: Artboards to Files ➣ JavaScript - FlashExportStyle.ARTBOARDSTOFILES ➣ VBScript - AiFlashExportStyle.aiArtboardsToFiles ➤ The CropBounds PrintingBounds constant has become obsolete, with the modification of artboards to support the new, multiple-artboard feature. ➤ Support for JIS90 and JIS04 glyph encoding/forms was added to AlternateGlyphsForm; for example: ➣ AppleScript - alternate glyphs: jis90 ➣ JavaScript - AlternateGlyphsForm.JIS90 ➣ VBScript - AiAlternateGlyphsForm.aiJIS90Form ➤ New properties were added to the Application class: build number and locale; for example: ➣ AppleScript - build number of application ➣ JavaScript - app.buildNumber ➣ VBScript - App.BuildNumber ➤ A new property in the Document class, RasterEffectSettings, contains a document's raster effect settings. ➣ AppleScript - raster effect settings of document 1 ➣ JavaScript - app.activeDocument.rasterEffectSettings ➣ VBScript - App.ActiveDocument.RasterEffectSettings ➤ A new method was added to the Application class, ConvertSampleColors, which converts a color from one color space to another. ➣ AppleScript - Set cmykColor to convert sample color source color space RGB source color rgbColor destination color space CMYK color conversion purpose default purpose ➣ JavaScript - var cmykColor = app.convertSampleColor(ImageColorSpace.RGB, new Array(93, 32, 10), ImageColorSpace.CMYK, ColorConvertPurpose.defaultpurpose); ➣ VBScript - cmykColor = appRef.ConvertSampleColor(2, Array(93, 32, 10), 3, 0)