1182
Adobe Illustrator CS6 Type Library

Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 2: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

JavaScriptReferenceGuideScriptingisoneofthemostpowerfulfeaturesinIllustrator.Itcansavelotsoftime:almostanythingyoucandowiththeuserinterface,youcandowithscripts,andthereareevenafewthingsyoucandoinscriptingthatyoucannotdofromwithintheuserinterface.Thecontentsontherightiscategorizedbyfunction;intheindexatthebottom,youcanfindallobjectsinalphabeticalorder.Eachobjectdescriptionlistsitselements,properties,andmethods.Thisentiresitewasentirelycreatedautomatically!Ohwow-readmore!

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobeIllustratorFileexportoptions

Page 3: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

classesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 4: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6

Page 5: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Aboutthesepages TheExtendScriptToolkit

Editorcomeswithabuilt-inHelpfunction,whichdisplaysallobjectsaccessibleinJavaScriptforInDesign,Bridge,Illustrator,andPhotoshop.ItdoessobysendingarequesttothetargetprogramtooutputanXMLdatafile,containingtheprototypesanddefinitionsforallofitsscriptablecomponents.ThisXMLfileissavedinacache(presumablybecauseit'salengthyoperation)andsubsequentiallydisplayedwhenrequested.Ifitdetectsanewplugin,therequestissentagainandtheXMLfileisrebuiltfromscratch.Thatmeansthatonlinehelpforanynewscriptableplugincommandsareavailableimmediatelyforyournewscripts.Amazing!

XMLisaveryreadabledataformat...ifyou'reabitheadlikeme!Butwouldn'titbenicetobeabletoformatthishelptextjustasyoulike,andbereadable(and

Page 6: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

searchable!)inyourfavouriteprogram,suchasyourwebbrowser?Well,theXMLformathasauniqueadvantageoverjustaboutanyotherdatafile.It'shighlystructured,andthiscontentcanbemanipulatedusingXSLT—theExtensibleStylesheetLanguageTransformationslanguage,asdefinedbytheWorldWideWebConsortium(W3C).AnXSLTstylesheetcansortandmanipulateXMLinput,insertallkindsofextradata(suchas,oh,acopyrightmanifestatthetopofeveryoutput),andwritetheresulttooneormoreoutputfiles.Whathasthattodowiththese750pagesofHTML?Ididn'tcreateasingleoneofthem.(Thispageiscreated'AllByHand'TM—butit'snotpartofAdobe'sXMLfiles.)

SoIwroteanXSLTstylesheettoread,parse,split,andsortthehugeinputfile,andtooutputitasformattedandhyperlinkedHTMLpages.Thiswasnomeantaskatall—theinputfileisover

Page 7: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

113,000lineslong,andthelatestversionofthestylesheetcontainsjustunderathousandlines.Allinall,ittookmemorethan50hoursofhardworktocreatetheoutputyouseebeforeyou.Butwait!couldn'tIjusthavesearch-and-replacedtheXMLcommandsintoHTML?Sure—manuallysortingandsuch,butstilldoable.ButifIeverwanttochangesomething—say,Iwant4columnsofindexinsteadof3,orIdon'twanttousetablesanymore,butrealCSS3columns—allIhavetodoisre-writea(small)partoftheXSLTstylesheetandlettheSaxonXSLTinterpretergoovertheXMLagain.IfmyinstallationofInDesignisupgradedwithsomescriptableplugin,allIhavetodoisrunSaxonagain.SincetheXMLhelpforCS4hasthesameformatting,IcanrunSaxonagainonitshelpfile.Andthereyouhaveit!Anotherentirelynewsetofmorethan750files,allproperlyindexedandhyperlinked,withoutmedoinganymorethan

Page 8: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

changinghowitshouldlook!a

UnderstandingXMLiseasy,especiallyifyouarewell-versedinHTML.Ifthelatter,youshouldreallyknowaboutXHTML—thewell-formattedyoungerbrotherofthatplainoldtack-together-with-sticky-tapethatgrewsobloatedovertheyears.XMLisevenmoresostructured,andthestepovershouldn'tbedifficult.XSLTissomethingquiteelse.Firstoff,it'sdefinedintermsofXML(meaning:youcanrunanXSLTstylesheetoveranXSLTstylesheet,forexampletoformatitforprintingorviewing).It'saprogramminglanguage,butitdoesn'tworkinthedo-this-then-thatsequentialsteps;instead,it'saprocedurallanguage,anditdescribeswhattodooneachandeveryXMLelementitencountersintheinputXMLdocument.WritingyourfirstXSLTstylesheetcanbefrustrating(usually,becauseyourfirstattemptsdon'tappeartodoanythingatall)untilyou

Page 9: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

getintothepropermindset.SoonyouwillbescanningeveryfolderonyourcomputerforXMLfilestoexamine!(MacOSXusers:a.plistconfigurationfileisalsoXML;lotsofotherfilesinthatsystemareaswell.)

So,whydidIworksohardonwritingthesheetforthis?Well,itwasfuntocreatesomethingnew—agoodreasoninitself.Besides,Ineededthetraining.Asatypesetter,oneofmyupcomingjobsincludesadictionarythatisbeingassembledasExceldata.Iexperimentedwithasmalldataset,exportingitfromExcelasXML,andthenconvertingittoplaintext,sortingentriesandconcatenatingduplicatesallinonego.AfterthatIreckoned,"INX"—InDesign'scompatibilityfileformat—"isalsoanXMLfile",andwentontoincludeallnecessaryformatting,frompagesandparagraphs,rightuptothestyleandformattingofindividualwords.Saxonstilldidn'tbreakintoasweat—andnowallIhavetodoifthe

Page 10: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

completedatacomesin,isexportittoXML,runmysheetoverittocreateanINXoutputfile,andopenthatonewithInDesign.Thepublisherwillbeamazedifhereceivesacompletesetofproofswithinacoupleofhours(let'sbegenerous),nomatterifit'sahundredpagesofoutputorathousand.Howdoesthatsoundforpagethroughput!?

AcknowledgementsThefirstCHMconversionofthefilesforCS3wasdonebyfellowscriptingenthousiastABCGREEN.Additionally,hehelpedmesetupmysystemtocompileotherversionsaswell.Thanks,mate!

NoteaDuetoaharddiskcrashofmyWindowsmachineIlostallofmyinstalledprograms.Fortunately,mygoodfriendRenéKramer(1967-2010)wasabletorescuemost(ifnotall)ofmydata.Thanks,René-thatbottleofwhiskeywaswellearned.Enjoyit,whereeveryouare.SothisversionisnotcreatedwithSaxononaWindowscomputer.WorkingonmyMac,IdownloadedKernowforSaxon.Theolderversion1.4comescompletewithaJavainterfaceandSaxon8B,andtomysurprise(andrelief)ittookjust

Page 11: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

afewclickstore-generatetheentireHelpsetanew.IsaiditbeforeandI'llsayitagain:SupportOpenSourceSoftware!

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 12: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 13: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ContentsJavaScriptBaseClasses

BasicJavaScriptprogrammingstartshere.

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobeIllustrator

$ArrayBooleanDateErrorFileFolderFunctionGlobalElementsMathNamespaceNumberObjectQNameReflectionReflectionInfoRegExpSocketStringUnitValueXMLXMLList

Page 14: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 15: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 16: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ContentsSuitethatappliestoallapplications

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobeIllustrator

ApplicationDocument

Page 17: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 18: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 19: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

ScriptingcommandsandclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustrator

AntiAliasingMethodArtClippingOptionArtStyleArtboardAutoCADColorsAutoCADCompatibilityAutoCADExportFileFormatAutoCADExportOptionAutoCADGlobalScaleOptionAutoCADRasterFormatAutoCADUnitBlendAnimationTypeBlendModesBlendsExpandPolicyBrushColorConversionColorDestinationColorModelColorProfileCompatibilityCompoundPathItemCompressionQualityCoordinateSystemCropOptionsDocumentArtboardLayoutDocumentColorSpaceDocumentPresetDocumentPresetTypeDocumentPreviewModeDocumentRasterResolutionDocumentTransparencyGridDownsampleMethodEPSPostScriptLevelEnum

Page 20: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FilesaveoptionsclassesforAdobeIllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

EPSPreviewFXGVersionFiltersPreservePolicyFlashExportStyleFlashExportVersionFlashImageFormatFlashJPEGMethodFlashPlaybackSecurityGradientGradientStopGradientTypeGradientsPreservePolicyGraphItemGroupItemImageColorSpaceJavaScriptExecutionModeJustificationKnockoutStateLayerLayerOrderTypeLegacyTextItemMeshItemMonochromeCompressionNonNativeItemOutputFlatteningPDFBoxTypePDFChangesAllowedEnumPDFCompatibilityPDFOverprintPDFPrintAllowedEnumPDFTrimMarkWeightPDFXStandardPageItemPathItemPathPointPathPointSelectionPerspectiveGridPlaneTypePhotoshopCompatibilityPlacedItem

Page 21: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PluginItemPointTypePolarityValuesPreferencesPrinterPostScriptLevelEnumRasterEffectOptionsRasterItemRasterLinkStateRasterizationColorModelRasterizeOptionsRulerUnitsSVGCSSPropertyLocationSVGDTDVersionSVGDocumentEncodingSVGFontSubsettingSVGFontTypeSaveOptionsScreenModeSpotColorKindStrokeCapStrokeJoinSymbolSymbolItemSymbolRegistrationPointTIFFByteOrderTabStopAlignmentTabStopInfoTagTextAntialiasTextFontTextFrameItemTextOrientationTextPreservePolicyTextTypeTransformationUserInteractionLevelVariableKindViewZOrderMethod

Page 22: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 23: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 24: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ContentsColorclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobeIllustrator

CMYKColorColorColorConvertPurposeGradientColorGrayColorLabColorNoColorPatternPatternColorRGBColorSpotSpotColorSwatchSwatchGroup

Page 25: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 26: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 27: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

TextprocessingcommandsandclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustrator

AlternateGlyphsFormAutoKernTypeAutoLeadingTypeBaselineDirectionTypeBurasagariTypeEnumCaseChangeTypeCharacterAttributesCharacterStyleFigureStyleTypeFirstBaselineTypeFontBaselineOptionFontCapsOptionFontOpenTypePositionOptionInsertionPointKinsokuOrderEnumLanguageTypeParagraphAttributesParagraphStyleStoryStyleRunAlignmentTypeTextPathTextRangeWariChuJustificationType

Page 28: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FilesaveoptionsclassesforAdobeIllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 29: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 30: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

TransformationmatrixeventsandclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptions

Matrix

Page 31: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

classesforAdobeIllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 32: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 33: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

Classesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustrator

Page 34: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FilesaveoptionsclassesforAdobeIllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 35: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 36: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

FileopeningoptionsclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobe

LibraryTypeOpenOptionsOpenOptionsAutoCADOpenOptionsPDFOpenOptionsPhotoshop

Page 37: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

IllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 38: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 39: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

FilesaveoptionsclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobe

EPSSaveOptionsFXGSaveOptionsIllustratorSaveOptionsPDFSaveOptions

Page 40: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

IllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 41: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 42: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

FileexportoptionsclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobe

ColorDitherMethodColorReductionMethodDocumentTypeExportOptionsAutoCADExportOptionsFlashExportOptionsGIFExportOptionsJPEGExportOptionsPNG24ExportOptionsPNG8ExportOptionsPhotoshopExportOptionsSVGExportOptionsTIFFExportTypeImageCaptureOptions

Page 43: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

IllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 44: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 45: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

CommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehavior

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobe

DataSetVariable

Page 46: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

IllustratorFilesaveoptionsclassesforAdobeIllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 47: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 48: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

Miscellaneousstandardeventsandclasses

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobe

Page 49: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

IllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 50: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 51: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents

PrintingclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustrator

FontSubstitutionPolicyInkInkInfoInkPrintStatusInkTypePPDFilePPDFileInfoPageMarksTypesPaperPaperInfoPostScriptImageCompressionTypePrintArtworkDesignationPrintColorIntentPrintColorManagementOptionsPrintColorProfilePrintColorSeparationModePrintColorSeparationOptionsPrintCoordinateOptionsPrintFlattenerOptionsPrintFontDownloadModePrintFontOptionsPrintJobOptionsPrintOptionsPrintOrientationPrintPageMarksOptionsPrintPaperOptionsPrintPositionPrintPostScriptOptionsPrintTilingPrinterPrinterColorModePrinterInfoPrinterTypeEnumPrintingBounds

Page 52: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FilesaveoptionsclassesforAdobeIllustratorFileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

ScreenScreenInfoScreenSpotFunctionTrappingType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 53: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 54: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ContentsTracingclassesforAdobeIllustrator

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobeIllustrator

TracingColorTypeTracingMethodTypeTracingModeTypeTracingObjectTracingOptionsViewType

Page 55: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FileexportoptionsclassesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 56: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 57: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents Collections

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobeIllustratorFileexportoptions

ArtStylesArtboardsBrushesCharacterStylesCharactersCompoundPathItemsDataSetsDocumentsGradientStopsGradientsGraphItemsGroupItemsInsertionPointsLayersLegacyTextItemsLinesMeshItemsNonNativeItemsPageItemsParagraphStylesParagraphsPathItemsPathPointsPatternsPlacedItemsPluginItemsRasterItemsSpotsStoriesSwatchGroupsSwatchesSymbolItemsSymbolsTagsTextFontsTextFrameItems

Page 58: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

classesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

TextRangesVariablesViewsWords

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 59: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 60: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents OtherClasses

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobeIllustratorFileexportoptions

PointRectangle

Page 61: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

classesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 62: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AdobeIllustratorCS6TypeLibrary

Page 63: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Contents ScriptUIClasses

Don'tlikethepanelsanddialogsAdobecameupwith?Createyourownandseeifyoucandobetter.

JavaScriptBaseClassesSuitethatappliestoallapplicationsScriptingcommandsandclassesforAdobeIllustratorColorclassesforAdobeIllustratorTextprocessingcommandsandclassesforAdobeIllustratorTransformationmatrixeventsandclassesforAdobeIllustratorClassesusedonlyforcreatingpathitems.Cannotbeusetoaccesspageitems.FileopeningoptionsclassesforAdobeIllustratorFilesaveoptionsclassesforAdobeIllustratorFileexportoptions

BoundsButton(SUI)Checkbox(SUI)DimensionDrawStateDropDownListEditTextEnvironmentEvent(SUI)Events(SUI)FlashPlayerGroup(SUI)IconButtonKeyboardStateLayoutManagerListBox(SUI)ListItemPanel(SUI)Point(SUI)ProgressbarRadioButton(SUI)ScriptUIScriptUIBrushScriptUIFontScriptUIGraphicsScriptUIImageScriptUIPathScriptUIPenScrollbarSliderStaticText(SUI)TreeViewUIEventWindow(SUI)

Page 64: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

classesforAdobeIllustratorCommandsandclassesforcontrolingAdobeIllustrator'sdynamicpublishingbehaviorMiscellaneousstandardeventsandclassesPrintingclassesforAdobeIllustratorTracingclassesforAdobeIllustratorCollectionsOtherClassesScriptUIClasses

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 65: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ClassIndex

$ABCDEFGHIJKLMNOP$

$ABCDEFGHIJKLMNOPAlternateGlyphsForm(enum)

AntiAliasingMethod(enum)

Application

Array

ArtClippingOption(enum)

ArtStyle

ArtStyles

Artboard

Artboards

AutoCADColors(enum)

AutoCADCompatibility(enum)

AutoCADExportFileFormat(enum)

$ABCDEFGHIJKLMNOPBaselineDirectionType(enum)

BlendAnimationType(enum)

BlendModes(enum)

BlendsExpandPolicy(enum)

Boolean

Bounds

Brush

Brushes

$ABCDEFGHIJKLMNOPCMYKColor

CaseChangeType(enum)

CharacterAttributes

CharacterStyle

CharacterStyles

Characters

Checkbox(SUI)

Color

ColorConversion(enum)

ColorConvertPurpose(enum)

ColorDestination(enum)

ColorDitherMethod(enum)

ColorModel(enum)

ColorProfile(enum)

ColorReductionMethod(enum)

ColorType(enum)

$ABCDEFGHIJKLMNOPDataSet DocumentColorSpace(enum)

Page 66: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DataSets

Date

Dimension

Document

DocumentArtboardLayout(enum)

DocumentPreset

DocumentPresetType(enum)

DocumentPreviewMode(enum)

DocumentRasterResolution(enum)

DocumentTransparencyGrid(enum)

$ABCDEFGHIJKLMNOPEPSPostScriptLevelEnum(enum)

EPSPreview(enum)

EPSSaveOptions

EditText

Environment

Error

Event(SUI)

Events(SUI)

ExportOptionsAutoCAD

ExportOptionsFlash

ExportOptionsGIF

ExportOptionsJPEG

$ABCDEFGHIJKLMNOPFXGSaveOptions

FXGVersion(enum)

FigureStyleType(enum)

File

FiltersPreservePolicy(enum)

FirstBaselineType(enum)

FlashExportStyle(enum)

FlashExportVersion(enum)

FlashImageFormat(enum)

FlashJPEGMethod(enum)

FlashPlaybackSecurity(enum)

FlashPlayer

$ABCDEFGHIJKLMNOPGradient

GradientColor

GradientStop

GradientStops

Gradients

GradientsPreservePolicy(enum)

GraphItem

GraphItems

Page 67: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GradientType(enum) GrayColor

$ABCDEFGHIJKLMNOPIconButton

IllustratorSaveOptions

ImageCaptureOptions

ImageColorSpace(enum)

Ink

InkInfo

InkPrintStatus(enum)

InkType(enum)

$ABCDEFGHIJKLMNOPJavaScriptExecutionMode(enum) Justification(enum)

$ABCDEFGHIJKLMNOPKeyboardState KinsokuOrderEnum(enum)

$ABCDEFGHIJKLMNOPLabColor

LanguageType(enum)

Layer

LayerOrderType(enum)

Layers

LayoutManager

LegacyTextItem

LegacyTextItems

$ABCDEFGHIJKLMNOPMath

Matrix

MeshItem

MeshItems

$ABCDEFGHIJKLMNOPNamespace

NoColor

NonNativeItem

NonNativeItems

$ABCDEFGHIJKLMNOPObject

OpenOptions

OpenOptionsAutoCAD

OpenOptionsPDF

$ABCDEFGHIJKLMNOP

Page 68: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

$ABCDEFGHIJKLMNOPPDFBoxType(enum)

PDFChangesAllowedEnum(enum)

PDFCompatibility(enum)

PDFOverprint(enum)

PDFPrintAllowedEnum(enum)

PDFSaveOptions

PDFTrimMarkWeight(enum)

PDFXStandard(enum)

PPDFile

PPDFileInfo

PageItem

PageItems

PageMarksTypes(enum)

Panel(SUI)

Paper

PaperInfo

ParagraphAttributes

ParagraphStyle

ParagraphStyles

Paragraphs

PathItem

PathItems

PathPoint

PathPointSelection(enum)

PathPoints

Pattern

PatternColor

Patterns

PerspectiveGridPlaneType(enum)

PhotoshopCompatibility(enum)

PlacedItem

PlacedItems

PluginItem

PluginItems

Point

Point(SUI)

PointType(enum)

PolarityValues(enum)

PostScriptImageCompressionType(enum)

Preferences

PrintArtworkDesignation(enum)

PrintColorIntent(enum)

PrintColorManagementOptions

PrintColorProfile(enum)

$ABCDEFGHIJKLMNOPQName

$ABCDEFGHIJKLMNOPRGBColor RasterLinkState(enum)

Page 69: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RGBColor

RadioButton(SUI)

RasterEffectOptions

RasterItem

RasterItems

RasterLinkState(enum)

RasterizationColorModel(enum)

RasterizeOptions

Rectangle

Reflection

$ABCDEFGHIJKLMNOPSVGCSSPropertyLocation(enum)

SVGDTDVersion(enum)

SVGDocumentEncoding(enum)

SVGFontSubsetting(enum)

SVGFontType(enum)

SaveOptions(enum)

Screen

ScreenInfo

ScreenMode(enum)

ScreenSpotFunction

ScriptUI

ScriptUIBrush

ScriptUIFont

ScriptUIGraphics

ScriptUIImage

ScriptUIPath

ScriptUIPen

Scrollbar

Slider

Socket

Spot

SpotColor

SpotColorKind(enum)

Spots

StaticText(SUI)

Stories

Story

String

$ABCDEFGHIJKLMNOPTIFFByteOrder(enum)

TabStopAlignment(enum)

TabStopInfo

Tag

Tags

TextAntialias(enum)

TextFrameItem

TextFrameItems

TextOrientation(enum)

TextPath

TextPreservePolicy(enum)

TextRange

Page 70: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextAntialias(enum)

TextFont

TextFonts

TextRange

TextRanges

TextType(enum)

$ABCDEFGHIJKLMNOPUIEvent UnitValue

$ABCDEFGHIJKLMNOPVariable

VariableKind(enum)

Variables

View

$ABCDEFGHIJKLMNOPWariChuJustificationType(enum) Window(SUI)

$ABCDEFGHIJKLMNOPXML XMLList

$ABCDEFGHIJKLMNOPZOrderMethod(enum)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 71: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 72: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

$ The$objectprovidesanumberofdebuggingfacilitiesand

informationalmethods.

QuickLinks about,bp,colorPicker,evalFile,gc,getenv,setenv,sleep,toString,write,writeln

Class Property Type Access Description

build string readonly TheExtendScriptbuildinformation.

buildDate Date readonly TheExtendScriptbuilddate.

decimalPoint string r/w Thecharacterusedasthedecimalpointcharacterinformattednumericoutput.

engineName string readonly ThenameofthecurrentExtendScriptengine,ifset.

error Error r/w Themostrecentrun-timeerrorinformation.Assigningerrortexttothispropertygeneratesarun-timeerror;however,thepreferredwaytogeneratearun-timeerroristothrowanErrorobject.

fileName string readonly Thefilenameofthecurrentscript.

flags number r/w Getsorsetslow-leveldebugoutputflags.AlogicalANDofbitflagvalues:•0x0002(2):Displays

Page 73: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

eachlinewithitslinenumberasitisexecuted.•0x0040(64):Enablesexcessivegarbagecollection.Usually,garbagecollectionstartswhenthenumberofobjectshasincreasedbyacertainamountsincethelastgarbagecollection.ThisflagcausesExtendScripttogarbagecollectafteralmosteverystatement.Thisimpairsperformanceseverely,butisusefulwhenyoususpectthatanobjectgetsreleasedtoosoon.•0x0080(128):Displaysallcallswiththeirargumentsandthereturnvalue.•0x0100(256):Enablesextendederrorhandling(seestrict).•0x0200(512):EnablesthelocalizationfeatureofthetoStringmethod.Equivalenttothelocalizeproperty.

global Object readonly Areferencetotheglobalobject,whichcontainstheJavaScriptglobalnamespace.

hiresTimer number readonly Ahigh-resolutiontimer,measuringthetimeinmicroseconds.ThetimerstartswhenExtendScript

Page 74: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

isinitializedduringtheapplicationstartupsequence.EveryreadaccessresetsthetimertoZero.

includePath string readonly Thepathforincludefilesforthecurrentscript.

level number r/w Thecurrentdebugginglevel,whichenablesordisablestheJavaScriptdebugger.Oneof0(nodebugging),1(breakonruntimeerrors),or2(fulldebugmode).

line number readonly Thecurrentlinenumberofthecurrentlyexecutingscript.

locale string r/w Getsorsetsthecurrentlocale.ThestringcontainsfivecharactersintheformLL_RR,whereLLisanISO639languagespecifier,andRRisanISO3166regionspecifier.Initially,thisisthevaluethattheapplicationortheplatformreturnsforthecurrentuser.Youcansetittotemporarilychangethelocalefortesting.Toreturntotheapplicationorplatformsetting,settoundefined,null,ortheemptystring.

Page 75: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

localize bool r/w Settotruetoenabletheextendedlocalizationfeaturesofthebuilt-intoString()method.

memCache number r/w TheExtendScriptmemorycachesize,inbytes.

os string readonly Thecurrentoperatingsystemversioninformation.

Example $.osResult:WindowsXP5.1ServicePack2

screens ArrayofObject

readonly Anarrayofobjectscontaininginformationaboutthedisplayscreensattachedtoyourcomputer.Eachobjecthasthepropertiesleft,top,right,bottom,whichcontainthefourcornersofeachscreeninglobalcoordinates.Apropertyprimaryistrueifthatobjectdescribestheprimarydisplay.

stack string readonly Thecurrentstacktrace.

strict any r/w Setsorclearsstrictmodeforobjectmodification.Whentrue,anyattempttowritetoaread-onlypropertycausesaruntimeerror.Someobjectsdonotpermitthecreationofnew

Page 76: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

propertieswhentrue.

version string readonly TheversionnumberoftheExtendScriptengine.Formattedasathree-partnumberanddescription;forexample:"3.92.95(debug)".

Methods stringabout()ShowsanAboutboxfortheExtendScriptcomponent,andreturnsthetextforthebox.

voidbp([condition:any])Breaksexecutionatthecurrentposition.Parameter Type Description

condition any AstringcontainingaJavaScriptstatementtobeusedasacondition.Ifthestatementevaluatestotrueornonzerowhenthispointisreached,executionstops.(Optional)

numbercolorPicker(color:number)Invokestheplatform-specificcolorselectiondialog,andreturnstheselectedcolor.Parameter Type Description

color number Thecolortobepreselectedinthedialog,as0xRRGGBB,or-1fortheplatformdefault.

anyevalFile(file:File[,timeout:number=10000])Loadsandevaluatesafile.Parameter Type Description

file File Thefiletoload.

timeout number Anoptionaltimeoutinmilliseconds.(default:10000)(Optional)

Page 77: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidgc()InitiatesgarbagecollectionintheExtendScriptengine.

stringgetenv(name:string)Retrievesthevalueofanenvironmentvariable.Parameter Type Description

name string Thenameofthevariable.

voidsetenv(name:string,value:string)Setsthevalueofanenvironmentvariable.Parameter Type Description

name string Thenameofthevariable.

value string Thevalueofthevariable.

voidsleep(msecs:number)Suspendsthecallingthreadforanumberofmilliseconds.Duringasleepperiod,checksat100millisecondintervalstoseewhetherthesleepshouldbeterminated.Thiscanhappenifthereisabreakrequest,orifthescripttimeouthasexpired.Parameter Type Description

msecs number Numberofmillisecondstosleep.

stringtoString()Convertsthisobjecttoastring.

voidwrite(text:any)PrintstexttotheConsole.Parameter Type Description

text any Thetexttoprint.Allargumentsareconcatenated.

voidwriteln(text:any)PrintstexttotheConsole,andaddsanewlinecharacter.Parameter Type Description

text any Thetexttoprint.Allargumentsareconcatenated.

Page 78: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 79: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 80: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Array Anarraywithintegerindexingandalengthproperty.

QuickLinks Array,concat,join,pop,push,reverse,shift,slice,sort,splice,toLocaleString,toSource,toString,unshift

Properties Property Type Access Description

length number r/w Thelengthofthearray

Methods ConstructorArrayArray(length:number[,element:any])Createsandreturnsanewarray.Takesanynumberofparameters,whichbecometheelementsofthearray,orasinglevaluewhichbecomesthelengthofanemptyarray.Notethatyoucannotcreateaone-elementarray,asthesingleparametervalueisinterpretedasthelength.Returnsthenewarray.Parameter Type Description

length number Ifnootherparametersarepassed,theinitiallengthoftheemptyarray.Otherwise,thefirstelement.

element any Ifthereismorethanoneparameter,thearrayisinitializedwiththegivenparameters.(Optional)

Example newArray()newArray(length)newArray(11,22,33,44)

InstancesArrayconcat(value:any)Returnsanewarraycreatedbyconcatenatingthegivenvaluestotheendoftheoriginalarray.Theoriginalarrayisunchanged.Ifanarrayisprovidedasaparametertoconcat(),eachofitselementsareappendedas

Page 81: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

separatearrayelementsattheendofthenewarray.Returnsanewarray,theresultofconcatenationthegivenvaluestotheendoftheoriginalarray.Parameter Type Description

value any Anynumberofvaluestobeaddedtotheendofthearray.Canalsobearrays.

Example array.concat(value1,...valueN)

stringjoin([delimiter:string])Joinsallelementsofthearrayintoastring;optionally,eachelementisseparatedbydelimiter.Returnsthestringcontainingthejoinedelementsanddelimiters.Parameter Type Description

delimiter string Astringusedtoseparateeachelementofthearray.Ifomitted,thearrayelementsareseparatedwithacomma.(Optional)

Example array.join(delimiter)

anypop()Removesthelastelementfromthearray,decreasesthelengthby1,andreturnsthevalueoftheelement.Returnsthevalueofthedeletedarrayelement.

Example array.pop()

numberpush(value:number)Placesoneormorevaluesontotheendofthearrayandincreaseslengthbyn.Returnsthenewlengthofthearray.Parameter Type Description

value number Anynumberofvaluestobepushedontotheendofthearray.

Example array.push(value1,...valueN)

Page 82: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Arrayreverse()Reversestheorderoftheelementsinthearray.Returnsthereversedarray.

Example array.reverse()

anyshift()Removesthefirstelementfromthearray,decreasesthelengthby1,andreturnsthevalueoftheelement.Returnsthevalueofthedeletedarrayelement.

Example array.shift()

Arrayslice()Createsanewarray,whichcontainsasubsetoftheoriginalarray'selements.Theslicebeginswiththeindexstart,andcontinuesupto,butnotincludingtheindex,end.Ifstartorendisanegativenumber,theindexedisresolvedcountingbackwardsfromtheendofthearrayresultingintheelementarray[array.length+negativeIndex].Returnsanewarraycontainingelementsarray[start]througharray[end-1].

Example array.slice(start,end)

voidsort(userFunction:Function)Sortstheelementsofthearrayinplace,usingthegivenfunctiontocomparetoelements.Ifnofunctionisprovided,theelementsaresortedalphabetically.Returnsnoreturnvalue.Parameter Type Description

userFunction Function Auser-suppliedfunctionoftheformuserFunction(a,b)whichreturnslessthan0ifaisgreaterthanb,0ifaandbareequal,andgreaterthan0ifbisgreaterthana.

Example array.sort(userFunction)

Arraysplice(start:number[,num:number][,value:any])Removesnumelementsfromthearraybeginningwithindex,

Page 83: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

start.Optionallyinsertnewelementsbeginningatindexstart.Toensurecontiguity,elementsaremoveduptofillinanygaps.Returnsanewarraycontaininganyelementsdeletedfromtheoriginalarray.Parameter Type Description

start number Theindexofthefirstelementtoremove.Negativevaluesarerelativetotheendofthearray.

num number Thenumberofarrayelementstoremove,includingstart.Ifomitted,allelementsfromarrayindexstarttotheendofthearrayareremoved.(Optional)

value any Alistofoneormorevaluestobeaddedtothearraystartingatindexstart.Mustspecifyavaluefornum,tousethisargument.(Optional)

Example array.splice(start,num,value1,...valuen)

stringtoLocaleString()Convertsanarraytoastringandreturnsthestring(localized).

stringtoSource()Createsastringrepresentationofthisobjectthatcanbefedbacktoeval()tore-createanobject.Worksonlywithbuilt-inclasses.

stringtoString()Convertsanarraytoastringandreturnsthestring.Yieldsthesameresultasarray.join()whencalledwithoutaparameter.Returnsacomma-separatedlistofalltheelementsofthearray.

Example array.toString()

numberunshift(value:any)

Page 84: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Addsoneormoreelementstothebeginningofthearray.Returnsthenewarraylength.Parameter Type Description

value any Thevaluesofoneormoreelementstobeaddedtothebeginningofthearray.

Example array.unshift(value1,...valuen)

Elementof ListItem.subItems

Usedin: anyFunction.apply(thisObj:Object,args:Array)

Return ArrayArray.Array(length:number[,element:any])ArrayArray.concat(value:any)ArrayArray.reverse()ArrayArray.slice()ArrayArray.splice(start:number[,num:number][,value:

any])ArrayFolder.getFiles(mask:any)ArrayRegExp.exec(text:string)ArrayString.match(regexp:RegExp)ArrayXML.inScopeNamespaces()ArrayXML.namespaceDeclarations()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 85: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 86: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Boolean WrapsaBooleanvalue.

QuickLinks Boolean,toSource,toString,valueOf

Methods ConstructorboolBoolean(value:any)CreatesandreturnsanewBooleanobjectsettothevalueoftheargumentconvertedtoaboolean.Parameter Type Description

value any ThevaluetobeconvertedtoaBoolean.

Example newBoolean(value)

InstancesstringtoSource()Createsastringrepresentationofthisobjectthatcanbefedbacktoeval()tore-createanobject.Worksonlywithbuilt-inclasses.

stringtoString()Returnsthestringrepresentationofthevalueofbool.Themethodreturnsthestringtrueiftheprimitivevalueofboolistrue;otherwiseitreturnsthestringfalse.

Example bool.toString()

boolvalueOf()Returnstheprimitivevalueofbool.Themethodreturnstrueiftheprimitivevalueofboolistrue;otherwiseitreturnsfalse.

Example bool.valueOf()

Elementof Button.activeButton.enabledButton.visible

Page 87: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Checkbox.activeCheckbox.enabledCheckbox.valueCheckbox.visibleDrawState.altKeyPressedDrawState.capsLockKeyPressedDrawState.cmdKeyPressedDrawState.ctrlKeyPressedDrawState.hasFocusDrawState.leftButtonPressedDrawState.middleButtonPressedDrawState.mouseOverDrawState.numLockKeyPressedDrawState.optKeyPressedDrawState.rightButtonPressedDrawState.shiftKeyPressedDropDownList.activeDropDownList.enabledDropDownList.visibleEditText.activeEditText.enabledEditText.visibleEvent.bubblesEvent.cancelableEvent.capturesEvent.currentTargetFlashPlayer.activeFlashPlayer.enabledFlashPlayer.visibleGroup.enabledGroup.visibleIconButton.activeIconButton.enabledIconButton.visibleKeyboardState.altKeyKeyboardState.ctrlKeyKeyboardState.metaKeyKeyboardState.shiftKeyListBox.active

Page 88: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ListBox.enabledListBox.visibleListItem.checkedListItem.expandedListItem.selectedPanel.enabledPanel.visibleProgressbar.enabledProgressbar.visibleRadioButton.activeRadioButton.enabledRadioButton.valueRadioButton.visibleScrollbar.activeScrollbar.enabledScrollbar.visibleSlider.activeSlider.enabledSlider.visibleStaticText.activeStaticText.enabledStaticText.visibleTreeView.activeTreeView.enabledTreeView.visibleUIEvent.bubblesUIEvent.cancelableUIEvent.capturesUIEvent.currentTargetWindow.activeWindow.enabledWindow.maximizedWindow.minimizedWindow.visible

Usedin: BooleanButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanButton.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

Page 89: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BooleanCheckbox.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanCheckbox.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanDropDownList.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanDropDownList.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanEditText.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanEditText.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanFlashPlayer.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidFlashPlayer.playMovie([rewind:Boolean=false])BooleanFlashPlayer.removeEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

BooleanGroup.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanGroup.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanIconButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanIconButton.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanListBox.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanListBox.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanPanel.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanPanel.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

Page 90: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BooleanProgressbar.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanProgressbar.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanRadioButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanRadioButton.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanScrollbar.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanScrollbar.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanSlider.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanSlider.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanStaticText.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanStaticText.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanTreeView.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanTreeView.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

UIEventUIEvent.UIEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])

voidUIEvent.initEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,cancelable:Boolean=false])

voidUIEvent.initUIEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])

Page 91: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BooleanWindow.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidWindow.alert(message:String[,title:String][,errorIcon:Boolean=false])

BooleanWindow.confirm(message:String[,noAsDefault:Boolean=false][,title:String])

BooleanWindow.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

Return BooleanButton(SUI).addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanButton(SUI).removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanCheckbox(SUI).addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanCheckbox(SUI).removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanDropDownList.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanDropDownList.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanEditText.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanEditText.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanFlashPlayer.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanFlashPlayer.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanGroup(SUI).addEventListener(eventName:String,handler:Function[,capturePhase:

Page 92: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Boolean=false])BooleanGroup(SUI).removeEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

BooleanIconButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanIconButton.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanListBox(SUI).addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanListBox(SUI).removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanPanel(SUI).addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanPanel(SUI).removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanProgressbar.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanProgressbar.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanRadioButton(SUI).addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanRadioButton(SUI).removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanScrollbar.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanScrollbar.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanSlider.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanSlider.removeEventListener(eventName:String,

Page 93: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

handler:Function[,capturePhase:Boolean=false])BooleanStaticText(SUI).addEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

BooleanStaticText(SUI).removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanTreeView.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanTreeView.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanWindow(SUI).addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanWindow(SUI).confirm(message:String[,noAsDefault:Boolean=false][,title:String])

BooleanWindow(SUI).onClose()BooleanWindow(SUI).removeEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 94: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 95: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Date Adate/timeobject.

QuickLinks Date,UTC,getDate,getDay,getFullYear,getHours,getMilliseconds,getMinutes,getMonth,getSeconds,getTime,getTimezoneOffset,getUTCDate,getUTCDay,getUTCFullYear,getUTCHours,getUTCMilliseconds,getUTCMinutes,getUTCMonth,getUTCSeconds,getYear,parse,setDate,setFullYear,setHours,setMilliseconds,setMinutes,setMonth,setSeconds,setTime,setUTCDate,setUTCFullYear,setUTCHours,setUTCMilliseconds,setUTCMinutes,setUTCMonth,setUTCSeconds,setYear,toDateString,toGMTString,toLocaleDateString,toLocaleString,toLocaleTimeString,toSource,toString,toTimeString,toUTCString,valueOf

Methods ConstructorDateDate(year:number[,month:number=0][,day:number=0][,hours:number=0][,min:number=0][,sec:number=0][,ms:number=0])ReturnsanewDateobjectholdingthecurrentdateandtime.Ifparametersaresupplied,returnsanewDateobjectholdingthesupplieddateandtime.Parameter Type Description

year number Theyearexpressedinfourdigits.

month number(range:0-11)

Anintegervaluefrom0(Jan)to11(Dec).(default:0)(Optional)

day number(range:1-31)

Anintegervaluefrom1to31,Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

hours number(range:0-23)

Anintegervaluefrom0(midnight)to23(11PM).Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

Page 96: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

min number(range:0-59)

Anintegervaluefrom0to59.Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

sec number(range:0-59)

AnIntegervaluefrom0to59.Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

ms number(range:0-999)

Anintegervaluefrom0to999.Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

Example newDate()newDate(2006,9,25,15,30)

ClassDateUTC(year:number[,month:number=0][,day:number=0][,hours:number=0][,min:number=0][,sec:number=0][,ms:number=0])ReturnsthenumberofmillisecondsbetweenmidnightJanuary1,1970,UTC,andthespecifiedtime.Parameter Type Description

year number Theyearexpressedinfourdigits,forexample,2001.Toindicateforayearfrom1900to1999,youcanspecifyavaluefrom0to99.

month number(range:0-11)

Anintegervaluefrom0(Jan)to11(Dec).(default:0)(Optional)

day number(range:1-31)

Anintegervaluefrom1to31,Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

hours number(range:0-23)

Anintegervaluefrom0(midnight)to23(11PM).Ifthisargumentisnotsupplied,itsvalueissetto0.(default:

Page 97: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

0)(Optional)

min number(range:0-59)

Anintegervaluefrom0to59.Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

sec number(range:0-59)

AnIntegervaluefrom0to59.Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

ms number(range:0-999)

Anintegervaluefrom0to999.Ifthisargumentisnotsupplied,itsvalueissetto0.(default:0)(Optional)

Example Date.UTC(year,month,date,hour,min,sec,ms)

Dateparse(text:string)Parsesastring,returninganewDateobject.ThestringshouldbesimilartothestringreturnedbttoString().Parameter Type Description

text string Thestringtoparse.

InstancesnumbergetDate()ReturnsthedayofthemonthofthespecifiedDateobjectinlocaltime.Range:1-31

Example date.getDate()

numbergetDay()ReturnsthedayoftheweekforthespecifiedDateobjectinlocaltime.Thisisanintegerfrom0(Sunday)to6(Saturday).Returnsthedayoftheweekfordate.Range:0-6

Example date.getDay()

numbergetFullYear()ReturnsthefourdigityearofthespecifiedDateobjectinlocaltime.

Page 98: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Example date.getFullYear()

numbergetHours()ReturnsthehourofthespecifiedDateobjectinlocaltime.Range:0-23

Example date.getHours()

numbergetMilliseconds()ReturnsthemillisecondsofthespecifiedDateobjectinlocaltime.Range:0-999

Example date.getMilliseconds()

numbergetMinutes()ReturnstheminutesofthespecifiedDateobjectinlocaltime.Range:0-59

Example date.getMinutes()

numbergetMonth()ReturnsthemonthofthespecifiedDateobjectinlocaltime.Range:0-11

Example date.getMonth()

numbergetSeconds()ReturnsthesecondsofthespecifiedDateobjectinlocaltime.Range:0-59

Example date.getSeconds()

numbergetTime()ReturnsthenumberofmillisecondssincemidnightJanuary1,1970UTCforthespecifiedDateobject.

Example date.getTime()

numbergetTimezoneOffset()Returnsthedifferenceinminutesbetweenthecomputer'slocaltimeandUTC.

Example date.getTimezoneOffset()

numbergetUTCDate()ReturnsthedayofthemonthofthespecifiedDateobject

Page 99: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

accordingtoUTC.Range:1-31

Example date.getUTCDate()

numbergetUTCDay()ReturnsthedayoftheweekforthespecifiedDateobjectaccordingtoUTC.Range:0-6

Example date.getUTCDay()

numbergetUTCFullYear()ReturnsthefourdigityearofthespecifiedDateobjectaccordingtoUTC.

Example date.getUTCFullYear()

numbergetUTCHours()ReturnsthehourofthespecifiedDateobjectaccordingtoUTC.Range:0-23

Example date.getUTCHours()

numbergetUTCMilliseconds()ReturnsthemillisecondsofthespecifiedDateobjectaccordingtoUTC.Range:0-999

Example date.getUTCMilliseconds()

numbergetUTCMinutes()ReturnstheminutesofthespecifiedDateobjectaccordingtoUTC.Range:0-59

Example date.getUTCMinutes()

numbergetUTCMonth()ReturnsthemonthofthespecifiedDateobjectaccordingtoUTC.Range:0-11

Example date.getUTCMonth()

numbergetUTCSeconds()ReturnsthesecondsofthespecifiedDateobjectaccordingtoUTC.Range:0-59

Example date.getUTCSeconds()

numbergetYear()

Page 100: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ReturnstheyearofthespecifiedDateobject,asadifferencefrom1900,inlocaltime.

Example date.getYear()

numbersetDate(date:number)SetsthedayofthemonthofaspecifiedDateobjectaccordingtolocaltime.Returnsthenumberofmillisecondsbetweenthenewdateandmidnight,January1,1970.Parameter Type Description

date number(range:1-31)

Anintegerfrom1to31indicatingthedayofthemonth.

Example date.setDate(date)

numbersetFullYear(year:number)SetstheyearofaspecifiedDateobjectaccordingtolocaltime.Thismethodcanalsosetmonthanddateifthoseargumentsarespecified.Returnsthenumberofmillisecondsbetweenthenewdateandmidnight,January1,1970.Parameter Type Description

year number Afour-digitintegervalueindicatingtheyeartoset.

Example date.setFullYear(year,month,date)

numbersetHours(hour:number)SetsthehoursofaspecifiedDateobjectaccordingtolocaltime.Returnsthenumberofmillisecondsbetweenthenewdateandmidnight,January1,1970.Parameter Type Description

hour number(range:0-23)

Anintegervaluefrom0(midnight)to23(11PM).

Page 101: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Example date.setHours(hour)

numbersetMilliseconds(ms:number)SetsthemillisecondsofaspecifiedDateobjectaccordingtolocaltime.Returnsthenumberofmillisecondsbetweenthenewdateandmidnight,January1,1970.Parameter Type Description

ms number(range:0-999)

Anintegervaluefrom0to999.

Example date.setMilliseconds(ms)

numbersetMinutes(minutes:number)SetstheminutesofaspecifiedDateobjectaccordingtolocaltime.Returnsthenumberofmillisecondsbetweenthenewdateandmidnight,January1,1970.Parameter Type Description

minutes number(range:0-59)

Anintegervaluefrom0to59.

Example date.setMinutes(minutes)

numbersetMonth(month:number)SetsthemonthofaspecifiedDateobjectaccordingtolocaltime.Returnsthenumberofmillisecondsbetweenthenewdateandmidnight,January1,1970.Parameter Type Description

month number(range:0-11)

Anintegervaluefrom0(Jan)to11(Dec).

Example date.setMonth(month)

numbersetSeconds(seconds:number)SetsthesecondsofaspecifiedDateobjectaccordingtolocaltime.Returnsthenumberofmillisecondsbetweenthenewdateand

Page 102: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

midnight,January1,1970.Parameter Type Description

seconds number(range:0-59)

Anintegervaluefrom0to59.

Example date.setSeconds(seconds)

numbersetTime(ms:number)SetsthedateofaspecifiedDateobjectinmillisecondssincemidnight,January1,1970.Returnsthevalueofms.Parameter Type Description

ms number Anintegerindicatingthenumberofmillisecondsbetweenthedatesetandmidnight,January1,1970.

Example date.setTime(ms)

numbersetUTCDate(date:number)SetsthedateofaspecifiedDateobjectaccordingtouniversaltime.Returnsthenumberofmillisecondsbetweenthenewdateandmidnight,January1,1970inUTCtime.Parameter Type Description

date number(range:1-31)

Anintegerfrom1to31indicatingthedayofthemonth.

Example date.setUTCDate(date)

numbersetUTCFullYear(year:number)SetstheyearofaspecifiedDateobjectaccordingtoUTC,canalsosetthemonthanddate.Returnsthenumberofmillisecondsbetweenthedatesetandmidnight,January1,1970,inUTC.Parameter Type Description

year number Theyearexpressedinfourdigits.

Page 103: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Example date.setUTCFullYear(year,month,date)

numbersetUTCHours(hours:number)SetsthehoursofaspecifiedDateobjectaccordingtoUTC.Returnsthenumberofmillisecondsbetweenthedatesetandmidnight,January1,1970,inUTC.Parameter Type Description

hours number(range:0-23)

Anintegervaluefrom0(midnight)to23(11PM)indicatingthehourtobeset.

Example date.setUTCHours(hours)

numbersetUTCMilliseconds(ms:number)SetsthemillisecondsofaspecifiedDateobjectaccordingtoUTC.Returnsthenumberofmillisecondsbetweenthedatesetandmidnight,January1,1970,inUTC.Parameter Type Description

ms number(range:0-999)

Anintegervalueintherangeof0to999indicatingthenumberofmillisecondstoset.

Example date.setUTCMilliseconds(ms)

numbersetUTCMinutes(min:number)SetstheminutesofaspecifiedDateobjectaccordingtoUTC.Returnsthenumberofmillisecondsbetweenthedatesetandmidnight,January1,1970,inUTC.Parameter Type Description

min number(range:0-59)

Anintegervalueintherange0to59indicatingthenumberofminutestobeset.

Example date.setUTCMinutes(min)

numbersetUTCMonth(month:number)SetsthemonthofaspecifiedDateobjectaccordingtoUTC.Returnsthenumberofmillisecondsbetweenthedatesetand

Page 104: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

midnight,January1,1970,inUTC.Parameter Type Description

month number(range:0-11)

Anintegervalueintherange0(Jan.)to11(Dec.)indicatingthemonthtoset.

Example date.setUTCMonth(month)

numbersetUTCSeconds(sec:number)SetsthesecondsofaspecifiedDateobjectaccordingtoUTC.Returnsthenumberofmillisecondsbetweenthedatesetandmidnight,January1,1970,inUTC.Parameter Type Description

sec number(range:0-59)

Anintegervalueintherange0to59indicatingthenumberofsecondstoset.

Example date.setUTCSeconds(sec)

numbersetYear(year:number)SetstheyearofaspecifiedDateobjectaccordingtolocaltime,asadifferencebetweenthecurrentyearand1900.Returnsthenumberofmillisecondsbetweenthedatesetandmidnight,January1,1970.Parameter Type Description

year number Anintegervalueindicatingtheyeartoset.Themethodinterpretsa1-or2-digitvaluetomeanthe1900s;forexample,13isinterpretedtomean1913.

Example date.setYear(year,month,date)

stringtoDateString()Returnsthedateasastring.

stringtoGMTString()ReturnsthedateandtimeadjustedtoGMT(UTC)asastring.

stringtoLocaleDateString()Returnsthedateasalocalized

Page 105: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

string.

stringtoLocaleString()ReturnsastringvaluerepresentingthedateandtimestoredintheDateobjectinhumanreadableformat(localized).

stringtoLocaleTimeString()Returnsthetimeasalocalizedstring.

stringtoSource()Createsastringrepresentationofthisobjectthatcanbefedbacktoeval()tore-createanobject.Worksonlywithbuilt-inclasses.

stringtoString()ReturnsastringvaluerepresentingthedateandtimestoredintheDateobjectinhumanreadableformat.Returnsthefollowingstringisanexampleoftheformatreturnedbythismethod:MonAug13,10:54:21GMT-07002001.

Example date.toString()

stringtoTimeString()Returnsthetimeasastring.

stringtoUTCString()ReturnsthedateandtimeadjustedtoUTCasastring.

numbervalueOf()ThevalueOf()methodreturnsthenumberofmillisecondsthathavepassedsincemidnight,Returnsaninteger.

Elementof $.buildDateEvent.timeStampFile.createdFile.modifiedFolder.createdFolder.modifiedUIEvent.timeStamp

Return DateDate.Date(year:number[,month:number=0][,day:number=0][,hours:number=0][,min:number=0][,sec:number=0][,ms:number=0])

Page 106: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DateDate.UTC(year:number[,month:number=0][,day:number=0][,hours:number=0][,min:number=0][,sec:number=0][,ms:number=0])

DateDate.parse(text:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 107: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 108: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Error Wrapsaruntimeerror.

QuickLinks Error,toSource,toString

Properties Property Type Access Description

description string r/w Theerrormessage.

Methods ConstructorErrorError(msg:string[,file:string][,line:number])CreatesanewErrorobject.Parameter Type Description

msg string Theerrormessage.

file string Thenameofthefile.(Optional)

line number Thelinenumber.(Optional)

InstancesstringtoSource()Createsastringrepresentationofthisobjectthatcanbefedbacktoeval()tore-createanobject.Worksonlywithbuilt-inclasses.

stringtoString()Convertthisobjecttoastring.

Elementof $.error

Return ErrorError.Error(msg:string[,file:string][,line:number])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 109: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 110: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

File Representsafileinthelocalfilesysteminaplatform-

independentmanner.

QuickLinks File,changePath,close,copy,createAlias,decode,encode,execute,getRelativeURI,isEncodingAvailable,open,openDialog,openDlg,read,readch,readln,remove,rename,resolve,saveDialog,saveDlg,seek,tell,toSource,toString,write,writeln

Hierarchy Folder

File

Properties Property Type Access Description

absoluteURI string readonly ThefullpathnameforthereferencedfileinURInotation.

alias bool readonly Iftrue,theobjectreferstoafilesystemaliasorshortcut.

created Date readonly Thecreationdateofthereferencedfile,ornulliftheobjectdoesnotrefertoafileondisk.

creator string readonly InMacOS,thefilecreatorasafour-characterstring.InWindowsorUNIX,valueis"????".

displayName string readonly Thelocalizednameofthereferencedfile,withoutthepathspecification.

encoding string r/w Getsorsetstheencodingforsubsequentread/write

Page 111: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

operations.OneoftheencodingconstantslistedintheJavaScriptToolsGuide.Ifthevalueisnotrecognized,usesthesystemdefaultencoding.Aspecialencoder,BINARY,isusedtoreadbinaryfiles.ItstoreseachbyteofthefileasoneUnicodecharacterregardlessofanyencoding.Whenwriting,thelowerbyteofeachUnicodecharacteristreatedasasinglebytetowrite.

eof bool readonly Whentrue,areadattemptcausedthecurrentpositiontobeattheendofthefile,orthefileisnotopen.

error string r/w Astringcontainingamessagedescribingthemostrecentfilesystemerror.Typicallysetbythefilesystem,butascriptcansetit.Settingthisvalueclearsanyerrormessageandresetstheerrorbitforopenedfiles.Containstheemptystringifthereisnoerror.

exists bool readonly Iftrue,thisobjectreferstoafileorfile-systemaliasthatactuallyexistsinthe

Page 112: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

filesystem.

fsName string readonly Theplatform-specificfullpathnameforthereferencedfile.

fullName string readonly ThefullpathnameforthereferencedfileinURInotation.

hidden bool r/w Whentrue,thefileisnotshownintheplatform-specificfilebrowser.Iftheobjectreferencesafile-systemaliasorshortcut,theflagisalteredonthealias,notontheoriginalfile.

length number r/w Thesizeofthefileinbytes.Canbesetonlyforafilethatisnotopen,inwhichcaseittruncatesorpadsthefilewith0-bytestothenewlength.

lineFeed string r/w Howlinefeedcharactersarewritteninthefilesystem.Oneofthevalues"Windows","Macintosh",or"Unix".

modified Date readonly Thedateofthereferencedfile'slastmodification,ornulliftheobjectdoesnotrefertoafileonthedisk.

name string readonly ThefilenameportionoftheabsoluteURIforthe

Page 113: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

referencedfile,withoutthepathspecification.

parent Folder readonly TheFolderobjectforthefolderthatcontainsthisfile.

path string readonly ThepathportionoftheabsoluteURIforthereferencedfile,withoutthefilename.

readonly bool r/w Whentrue,preventsthefilefrombeingalteredordeleted.Ifthereferencedfileisafile-systemaliasorshortcut,theflagisalteredonthealias,notontheoriginalfile.

relativeURI string readonly ThepathnamefortheobjectinURInotation,relativetothecurrentfolder.

type string readonly Thefiletypeasafour-characterstring.

•InMacOS,theMacOSfiletype.•InWindows,"appl"for.EXEfiles,"shlb"for.DLLfilesand"TEXT"foranyotherfile.

Class Property Type Access Description

fs string readonly Thenameofthefilesystem.ThisisaclasspropertyaccessedthroughtheFileconstructor.

Page 114: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Validvaluesare"Windows","Macintosh",and"Unix".

Methods ConstructorFileFile([path:string])CreatesandreturnsanewFileobjectreferringtoagivenfilesystemlocation.Parameter Type Description

path string Thefullorpartialpathnameofthefile,inplatform-specificorURIformat.Thevaluestoredintheobjectistheabsolutepath.Thefilethatthepathreferstodoesnotneedtoexist.Ifthepathreferstoanexistingfolder:•TheFilefunctionreturnsaFolderobjectinsteadofaFileobject.•ThenewoperatorreturnsaFileobjectforanonexistingfilewiththesamename.(Optional)

Example newFile(path)

Classstringdecode(uri:string)DecodesaUTF-8encodedstringasrequiredbyRFC2396,andreturnsthedecodedstring.SeealsoString.decodeURI().Parameter Type Description

uri string TheUTF-8encodedstringtodecode.

stringencode(name:string)EncodesastringasrequiredbyRFC2396,andreturnstheencodedstring.AllspecialcharactersareencodedinUTF-8andstoredasescapedcharactersstartingwiththepercentsignfollowedbytwohexadecimaldigits.Forexample,thestring"myfile"isencodedas"my%20file".

Page 115: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Specialcharactersarethosewithanumericvaluegreaterthan127,exceptthefollowing:/-_.!~*'()SeealsoencodeURI().Parameter Type Description

name string Thestringtoencode.

boolisEncodingAvailable(name:string)Reportswhetheragivenencodingisavailable.Parameter Type Description

name string Theencodingname.Typicalvaluesare"ASCII","binary",or"UTF-8".Foracompletelistofsupportedencodings,seetheJavaScriptToolsGuide.

FileopenDialog(prompt:string[,filter:any=null][,multiSelect:bool=false])Opensadialogsotheusercanselectoneormorefilestoopen.Opensthebuilt-inplatform-specificfile-browsingdialoginwhichausercanselectanexistingfileormultiplefiles,andcreatesnewFileobjectstorepresenttheselectedfiles.•IftheuserclicksOK,returnsaFileobjectfortheselectedfile,oranarrayofobjectsifmultiplefilesareselected.•Iftheusercancels,returnsnull.Parameter Type Description

prompt string Theprompttext,displayedifthedialogallowsaprompt.

filter any Afilterthatlimitsthetypesoffilesdisplayedinthedialog.(default:null)

•InWindows,afilterexpressionsuchas"Javascriptfiles:*.jsx;Allfiles:*.*".•InMacOS,afilterfunctionthattakesaFileinstanceandreturnstrueifthefileshouldbeincludedinthedisplay,falseif

Page 116: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

itshouldnot.(Optional)

multiSelect bool Whentrue,theusercanselectmultiplefilesandthereturnvalueisanarray.(default:false)(Optional)

FilesaveDialog(prompt:string[,filter:any=null])Opensadialogsotheusercanselectafilenametosaveto.Opensthebuilt-inplatform-specificfile-browsingdialoginwhichausercanselectanexistingfilelocationtowhichtosaveinformation,andcreatesanewFileobjecttorepresenttheselectedfilelocation.•IftheuserclicksOK,returnsaFileobjectfortheselectedfilelocation.•Iftheusercancels,returnsnull.Parameter Type Description

prompt string Theprompttext,displayedifthedialogallowsaprompt.

filter any InWindowsonly,afilterthatlimitsthetypesoffilesdisplayedinthedialog.(default:null)InWindowsonly,afilterexpressionsuchas"Javascriptfiles:*.jsx;Allfiles:*.*".NotusedInMacOS.(Optional)

InstancesboolchangePath(path:string)Changesthepathspecificationofthereferencedfile.Parameter Type Description

path string Astringcontainingthenewpath,absoluteorrelativetothecurrentfolder.

Example file.changePath("..");

boolclose()Closesthisopenfile.Returnstrueifthefilewasclosedsuccessfully,falseifanI/O

Page 117: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

erroroccurred.

Example aFile.close()

boolcopy(target:string|File)Copiesthisobject'sreferencedfiletothespecifiedtargetlocation.Resolvesanyaliasestofindthesourcefile.Ifafileexistsatthetargetlocation,itisoverwritten.Returnstrueifthecopywassuccessful.Parameter Type Description

target string|File

AstringwiththeURIpathtothetargetlocation,oraFileobjectthatreferencesthetargetlocation.

Example aFile.copy(target)

voidcreateAlias(path:string)Makesthisfileafile-systemaliasorshortcuttothespecifiedfile.Thereferencedfileforthisobjectmustnotyetexistondisk.Returnstrueiftheoperationwassuccessful.Parameter Type Description

path string Astringcontainingthepathofthetargetfile.

boolexecute()Executesoropensthisfileusingtheappropriateapplication,asifithadbeendouble-clickedinafilebrowser.Youcanusethismethodtorunscripts,launchapplications,andsoon.Returnstrueimmediatelyiftheapplicationlaunchwassuccessful.

stringgetRelativeURI(basePath:string)Retrievesandreturnsthepathforthisfile,relativetothespecifiedbasepath,inURInotation.Ifnobasepathissupplied,theURIisrelativetothepathofthecurrentfolder.ReturnsastringcontainingtherelativeURI.

Page 118: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type Description

basePath string AbasepathinURInotation.

Example aFile.getRelativeURI(basePath)

boolopen(mode:string[,type:string][,creator:string])Opensthereferencedfileforsubsequentread/writeoperations.Themethodresolvesanyaliasestofindthefile.Returnstrueifthefilewasopenedsuccessfully.Themethodattemptstodetecttheencodingoftheopenfile.ItreadsafewbytesatthecurrentlocationandtriestodetecttheByteOrderMarkcharacter0xFFFE.Iffound,thecurrentpositionisadvancedbehindthedetectedcharacterandtheencodingpropertyissettooneofthestringsUCS-2BE,UCS-2LE,UCS4-BE,UCS-4LE,orUTF-8.Ifthemarkercharacterisnotfound,itchecksforzerobytesatthecurrentlocationandmakesanassumptionaboutoneoftheaboveformats(exceptUTF-8).Ifeverythingfails,theencodingpropertyissettothesystemencoding.IMPORTANT:Becarefulaboutopeningafilemorethanonce.Theoperatingsystemusuallypermitsyoutodoso,butifyoustartwritingtothefileusingtwodifferentFileobjects,youcandestroyyourdata.Parameter Type Description

mode string Theread-writemode,asingle-characterstring.Oneofthesecharacters:•r(read)Opensforreading.Ifthefiledoesnotexistorcannotbefound,thecallfails.•w(write)Opensafileforwriting.Ifthefileexists,itscontentsaredestroyed.Ifthefiledoesnotexist,createsanew,emptyfile.•e(edit)Opensanexistingfileforreadingandwriting.•a(append)Opensanexistingfileforreadingandwriting,andmovesthe

Page 119: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

currentpositiontotheendofthefile.

type string InMacOS,thetypeofanewlycreatedfile,a4-characterstring.IgnoredinWindowsandUNIX.(Optional)

creator string InMacOS,thecreatorofanewlycreatedfile,a4-characterstring.IgnoredinWindowsandUNIX.(Optional)

Example aFile.open(mode,type,creator)

FileopenDlg(prompt:string[,filter:any=null][,multiSelect:bool=false])Opensthebuilt-inplatform-specificfile-browsingdialog,inwhichtheusercanselectanexistingfileorfiles,andcreatesnewFileobjectstorepresenttheselectedfiles.DiffersfromtheclassmethodopenDialog()inthatitpresetsthecurrentfoldertothisFileobject'sparentfolderandthecurrentfiletothisobject'sassociatedfile.•IftheuserclicksOK,returnsaFileorFolderobjectfortheselectedfileorfolder,oranarrayofobjects.•Iftheusercancels,returnsnull.Parameter Type Description

prompt string Astringcontainingtheprompttext,ifthedialogallowsaprompt.

filter any Afilterthatlimitsthetypesoffilesdisplayedinthedialog.(default:null)

•InWindows,afilterexpressionsuchas"Javascriptfiles:*.jsx;Allfiles:*.*".•InMacOS,afilterfunctionthattakesaFileinstanceandreturnstrueifthefileshouldbeincludedinthedisplay,falseifitshouldnot.(Optional)

multiSelect bool Whentrue,theusercanselectmultiplefilesandthereturnvalueisanarray.(default:false)(Optional)

Page 120: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

stringread([chars:number])Readsthecontentsofthefile,startingatthecurrentposition.Returnsastringthatcontainsuptothespecifiednumberofcharacters.Ifanumberofcharactersisnotsupplied,readsfromthecurrentpositiontotheendofthefile.Ifthefileisencoded,multiplebytesmightbereadtocreatesingleUnicodecharacters.Parameter Type Description

chars number Anintegerspecifyingthenumberofcharacterstoread.(Optional)

Example aFile.read(chars)

stringreadch()Readsasingletextcharacterfromthefileatthecurrentposition.LinefeedsarerecognizedasCR,LF,CRLForLFCRpairs.Ifthefileisencoded,multiplebytesmightbereadtocreateasingleUnicodecharacter.Returnsastringthatcontainsthecharacter.

Example aFile.readch()

stringreadln()Readsasinglelineoftextfromthefileatthecurrentposition.LinefeedsarerecognizedasCR,LF,CRLForLFCRpairs..Ifthefileisencoded,multiplebytesmightbereadtocreatesingleUnicodecharacters.Returnsastringthatcontainsthetext.

Example aFile.readln()

boolremove()Deletesthefileassociatedwiththisobjectfromdiskimmediately,withoutmovingittothesystemtrash.Doesnotresolvealiases;instead,deletesthereferencedaliasorshortcutfileitself.Returnstrueifthefilewassuccessfullyremoved.•IMPORTANT:Cannotbeundone.Itisrecommendedthatyouprompttheuserforpermissionbeforedeleting.

Page 121: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

boolrename(newName:string)Renamestheassociatedfile.Doesnotresolvealiases,butrenamesthereferencedaliasorshortcutfileitself.Returnstrueifthefilewassuccessfullyrenamed.Parameter Type Description

newName string Thenewfilename,withnopathinformation.

Example aFile.rename(newName)

Fileresolve()Attemptstoresolvethefile-systemaliasorshortcutthatthisobjectrefersto.Ifsuccessful,createsandreturnsanewFileobjectthatpointstotheresolvedfilesystemelement.Returnsnullifthisobjectdoesnotrefertoanalias,orifthealiascouldnotberesolved.

FilesaveDlg(prompt:string[,filter:any=null])Opensthebuilt-inplatform-specificfile-browsingdialog,inwhichtheusercanselectanexistingfilelocationtowhichtosaveinformation,andcreatesanewFileobjecttorepresenttheselectedfile.DiffersfromtheclassmethodsaveDialog()inthatitpresetsthecurrentfoldertothisFileobject'sparentfolderandthefiletothisobject'sassociatedfile.•IftheuserclicksOK,returnsaFileobjectfortheselectedfile.•Iftheusercancels,returnsnull.Parameter Type Description

prompt string Astringcontainingtheprompttext,ifthedialogallowsaprompt.

filter any InWindowsonly,afilterthatlimitsthetypesoffilesdisplayedinthedialog.(default:null)InWindowsonly,afilterexpressionsuchas"Javascriptfiles:*.jsx;Allfiles:*.*".NotusedInMacOS.

Page 122: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

(Optional)

boolseek(pos:number[,mode:number=0])Seekstoagivenpositioninthefile.Thenewpositioncannotbelessthan0orgreaterthanthecurrentfilesize.Returnstrueifthepositionwaschanged.Parameter Type Description

pos number Thenewcurrentpositioninthefileasanoffsetinbytesfromthestart,currentposition,orend,dependingonthemode.

mode number(range:0-2)

Theseekmode.(default:0)Oneof:•0:Seektoabsoluteposition,wherepos=0isthefirstbyteofthefile.Thisisthedefault.•1:Seekrelativetothecurrentposition.•2.Seekbackwardfromtheendofthefile.(Optional)

Example aFile.seek(pos,mode)

numbertell()Retrievesthecurrentpositionasabyteoffsetfromthestartofthefile.Returnsanumber,thepositionindex.

Example aFile.tell()

stringtoSource()Createsandreturnsaserializedstringrepresentationofthisobject.Passtheresultingstringtoeval()torecreatetheobject.

stringtoString()Convertsthisobjecttoastring.

boolwrite(text:string)Writesthespecifiedtexttothefileatthecurrentposition.

Page 123: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Youcansupplymultipletextvalues;thestringsareconcatenatedtoformasinglestring.Forencodedfiles,writingasingleUnicodecharactermaywritemultiplebytes.Returnstrueifthewritewassuccessful.IMPORTANT:Becarefulnottowritetoafilethatisopeninanotherapplicationorobject,asthiscanoverwriteexistingdata.Parameter Type Description

text string Atextstringtobewritten.

Example aFile.write(text,...)

boolwriteln(text:string)Writesastringtothefileatthecurrentpositionandappendsaline-feedsequence.Youcansupplymultipletextvalues.Thestringsareconcatenatedintoasinglestring,whichiswritteninthefilefollowedbyoneline-feedsequence,ofthestylespecifiedbythisobject'slinefeedproperty.Forencodedfiles,writingasingleUnicodecharactermaywritemultiplebytes.Returnstrueifthewritewassuccessful.IMPORTANT:Becarefulnottowritetoafilethatisopeninanotherapplicationorobject,asthiscanoverwriteexistingdata.Parameter Type Description

text string Atextstringtobewritten.

Example aFile.writeln(text,...)

Elementof Application.colorSettingsListApplication.defaultColorSettingsApplication.pathDocument.fullNameDocument.pathPPDFileInfo.PPDFilePathPlacedItem.filePrintJobOptions.file

Page 124: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RasterItem.fileReflection.sampleFileReflectionInfo.sampleFile

Usedin: any$.evalFile(file:File[,timeout:number=10000])voidApplication.aATExecuteSessionFromFile(file:File)boolApplication.dumpPGFFile(file:File[,

documentColorSpace:DocumentColorSpace],pGFFile:File)

voidApplication.loadAction(actionFilePath:File)voidApplication.loadColorSettings(fileSpec:File)DocumentApplication.open(file:File[,documentColorSpace:

DocumentColorSpace][,options:any])voidApplication.reflectCSAW(outputFolder:File)arrayofstringApplication.showPresets(fileSpec:File)voidDocument.exportFile(exportFile:File,exportFormat:

ExportType[,options:any])voidDocument.exportPDFPreset(file:File)voidDocument.exportPerspectiveGridPreset(file:File)voidDocument.exportPrintPreset(file:File)voidDocument.exportVariables(file:File)voidDocument.imageCapture(imageFile:File[,clipBounds:

Rectangle][,options:ImageCaptureOptions])voidDocument.importCharacterStyles(fileSpec:File)voidDocument.importPDFPreset(fileSpec:File[,

replacingPreset:bool=false])voidDocument.importParagraphStyles(fileSpec:File)voidDocument.importPerspectiveGridPreset(fileSpec:File[,

perspectivePreset:string])voidDocument.importPrintPreset(printPreset:string,

fileSpec:File)voidDocument.importVariables(fileSpec:File)voidDocument.saveAs(saveIn:File[,options:any])voidDocument.windowCapture(imageFile:File,

windowSize:Point)boolFile.copy(target:string|File)voidFlashPlayer.loadMovie(file:File)GroupItemGroupItems.createFromFile(imageFile:File)voidPlacedItem.relink(fileSpec:File)

Page 125: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Return FileApplication.aATGetEditorDialogFile()FileApplication.aATGetErrorDialogFile()FileApplication.getPresetFileOfType(presetType:

DocumentPresetType)FileFile.File([path:string])FileFile.openDialog(prompt:string[,filter:any=null][,

multiSelect:bool=false])FileFile.openDlg(prompt:string[,filter:any=null][,

multiSelect:bool=false])FileFile.resolve()FileFile.saveDialog(prompt:string[,filter:any=null])FileFile.saveDlg(prompt:string[,filter:any=null])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 126: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 127: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Folder Representsafile-systemfolderordirectoryinaplatform-

independentmanner.

QuickLinks Folder,changePath,create,decode,encode,execute,getFiles,getRelativeURI,isEncodingAvailable,remove,rename,resolve,selectDialog,selectDlg,toSource,toString

Hierarchy Folder

Folder

File|Folder

Properties Property Type Access Description

absoluteURI string readonly ThefullpathnameforthereferencedfolderinURInotation.

alias bool readonly Whentrue,theobjectreferstoafilesystemaliasorshortcut.

created Date readonly Thecreationdateofthereferencedfolder,ornulliftheobjectdoesnotrefertoafolderondisk.

displayName string readonly ThelocalizednameportionoftheabsoluteURIforthereferencedfolder,withoutthepathspecification.

error string r/w Amessagedescribingthemostrecentfilesystemerror.Typicallysetbythefilesystem,butascriptcansetit.Settingthisvalueclearsanyerrormessageandresetstheerrorbitforopenedfiles.Containstheemptystringif

Page 128: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

thereisnoerror.

exists bool readonly Whentrue,thisobjectreferstoafolderthatcurrentlyexistsinthefilesystem.

fsName string readonly Theplatform-specificnameofthereferencedfolderasafullpathname.

fullName string readonly ThefullpathnameforthereferencedfolderinURInotation..

modified Date readonly Thedateofthereferencedfolder'slastmodification,ornulliftheobjectdoesnotrefertoafolderondisk.

name string readonly ThefoldernameportionoftheabsoluteURIforthereferencedfile,withoutthepathspecification.

parent Folder readonly TTheFolderobjectforthefolderthatcontainsthisfolder,ornullifthisobjectreferstotherootfolderofavolume.

path string readonly ThepathportionoftheobjectabsoluteURIforthereferencedfile,withoutthefoldername.

relativeURI string readonly ThepathnameforthereferencedfolderinURInotation,relativetothecurrentfolder.

Class Property Type Access Description

appData Folder readonly Thefoldercontainingtheapplicationdataforallusers.

Page 129: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

•InWindows,thevalueof%APPDATA%(bydefault,C:\\DocumentsandSettings\\AllUsers\\ApplicationData)•InMacOS,/Library/ApplicationSupport

appPackage Folder readonly InMacOS,aFolderobjectforthefoldercontainingthebundleoftherunningapplication.

commonFiles Folder readonly AFolderobjectforthefoldercontainingcommonfilesforallprogramsinstalledbytheuser.

•InWindows,thevalueof%CommonProgramFiles%(bydefault,C:\\ProgramFiles\\CommonFiles)•InMacOS,/Library/ApplicationSupport

current Folder r/w AFolderobjectforthecurrentfolder.AssignaFolderobjectorastringcontainingthenewpathnametosetthecurrentfolder.ThisisaclasspropertyaccessedthroughtheFolderconstructor.

desktop Folder readonly AFolderobjectforthefolderthatcontainstheuser'sdesktop.

•InWindows,C:\\DocumentsandSettings\\username\\Desktop•InMacOS,~/Desktop

fs string readonly Thenameofthecurrentfile

Page 130: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

system.Oneof"Windows","Macintosh",or"Unix".

myDocuments Folder readonly Afolderpointingtotheuser'sMyDocumentsfolder.

•InWindows,C:\\DocumentsandSettings\\username\\MyDocuments•InMacOS,~/Documents

startup Folder readonly AFolderobjectforthefoldercontainingtheexecutableimageoftherunningapplication.

system Folder readonly AFolderobjectforthefoldercontainingtheoperatingsystemfiles.

•InWindows,thevalueof%windir%(bydefault,C:\\Windows)•InMacOS,/System

temp Folder readonly AFolderobjectforthedefaultfolderfortemporaryfiles.

trash Folder readonly AFolderobjectforthefoldercontainingdeleteditems.OnWindows,thetrashfolderisavirtualfoldercontainingadatabase;therefore,thepropertyvalueisnullonWindows.

userData Folder readonly AFolderobjectforthefoldercontainingtheuser'sapplicationdata.

•InWindows,thevalueof%USERDATA%(bydefault,

Page 131: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

C:\\DocumentsandSettings\\username\\ApplicationData)•InMacOS,~/Library/ApplicationSupport.

Methods ConstructorFolderFolder([path:string])CreatesandreturnsanewFolderobjectreferringtoagivenfile-systemlocation.Ifthepathnamereferstoanalreadyexistingdiskfile,aFileobjectisreturnedinstead.ReturnsthenewFolderobject.Parameter Type Description

path string Theabsoluteorrelativepathtothefolderassociatedwiththisobject,specifiedinURIformat.Thevaluestoredintheobjectistheabsolutepath.Thepathneednotrefertoanexistingfolder.Ifthepathreferstoanexistingfile,ratherthanafolder:•TheFolder()functionreturnsaFileobjectinsteadofaFolderobject.•ThenewoperatorreturnsaFolderobjectforanonexistingfolderwiththesamename.(Optional)

Example newFolder(path)

Classstringdecode(uri:string)DecodesaUTF-8encodedstringasrequiredbyRFC2396,andreturnsthedecodedstring.SeealsoString.decodeURI().Parameter Type Description

uri string TheUTF-8stringtodecode.

stringencode(name:string)

Page 132: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

EncodesastringasrequiredbyRFC2396,andreturnstheencodedstring.AllspecialcharactersareencodedinUTF-8andstoredasescapedcharactersstartingwiththepercentsignfollowedbytwohexadecimaldigits.Forexample,thestring"myfile"isencodedas"my%20file".Specialcharactersarethosewithanumericvaluegreaterthan127,exceptthefollowing:/-_.!~*'()SeealsoencodeURI().Parameter Type Description

name string Thestringtoencode.

boolisEncodingAvailable(name:string)Reportswhetheragivenencodingisavailable.Parameter Type Description

name string Theencodingname.Typicalvaluesare"ASCII","binary",or"UTF-8".Foracompletelistofsupportedencodings,seetheJavaScriptToolsGuide.

FolderselectDialog(prompt:string)Opensthebuilt-inplatform-specificfile-browsingdialog,andcreatesanewFileorFolderobjectfortheselectedfileorfolder.DiffersfromtheobjectmethodselectDlg()inthatitdoesnotpreselectafolder.•IftheuserclicksOK,returnsaFileorFolderobjectfortheselectedfileorfolder.•Iftheusercancels,returnsnull.Parameter Type Description

prompt string Theprompttext,ifthedialogallowsaprompt.

InstancesboolchangePath(path:string)Changesthepathspecificationofthereferencedfolder.Parameter Type Description

Page 133: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

path string Astringcontainingthenewpath,absoluteorrelativetothecurrentfolder.

Example folder.changePath("..");

boolcreate()Createsafolderatthelocationgivenbythisobject'spathproperty.Returnstrueifthefolderwascreated.

Example aFolder.create()

boolexecute()Opensthisfolderintheplatform-specificfilebrowser(asifithadbeendouble-clickedinthefilebrowser).Returnstrueimmediatelyifthefolderwasopenedsuccessfully.

ArraygetFiles(mask:any)Retrievesthecontentsofthisfolder,filteredbythesuppliedmask.ReturnsanarrayofFileandFolderobjects,ornullifthisobject'sreferencedfolderdoesnotexist.Parameter Type Description

mask any Asearchmaskforfilenames,specifiedasastringorafunction.Amaskstringcancontainquestionmark(?)andasterisk(*)wildcards.Defaultis"*",whichmatchesallfilenames.CanalsobethenameofafunctionthattakesaFileorFolderobjectasitsargument.Itiscalledforeachfileorfolderfoundinthesearch;ifitreturnstrue,theobjectisaddedtothereturnarray.•NOTE:InWindows,allaliasesendwiththeextension.lnk.ExtendScriptstripsthisfromthefilenamewhenfound,inordertopreservecompatibilitywithotheroperatingsystems.Youcansearchforallaliasesbysupplyingthesearchmask"*.lnk",butnotethatsuchcodeisnotportable.

stringgetRelativeURI([basePath:string=.])

Page 134: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Retrievesandreturnsthepathforthisfile,relativetothespecifiedbasepath,inURInotation.Ifnobasepathissupplied,theURIisrelativetothepathofthecurrentfolder.ReturnsastringcontainingtherelativeURI.Parameter Type Description

basePath string AbasepathinURInotation.(default:.)(Optional)

Example aFile.getRelativeURI(basePath)

boolremove()Deletesthefolderassociatedwiththisobjectfromdiskimmediately,withoutmovingittothesystemtrash.Foldersmustbeemptybeforetheycanbedeleted.Doesnotresolvealiases;instead,deletesthereferencedaliasorshortcutfileitself.Returnstrueifthefilewassuccessfullyremoved.•IMPORTANT:Cannotbeundone.Itisrecommendedthatyouprompttheuserforpermissionbeforedeleting.

boolrename(newName:string)Renamestheassociatedfolder.Doesnotresolvealiases,butrenamesthereferencedaliasorshortcutfileitself.Returnstrueifthefolderwassuccessfullyrenamed.Parameter Type Description

newName string Thenewfoldername,withnopathinformation.

Example aFolder.rename(newName)

Folderresolve()Attemptstoresolvethefile-systemaliasorshortcutthatthisobjectrefersto.Ifsuccessful,createsandreturnsanewFolderobjectthatpointstotheresolvedfilesystemelement.Returnsnullifthisobjectdoesnotrefertoanalias,orifthealiascouldnotberesolved.

Example aFolder.resolve()

FolderselectDlg(prompt:string)Opensthebuilt-inplatform-specificfile-browsingdialog,and

Page 135: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

createsanewFileorFolderobjectfortheselectedfileorfolder.DiffersfromtheclassmethodselectDialog()inthatitpreselectsthisfolder.•IftheuserclicksOK,returnsaFileorFolderobjectfortheselectedfileorfolder.•Iftheusercancels,returnsnull.Parameter Type Description

prompt string Theprompttext,ifthedialogallowsaprompt.

stringtoSource()Createsandreturnsaserializedstringrepresentationofthisobject.Passtheresultingstringtoeval()torecreatetheobject.

stringtoString()Convertsthisobjecttoastring.

Elementof File.parentFolder.appDataFolder.appPackageFolder.commonFilesFolder.currentFolder.desktopFolder.myDocumentsFolder.parentFolder.startupFolder.systemFolder.tempFolder.trashFolder.userData

Return FolderFolder.Folder([path:string])FolderFolder.resolve()FolderFolder.selectDialog(prompt:string)FolderFolder.selectDlg(prompt:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 136: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 137: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Function Wrapsabuilt-inorJavaScriptfunction.

QuickLinks Function,apply,call,toSource,toString

Properties Property Type Access Description

arguments Object r/w Thefunctionarguments,packedintoanarray.Thispropertyisdeprecated;usetheargumentspropertywithinthefunctionbody.

arity number readonly Thenumberofformalarguments.Thispropertyisdeprecated;usethelengthpropertyinstead.

length number readonly Thenumberofformalarguments.

name string readonly Thefunctionname.

Methods ConstructorFunctionFunction(arguments:string,body:string)TheFunctionconstructorparsestheargumentlistandcreatesaFunctionobject.Parameter Type Description

arguments string Thelistofformalarguments,separatedbycommas.Theformalargumentscanalsobesuppliedonebyone;inthiscase,thelastargumenttotheFunctionconstructorisconsideredtobethefunctionbody.

Page 138: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

body string Thebodyofthefunctiontocreate.

Instancesanyapply(thisObj:Object,args:Array)Applyathisobjectandanargumentlisttoafunction.Thisfunctionisdifferentfromcall();here,theargumentsaresuppliedasanArrayobject.Parameter Type Description

thisObj Object Theobjecttobeusedasthis.

args Array Anarrayofarguments.

anycall(thisObj:Object,argument:any)Applyathisobjectandargumentstoafunction.Thisfunctionisdifferentfromapply();here,theargumentsaresuppliedonebyone.Parameter Type Description

thisObj Object Theobjecttobeusedasthis.

argument any Thefirstagumenttothefunction.Addasmanyasneeded.

stringtoSource()Createsastringrepresentationofthisobjectthatcanbefedbacktoeval()tore-createanobject.WorksonlywithJavaScriptfunctions.

stringtoString()Returnsthefunctiondefinitionasastring.

Elementof Object.constructor

Usedin: voidArray.sort(userFunction:Function)BooleanButton.addEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])BooleanButton.removeEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

Page 139: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BooleanCheckbox.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanCheckbox.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanDropDownList.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanDropDownList.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanEditText.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanEditText.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanFlashPlayer.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanFlashPlayer.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanGroup.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanGroup.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanIconButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanIconButton.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanListBox.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanListBox.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidObject.watch(name:string,func:Function)BooleanPanel.addEventListener(eventName:String,

Page 140: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

handler:Function[,capturePhase:Boolean=false])BooleanPanel.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])BooleanProgressbar.addEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

BooleanProgressbar.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanRadioButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanRadioButton.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanScrollbar.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanScrollbar.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanSlider.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanSlider.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanStaticText.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanStaticText.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanTreeView.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanTreeView.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanWindow.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanWindow.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

Page 141: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Return FunctionFunction.Function(arguments:string,body:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 142: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 143: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

global TheglobalmethodsandpropertiesforExtendScript.

QuickLinks alert,confirm,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,eval,isFinite,isNaN,isXMLName,localize,parseFloat,parseInt,prompt,setDefaultXMLNamespace,unescape,uneval

Properties Property Type Access Description

Infinity number r/w TheInfinityglobalpropertyisapredefinedvariablewiththevalueforinfinity.(default:+Infinity)

NaN number r/w TheNaNglobalpropertyisapredefinedvariablewiththevalueNaN(Not-a-Number),asspecifiedbytheIEEE-754standard.(default:NaN)

undefined Undefined r/w Thisglobalpropertyisapredefinedvariablewiththevalueforanundefinedvalue.(default:undefined)

Methods Instancesvoidalert(message:string[,title:string][,errorIcon:bool=false])DisplaysanalertboxParameter Type Description

message string Thetexttodisplay

title string Thetitleofthealert;ignoredontheMacintosh(Optional)

Page 144: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

errorIcon bool DisplayanErroricon;ignoredontheMacintosh(default:false)

boolconfirm(message:string[,noAsDefault:bool=false][,title:string])DisplaysanalertboxwithYesandNobuttons;returnstrueforYesParameter Type Description

message string Thetexttodisplay

noAsDefault bool SettotruetosettheNobuttonasthedefaultbutton(default:false)

title string Thetitleofthealert;ignoredontheMacintosh(Optional)

stringdecodeURI(uri:string)DecodesastringcreatedwithencodeURI().Parameter Type Description

uri string Thetexttodecode.

stringdecodeURIComponent(uri:string)DecodesastringcreatedwithencodeURIComponent().Parameter Type Description

uri string Thetexttodecode.

stringencodeURI(text:string)EncodesastringafterRFC2396.CreateanUTF-8ASCIIencodedversionofthisstring.ThestringisconvertedintoUTF-8.Everynon-alphanumericcharacterisencodedasapercentescapecharacteroftheform%xx,wherexxisthehexvalueofthecharacter.AftertheconversiontoUTF-8encodingandescaping,itisguaranteedthatthestringdoesnotcontaincharacterscodesgreaterthan127.Thelistofcharactersnottobeencodedis-_.!~*'();/?:@&=+$,#.Themethodreturnsfalseonerrors.Parameter Type Description

Page 145: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

text string Thetexttoencode.

stringencodeURIComponent(text:string)EncodesastringafterRFC2396.CreateanUTF-8ASCIIencodedversionofthisstring.ThestringisconvertedintoUTF-8.Everynon-alphanumericcharacterisencodedasapercentescapecharacteroftheform%xx,wherexxisthehexvalueofthecharacter.AftertheconversiontoUTF-8encodingandescaping,itisguaranteedthatthestringdoesnotcontaincharacterscodesgreaterthan127.Thelistofcharactersnottobeencodedis-_.!~*'().Themethodreturnsfalseonerrors.Parameter Type Description

text string Thetexttoencode.

stringescape(aString:string)CreatesaURL-encodedstringfromaString.Inthenewstring,charactersofaStringthatrequireURLencodingarereplacedwiththeformat%xx,wherexxisthehexadecimalvalueofthecharactercodeintheUnicodecharacterset.ThisformatisusedtotransmitinformationappendedtoaURLduring,forexample,executionoftheGETmethod.Usetheunescape()globalfunctiontotranslatethestringbackintoitsoriginalformat.ReturnsastringwhichisaStringURL-encoded.Parameter Type Description

aString string Thestringtobeencoded.

Example escape(aString)

anyeval(stringExpression:string)EvaluatesitsargumentasaJavaScriptscript,andreturnstheresultofevaluation.Youcanpasstheresultofanobject'stoSource()methodtoreconstructthatobject.Parameter Type Description

stringExpression string Thestringtoevaluate.

Page 146: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Example eval(stringExpression)

boolisFinite(expression:number)Evaluatesanexpressionandreportswhethertheresultisafinitenumber.Returnstrueiftheexpressionisafinitenumber,falseotherwise.Falseifthevalueisinfinityornegativeinfinity.Parameter Type Description

expression number AnyvalidJavaScriptexpression.

Example isFinite(expression)

boolisNaN(expression:number)Evaluatesanexpressionandreportswhethertheresultis"Not-a-Number"(NaN).Returnstrueiftheresultofevaluationisnotanumber(NaN),falseifthevalueisanumber.Parameter Type Description

expression number AnyvalidJavaScriptexpression.

Example isNaN(expression)

boolisXMLName(name:string)ReturnstrueifthesuppliedstringisavalidXMLname.Parameter Type Description

name string TheXMLnametotest.

stringlocalize(what:string[,argument:any])LocalizesaZString-encodedstringandmergesadditionalargumentsintothestring.Parameter Type Description

what string Thestringtolocalize.AZString-encodedstringthatcancontainplaceholderforadditionalargumentsintheform%1to%n.

argument any Optionalargument(s)tobemergedintothestring.Theremaybemorethanone

Page 147: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

argument.(Optional)

numberparseFloat(text:string)Extractsafloating-pointnumberfromastring.Parsesastringtofindthefirstsetofcharactersthatcanbeconvertedtoafloatingpointnumber,andreturnsthatnumber,orNaNifitdoesnotencountercharactersthatitcanconvertedtoanumber.Thefunctionsupportsexponentialnotation.Parameter Type Description

text string Thestringfromwhichtoextractafloatingpointnumber.

Example parseFloat(aString)

numberparseInt(text:string[,base:number])Extractsanintegerfromastring.Parsesastringtofindthefirstsetofcharacters,inaspecifiedbase,thatcanbeconvertedtoaninteger,andreturnsthatinteger,orNaNifitdoesnotencountercharactersthatitcanconverttoanumber.Parameter Type Description

text string Thestringfromwhichtoextractaninteger.

base number(range:2-36)

Thebaseofthestringtoparse(frombase2tobase36).Ifnotsupplied,baseisdeterminedbytheformatofstring.(Optional)

Example parseInt(aString,base)

stringprompt(prompt:string[,default:string][,title:string])DisplaysadialogallowingtheusertoentertextReturnsnulliftheusercancelledthedialog,thetextotherwiseParameter Type Description

prompt string Thetexttodisplay

default string Thedefaulttexttopresettheeditfield

Page 148: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

with(Optional)

title string Thetitleofthedialog;(Optional)

voidsetDefaultXMLNamespace(namespace:Namespace)DefinesthedefaultXMLnamespace.ThisisareplacementfunctionforthestandardJavaScriptstatementsetdefaultxmlnamespace.Parameter Type Description

namespace Namespace Thenamespacetouse.Omitthisparametertoreturntotheemptynamespace.ThisiseitheraNamespaceobjectorastring.

stringunescape(stringExpression:string)TranslatesURL-encodedstringintoaregularstring,andreturnsthatstring.Usetheescape()globalfunctiontoURL-encodestrings.Parameter Type Description

stringExpression string TheURL-encodedstringtoconvert.

Example unescape(stringExpression)

stringuneval(what:any)Createsasourcecoderepresentationofthesuppliedargument,andreturnsitasastring.Parameter Type Description

what any Theobjecttouneval.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 149: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 150: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Math Aglobalobjectcontainingasetofmathfunctionsand

constants.

QuickLinks abs,acos,asin,atan,atan2,ceil,cos,exp,floor,log,max,min,pow,random,round,sin,sqrt,tan

Class Property Type Access Description

E number readonly Euler'sconstantandthebaseofnaturallogarithms.(default:2.7182818284590452354)

LN10 number readonly Thenaturallogarithmof10.(default:2.302585092994046)

LN2 number readonly Thenaturallogarithmof2.(default:0.6931471805599453)

LOG10E number readonly Thebase10logarithmofe.(default:0.4342944819032518)

LOG2E number readonly Thebase2logarithmofe.(default:1.4426950408886934)

PI number readonly Theratioofthecircumferenceofacircletoitsdiameter.(default:3.14159265358979323846)

SQRT1_2 number readonly Thereciprocalofthesquarerootof1/2.(default:0.7071067811865476)

SQRT2 number readonly Thesquarerootof2.(default:1.4142135623730951)

Page 151: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Methods numberabs(x:number)Returnstheabsolutevalueofanumber.Parameter Type Description

x number Anumber.

Example Math.abs(x)

numberacos(x:number)Returnsthearccosine(inradians)ofanumber.Parameter Type Description

x number Anumber.

Example Math.acos(x)

numberasin(x:number)Returnsthearcsin(inradians)ofanumber.Parameter Type Description

x number Anumber.

Example Math.asin(x)

numberatan(x:number)Returnsthearctangent(inradians)ofanumber.Parameter Type Description

x number Anumber.

Example Math.atan(x)

numberatan2(y:number,x:number)Returnsthearctangentofthequotientofitsarguments(y/x).Parameter Type Description

y number Anumber.

x number Anumber.

Example Math.atan2(y,x)

Page 152: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

numberceil(x:number)Roundsthenumberuptothenearestinteger.Parameter Type Description

x number Anumber.

Example Math.ceil(x)

numbercos(x:number)Returnsthecosineofanangleprovidedinradians.Parameter Type Description

x number Anangle,inradians.

Example Math.cos(x)

numberexp(x:number)ReturnsMath.Eraisedtothepowerofanumber.Parameter Type Description

x number Anumber.

Example Math.exp(x)

numberfloor(x:number)Roundsanumberdowntothenearestinteger.Parameter Type Description

x number Anumber.

Example Math.floor(x)

numberlog(x:number)Returnsthenaturallogarithmofanumber.Parameter Type Description

x number Anumber.

Example Math.log(x)

numbermax(x:number,y:number)Returnsthemaximumoftwonumbers.Parameter Type Description

Page 153: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

x number

y number

Example Math.max(x,y)

numbermin(x:number,y:number)Returnstheminimumoftwonumbers.Parameter Type Description

x number Numbers.

y number

Example Math.min(x,y)

numberpow(x:number,y:number)Returnsxraisedtothepowerofy.Parameter Type Description

x number Numbers.

y number

Example Math.pow(x,y)

numberrandom()Returnsapseudo-randomnumberfrom0.0uptobutnotincluding1.0.Range:0.0-0.999999999999999

Example Math.random()

numberround(x:number)Roundsanumbertothenearestinteger.Parameter Type Description

x number Anumber.

Example Math.round(x)

numbersin(x:number)Returnsthesineofanangleprovidedinradians.Parameter Type Description

Page 154: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

x number Anangle,inradians.

Example Math.sin(x)

numbersqrt(x:number)Returnsthesquarerootofanumber.Parameter Type Description

x number Anumber.

Example Math.sqrt(x)

numbertan(x:number)Returnsthetangentofanangleprovidedinradians.Parameter Type Description

x number Anangle,inradians.

Example Math.tan(x)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 155: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 156: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Namespace AXMLnamespaceobject.

QuickLinks Namespace

Properties Property Type Access Description

prefix string readonly Thenamedprefix.

uri string readonly TheURI.

Methods ConstructorNamespaceNamespace(prefix:any[,uri:string])CreatesaNamespaceobject.Parameter Type Description

prefix any TheURIprefix,specifiedasanexistingNamespaceobject,QNameobject,orstring.

•IfthisisaNamespaceoraQNameobject,theURIandprefixaresettothatoftheobject.•Ifthisisastring,theprefixissettothatstring,andtheURImustbespecified.

uri string TheURIiftheprefixisspecifiedasastring.(Optional)

Example newNamespace("adobe","http:/www.adobe.com")

Usedin: XMLXML.addNamespace(namespace:Namespace)

XMLXML.removeNamespace(namespace:Namespace)

voidXML.setNamespace(namespace:Namespace)

Page 157: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidglobal.setDefaultXMLNamespace(namespace:Namespace)

Return NamespaceNamespace.Namespace(prefix:any[,uri:string])

NamespaceXML.namespace()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 158: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 159: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Number Wrapsanumericvalue.

QuickLinks Number,toExponential,toFixed,toLocaleString,toPrecision,toString,valueOf

Class Property Type Access Description

MAX_VALUE number readonly Aconstantrepresentingthelargestrepresentablenumber.(default:1.7976931348623158e+308

MIN_VALUE number readonly Aconstantrepresentingthesmallestrepresentablenumber.(default:2.2250738585072014e-308

NEGATIVE_INFINITY number readonly Aconstantrepresentingnegativeinfinity.

NaN number readonly Aconstantrepresentingthespecial"NotaNumber"value.(default:

POSITIVE_INFINITY number readonly Aconstantrepresentingpositiveinfinity.

Methods ConstructorNumberNumber(value:any)ReturnsanewNumberobjectsettothevalueoftheargumentconvertedtoanumber.Parameter Type Description

value any Thevalueoftheobjectbeingcreated.

Example newNumber(value)

Instances

Page 160: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

numbertoExponential(decimals:number)ConvertstheNumberobjecttoastringinscientificnotation.Parameter Type Description

decimals number Thenumberofdecimals.

numbertoFixed(decimals:number)ConvertstheNumberobjecttoastringwithfixeddecimals.Parameter Type Description

decimals number Thenumberofdecimals.

numbertoLocaleString()ReturnsthevalueofaNumberobjectconvertedtoastring,usinglocalizedconventions.

numbertoPrecision(decimals:number)ConvertstheNumberobjecttoastringineitherscientificorfixednotation,ependingonitsvalue.Parameter Type Description

decimals number Thenumberofdecimals.

numbertoSource()Createsastringrepresentationofthisobjectthatcanbefedbacktore-createanobject.Worksonlywithbuilt-inclasses.

numbertoString([radix:number])ReturnsthevalueofaNumberobjectconvertedtoastring.Parameter Type Description

radix number Theoptionalconversionradix.(Optional)

Example num.toString(16)

numbervalueOf()ReturnsthevalueofaNumberobjectasaprimitivenumber.

Example num.valueOf()

Elementof Bounds.bottomBounds.height

Page 161: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Bounds.leftBounds.lengthBounds.rightBounds.topBounds.widthBounds.xBounds.yButton.charactersButton.indentCheckbox.charactersCheckbox.indentDimension.heightDimension.lengthDimension.widthDropDownList.indentEditText.charactersEditText.indentFlashPlayer.indentGroup.indentGroup.marginsGroup.spacingIconButton.indentListBox.indentListItem.indexPanel.charactersPanel.indentPanel.marginsPanel.spacingPoint.leftPoint.lengthPoint.topPoint.xPoint.yProgressbar.indentProgressbar.maxvalueProgressbar.minvalueProgressbar.valueRadioButton.charactersRadioButton.indent

Page 162: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUIBrush.colorScriptUIBrush.typeScriptUIFont.sizeScriptUIPen.colorScriptUIPen.lineWidthScrollbar.indentScrollbar.jumpdeltaScrollbar.maxvalueScrollbar.minvalueScrollbar.stepdeltaScrollbar.valueSlider.indentSlider.maxvalueSlider.minvalueSlider.valueStaticText.charactersStaticText.indentTreeView.indentWindow.charactersWindow.indentWindow.marginsWindow.opacityWindow.spacing

Usedin: ScriptUIFontScriptUI.newFont(name:String,style:String|Number)

voidScriptUIGraphics.drawFocusRing(left:Number,top:NumberNumber,height:Number)

voidScriptUIGraphics.drawImage(image:ScriptUIImage,lefttop:Number[,width:Number][,height:Number])

voidScriptUIGraphics.drawString(text:String,pen:ScriptUIPenNumber,y:Number[,font:ScriptUIFont])

PointScriptUIGraphics.ellipsePath(left:Number,top:NumberNumber,height:Number)

PointScriptUIGraphics.lineTo(x:Number,y:Number)DimensionScriptUIGraphics.measureString(text:String[,font

ScriptUIFont][,boundingWidth:Number])PointScriptUIGraphics.moveTo(x:Number,y:Number)ScriptUIBrushScriptUIGraphics.newBrush(type:Number,color

Page 163: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Number|String)ScriptUIPenScriptUIGraphics.newPen(type:Number,color

Number|String,width:Number)PointScriptUIGraphics.rectPath(left:Number,top:Number

Number,height:Number)UIEventUIEvent.UIEvent(type:String[,captures:Boolean=

bubbles:Boolean=false][,view:Object][,detail:NumbervoidUIEvent.initUIEvent(type:String[,captures:Boolean=false

Boolean=false][,view:Object][,detail:Number])

Return NumberNumber.Number(value:any)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 164: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 165: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Object ThebaseclassofallJavaScriptobjects.

QuickLinks Object,hasOwnProperty,isPrototypeOf,isValid,propertyIsEnumerable,toLocaleString,toSource,toString,unwatch,valueOf,watch

Properties Property Type Access Description

constructor Function readonly Pointstotheconstructorfunctionthatcreatedthisobject.NotethatthispropertyistreatedasanXMLelementintheXMLclass.

prototype Object readonly Pointstotheprototypeobjectforthisobject.NotethatthispropertyistreatedasanXMLelementintheXMLclass.

reflect Reflection readonly RetrievesandreturnstheReflectionobjectassociatedwiththismethodoraproperty.NotethatthispropertyistreatedasanXMLelementintheXMLclass.

Methods ConstructorObjectObject(what:any)Createsandreturnsanewobjectofagiventype.Parameter Type Description

Page 166: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

what any Theobjecttype.

Example newObject()

ClassboolisValid(what:Object)Reportswhetheranobjectisstillvalid.Parameter Type Description

what Object Theobjecttocheck.

InstancesboolhasOwnProperty(name:string)Reportswhetheragivenpropertyisdefinedwithaninstanceorwithintheprototypechain.Parameter Type Description

name string Thenameofthepropertytocheck.

boolisPrototypeOf(what:Object)Checkswhetherthegivenobjectisaprototypeofthisobject.Parameter Type Description

what Object Theobjecttocheck.

boolpropertyIsEnumerable(name:string)Reportswhetheragivenpropertyisenumerable.Parameter Type Description

name string Thenameofthepropertytocheck.

stringtoLocaleString()Createsandreturnsastringrepresentingthisobject,localizedforthecurrentlocale.SeetoString().

stringtoSource()Createsandreturnsastringrepresentationofthisobject.Thisfunctionserializestheobject,sothatitcan,forexample,bepassedbetweenengines.Passthereturnedstringbacktoeval()torecreatetheobject.Worksonlywithbuilt-inclasses.

Page 167: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

stringtoString()Createsandreturnsastringrepresentingthisobject.Manyobjects(suchasDate)overridethismethodinfavoroftheirownimplementation.Ifanobjecthasnostringvalueandnouser-definedtoString()method,thedefaultmethodreturns[objecttype],wheretypeistheobjecttypeorthenameoftheconstructorfunctionthatcreatedtheobject.

Example obj.toString()

voidunwatch(name:string)Removesthewatchfunctionofaproperty.Parameter Type Description

name string Thenameofthepropertytounwatch.

ObjectvalueOf()Retrievesandreturnstheprimitivevalueofthisobject.Iftheobjecthasnoprimitivevalue,returnstheobjectitself.Notethatyourarelyneedtocallthismethodyourself.TheJavaScriptinterpreterautomaticallyinvokesitwhenencounteringanobjectwhereaprimitivevalueisexpected.

Example obj.valueOf()

voidwatch(name:string,func:Function)Addsawatchfunctiontoaproperty,whichiscalledwhenthevaluechanges.Thisfunctioncanaccept,modify,orrejectanewvaluethattheuser,application,orascripthasattemptedtoplaceinaproperty.Parameter Type Description

name string Thenameofthepropertytowatch.

func Function Thefunctiontobecalledwhenthevalueofthispropertychanges.Thisfunctionmustthreearguments,andreturnasitsresultthevaluetobestoredintheproperty.Theargumentsare:•name:thenameofthepropertythat

Page 168: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

changes.•oldValue:Theoldpropertyvalue.•newValue:Thenewpropertyvaluethatwasspecified.

Elementof $.global$.screensApplication.parentArtStyle.parentArtStyles.parentArtboard.parentArtboards.parentBrush.parentBrushes.parentButton.childrenButton.parentButton.propertiesCharacterAttributes.parentCharacterStyle.parentCharacterStyles.parentCharacters.parentCheckbox.childrenCheckbox.parentCheckbox.propertiesCompoundPathItem.parentCompoundPathItems.parentDataSet.parentDataSets.parentDocument.parentDocuments.parentDropDownList.childrenDropDownList.parentDropDownList.propertiesEditText.childrenEditText.parentEditText.propertiesEvent.targetFlashPlayer.parent

Page 169: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashPlayer.propertiesFunction.argumentsGradient.parentGradientStop.parentGradientStops.parentGradients.parentGraphItem.parentGraphItems.parentGroup.childrenGroup.parentGroup.propertiesGroupItem.parentGroupItems.parentIconButton.childrenIconButton.parentIconButton.propertiesInsertionPoint.parentInsertionPoints.parentLayer.parentLayers.parentLegacyTextItem.parentLegacyTextItems.parentLines.parentListBox.childrenListBox.columnsListBox.parentListBox.propertiesListItem.parentListItem.propertiesMeshItem.parentMeshItems.parentNonNativeItem.parentNonNativeItems.parentObject.prototypeOpenOptionsAutoCAD.parentOpenOptionsPDF.parentOpenOptionsPhotoshop.parentPageItem.parentPageItems.parent

Page 170: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Panel.childrenPanel.parentPanel.propertiesParagraphAttributes.parentParagraphStyle.parentParagraphStyles.parentParagraphs.parentPathItem.parentPathItems.parentPathPoint.parentPathPoints.parentPattern.parentPatterns.parentPlacedItem.parentPlacedItems.parentPluginItem.parentPluginItems.parentPreferences.parentProgressbar.childrenProgressbar.parentProgressbar.propertiesRadioButton.childrenRadioButton.parentRadioButton.propertiesRasterItem.parentRasterItems.parentScriptUI.FontStyleScriptUI.applicationFontsScriptUI.compatibilityScriptUIFont.styleScriptUIGraphics.BrushTypeScriptUIGraphics.PenTypeScrollbar.childrenScrollbar.parentScrollbar.propertiesSlider.childrenSlider.parentSlider.propertiesSpot.parent

Page 171: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Spots.parentStaticText.childrenStaticText.parentStaticText.propertiesStories.parentStory.parentSwatch.parentSwatchGroup.parentSwatchGroups.parentSwatches.parentSymbol.parentSymbolItem.parentSymbolItems.parentSymbols.parentTag.parentTags.parentTextFont.parentTextFonts.parentTextFrameItem.parentTextFrameItems.parentTextPath.parentTextRange.parentTextRanges.parentTracingObject.parentTracingOptions.parentTreeView.childrenTreeView.parentTreeView.propertiesUIEvent.targetVariable.parentVariables.parentView.parentViews.parentWindow.cancelElementWindow.childrenWindow.defaultElementWindow.parentWindow.propertiesWords.parent

Page 172: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Usedin: CompoundPathItemCompoundPathItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

CompoundPathItemCompoundPathItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

anyFunction.apply(thisObj:Object,args:Array)anyFunction.call(thisObj:Object,argument:any)GraphItemGraphItem.duplicate(relativeObject:Object,

insertionLocation:ElementPlacement)GraphItemGraphItem.move(relativeObject:Object,

insertionLocation:ElementPlacement)ObjectGroup.add(type:String[,bounds:Bounds][,text:

String][,properties:Object])GroupItemGroupItem.duplicate(relativeObject:Object,

insertionLocation:ElementPlacement)GroupItemGroupItem.move(relativeObject:Object,

insertionLocation:ElementPlacement)LayerLayer.move(relativeObject:Object,insertionLocation:

ElementPlacement)LegacyTextItemLegacyTextItem.move(relativeObject:

Object,insertionLocation:ElementPlacement)MeshItemMeshItem.duplicate(relativeObject:Object,

insertionLocation:ElementPlacement)MeshItemMeshItem.move(relativeObject:Object,

insertionLocation:ElementPlacement)NonNativeItemNonNativeItem.duplicate(relativeObject:

Object,insertionLocation:ElementPlacement)NonNativeItemNonNativeItem.move(relativeObject:Object,

insertionLocation:ElementPlacement)boolObject.isPrototypeOf(what:Object)boolObject.isValid(what:Object)PageItemPageItem.duplicate(relativeObject:Object,

insertionLocation:ElementPlacement)PageItemPageItem.move(relativeObject:Object,

insertionLocation:ElementPlacement)ObjectPanel.add(type:String[,bounds:Bounds][,text:

String][,properties:Object])

Page 173: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PathItemPathItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

PathItemPathItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

PlacedItemPlacedItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

PlacedItemPlacedItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

PluginItemPluginItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

PluginItemPluginItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

RasterItemRasterItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

RasterItemRasterItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

SymbolSymbol.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

SymbolItemSymbolItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

SymbolItemSymbolItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

TextFrameItemTextFrameItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

TextFrameItemTextFrameItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

TextRangeTextRange.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

TextRangeTextRange.move(relativeObject:Object,insertionLocation:ElementPlacement)

UIEventUIEvent.UIEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])

voidUIEvent.initUIEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])

voidWindow.Window(type:String[,title:String][,bounds:Bounds][,properties:Object])

ObjectWindow.add(type:String[,bounds:Bounds][,text:

Page 174: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

String][,properties:Object])voidXML.setSettings(obj:Object)

Return ObjectGroup(SUI).add(type:String[,bounds:Bounds][,text:String][,properties:Object])

ObjectObject.Object(what:any)ObjectObject.valueOf()ObjectPanel(SUI).add(type:String[,bounds:Bounds][,text:

String][,properties:Object])ObjectWindow(SUI).add(type:String[,bounds:Bounds][,

text:String][,properties:Object])ObjectXML.defaultSettings()ObjectXML.settings()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 175: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 176: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

QName AqualifiedXMLname,containingtheURIandthelocal

name.

QuickLinks QName

Properties Property Type Access Description

localName string readonly Thelocalnamepartofthequalifiedname.

uri string readonly TheURIpartofthequalifiedname.

Methods ConstructorQNameQName(uri:any[,name:string])CreatesaQNameobject.Parameter Type Description

uri any TheURI,specifiedasaNamespaceobject,anexistingQNameobject,orstring.

•IfthisisaNamespaceobject,theURIissettothenamespaceURI,andthereisnolocalname.•IfthisisaQNameobject,theURIandlocalNameissettothoseofthatobject.•Ifthisisastring,theURIissettothatstring.

name string Thelocalname.UsedonlyifURIisgivenasastring.(Optional)

Example newQName("http:/www.adobe.com","name")

voidXML.setName(name:QName)

Page 177: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Usedin:

Return QNameQName.QName(uri:any[,name:string])QNameXML.name()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 178: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 179: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Reflection Providesinformationaboutaclass.

QuickLinks find,toXML

Properties Property Type Access Description

description string readonly Thelongdescriptiontext.

help string readonly Theshortdescriptiontext.

methods ArrayofReflectionInfo

readonly Anarrayofmethoddescriptions.

name string readonly Theclassname.

properties ArrayofReflectionInfo

readonly Anarrayofpropertydescriptions.

sampleCode string readonly Samplecode,ifpresent.

sampleFile File readonly Afilecontainingsamplecode.Maybenull.

staticMethods ArrayofReflectionInfo

readonly Anarrayofclassmethoddescriptions.

Page 180: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

staticProperties ArrayofReflectionInfo

readonly Anarrayofclasspropertydescriptions.

Methods InstancesReflectionInfofind(name:string)Findsanelementdescriptionbyname.Parameter Type Description

name string Thenameoftheelementtofind.

XMLtoXML()ReturnsthisclassinformationasXMLinOMVformat.

Elementof Object.reflectReflectionInfo.parent

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 181: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 182: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ReflectionInfo Providesinformationaboutamethod,apropertyora

methodparameters.

Hierarchy Reflection

ReflectionInfo

Properties Property Type Access Description

arguments ArrayofReflectionInfo

readonly Thedescriptionofmethodorfunctionarguments.

dataType string readonly Thedatatype.

defaultValue any readonly Thedefaultvalue.

description string readonly Thelongdescriptiontext.

help string readonly Theshortdescriptiontext.

isCollection bool readonly Containstrueiftheclassdescribesacollectionclass.

max number readonly Themaximumvalue.

Page 183: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

min number readonly Theminimumvalue.

name string readonly Theelementname.

parent Reflection readonly Theclassobjectthatthiselementbelongsto.

sampleCode string readonly Samplecode,ifpresent.

sampleFile File readonly Afilecontainingsamplecode.Maybenull.

type string readonly Theelementtype.Oneofunknown,readonly,readwrite,createonly,methodorparameter.

Elementof Reflection.methodsReflection.propertiesReflection.staticMethodsReflection.staticPropertiesReflectionInfo.arguments

Return ReflectionInfoReflection.find(name:string)

Page 184: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 185: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 186: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RegExp Wrapsaregularexpression.

QuickLinks RegExp,compile,exec,test,toString

Class Property Type Access Description

$1 string readonly Thematchedsubexpression#1.

$2 string readonly Thematchedsubexpression#2.

$3 string readonly Thematchedsubexpression#3.

$4 string readonly Thematchedsubexpression#4.

$5 string readonly Thematchedsubexpression#5.

$6 string readonly Thematchedsubexpression#6.

$7 string readonly Thematchedsubexpression#7.

$8 string readonly Thematchedsubexpression#8.

$9 string readonly Thematchedsubexpression#9.

global bool r/w Indicateswhetherthematchisaglobalmatch.

ignoreCase bool r/w Indicateswhetherthematchisnotcasesensitive.

input string r/w Theoriginalinputstring.

Page 187: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

lastMatch string readonly Thelastmatch.

lastParen string readonly Thevalueofthelastmatchedsubexpression.

leftContext string readonly Thestringbeforethematch.

multiline bool r/w Indicateswhetherthematchmatchesmultiplelines.

rightContext string readonly Thestringafterthematch.

Methods ConstructorRegExpRegExp(pattern:string[,flags:string])CreatesandreturnsanewRegExpobjectsettothevalueoftheargumentconvertedtoaregularexpression.Parameter Type Description

pattern string Thepatterntoconvert.

flags string Flagsthatcontrolhowtheconversionisperformed.Astringcontaininganycombinationofthelettersi,m,g:•"i"--ignorecaseinpatternmatching•"m"--treatthestringasmultiplelines•"g"--doglobalpatternmatching(Optional)

Instancesboolcompile(pattern:string)Compilesastringtoaregularexpression.Returnstrueifthecompilationwassuccessful.Parameter Type Description

pattern string Thepatterntocompile.

Page 188: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Arrayexec(text:string)Executearegularexpression.Thereturnvalueisanarrayofmatches,withthefirstelementcontainingthematch,andsuccessiveelementscontainingtheresultsofanymatchingsubexpressionintheirorderofappearance.Ifthereisnomatch,theresultisnull.Parameter Type Description

text string Thestringtomatch.

booltest(text:string)Executearegularexpression,andreturntrueifthereisamatch.Parameter Type Description

text string Thestringtomatch.

stringtoString()ConvertsthisRegExpobjecttoastring.

Usedin: ArrayString.match(regexp:RegExp)numberString.search(search:RegExp)

Return RegExpRegExp.RegExp(pattern:string[,flags:string])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 189: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 190: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Socket CreatesaTCP/IPconnection,orestablishesaTCP/IPserver.

QuickLinks Socket,close,listen,open,poll,read,readln,write,writeln

Properties Property Type Access Description

connected bool readonly Whentrue,theconnectionisactive.

encoding string r/w Setsorretrievesthenameoftheencodingusedtotransmitdata.Typicalvaluesare"ASCII","BINARY",or"UTF-8".

eof bool readonly Whentrue,thereceivebufferisempty.

error string r/w Amessagedescribingthemostrecenterror.Settingthisvalueclearsanyerrormessage.

host string readonly Thenameoftheremotecomputerwhenaconnectionisestablished.Iftheconnectionisshutdownordoesnotexist,thepropertycontainstheemptystring.

timeout number r/w Thetimeoutinsecondstobeappliedtoreadorwriteoperations.(default:10)

Methods ConstructorSocketSocket()CreatesanewSocketobject.

Page 191: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Instancesboolclose()Terminatestheopenconnection.Returnstrueiftheconnectionwasclosed,falseonI/Oerrors.Deletingtheobjectalsoclosestheconnection,butnotuntilJavaScriptgarbage-collectstheobject.Theconnectionmightstayopenlongerthanyouwishifyoudonotcloseitexplicitly.

boollisten(port:number[,encoding:string=ASCII])Instructstheobjecttostartlisteningforanincomingconnection.Thecalltoopen()andthecalltolisten()aremutuallyexclusive.Callonefunctionortheother,notboth.Parameter Type Description

port number(range:1-65535)

TheTCP/IPportnumbertolistenon.Validportnumbersare1to65535.Typicalvaluesare80foraWebserver,23foraTelnetserverandsoon.

encoding string Theencodingtobeusedfortheconnection(default:ASCII)Typicalvaluesare"ASCII","BINARY",or"UTF-8".(Optional)

boolopen(host:string[,encoding:string=ASCII])Openstheconnectionforsubsequentread/writeoperations.Thecalltoopen()andthecalltolisten()aremutuallyexclusive.Callonefunctionortheother,notboth.Parameter Type Description

host string Theservertoconnectto.ThiscanbeaDNSname,anIPv4address,oranIPv6address,followedbyacolonandaportnumber.

encoding string Theencodingtobeusedfortheconnection(default:ASCII)Typicalvaluesare"ASCII","binary",or

Page 192: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

"UTF-8".(Optional)

Socketpoll()Checksalisteningobjectforanewincomingconnection.Ifaconnectionrequestwasdetected,themethodreturnsanewSocketobjectthatwrapsthenewconnection.Usethisconnectionobjecttocommunicatewiththeremotecomputer.Afteruse,closetheconnectionanddeletetheJavaScriptobject.Ifnonewconnectionrequestwasdetected,themethodreturnsnull.

stringread([count:number])Readsuptothespecifiednumberofcharactersfromtheconnection.CRcharactersareignoredunlesstheencodingissetto"BINARY".Returnsastringthatcontainsuptothenumberofcharactersthatweresupposedtoberead,orthenumberofcharactersreadbeforetheconnectionclosedortimedout.Parameter Type Description

count number Thenumberofcharacterstoread.Ifnotsupplied,theconnectionattemptstoreadasmanycharactersitcangetandreturnsimmediately.(Optional)

stringreadln()Readsonelineoftextuptothenextlinefeed.LinefeedsarerecognizedasLForCRLFpairs.CRcharactersareignored.Returnsastringcontainingthecharacters.

boolwrite(text:string)Concatenatesallargumentsintoasinglestringandwritesthatstringtotheconnection.Parameter Type Description

text string Anynumberofstringvalues.Allargumentsareconcatenatedtoformthestringtobewritten.CRLFsequencesareconvertedtoLFsunlesstheencodingissetto"BINARY".

Page 193: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

boolwriteln(text:string)Concatenatesallargumentsintoasinglestring,appendsaLFcharacter,andwritesthatstringtotheconnection.Parameter Type Description

text string Anynumberofstringvalues.Allargumentsareconcatenatedtoformthestringtobewritten.CRLFsequencesareconvertedtoLFsunlesstheencodingissetto"BINARY".

Example Seefile Socket.jsx

Return SocketSocket.Socket()SocketSocket.poll()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 194: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 195: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

String Acharacterstring.Eachcharacterisadressablebyindex.

QuickLinks String,anchor,big,blink,bold,charAt,charCodeAt,concat,fixed,fontcolor,fontsize,fromCharCode,indexOf,italics,lastIndexOf,link,localeCompare,match,replace,search,slice,small,split,strike,sub,substr,substring,sup,toLocaleLowerCase,toLocaleUpperCase,toLowerCase,toSource,toString,toUpperCase,valueOf

Properties Property Type Access Description

length number readonly Thelengthofthestring.

Methods ConstructorStringString(value:any)Returnsastringrepresentationofthevaluegivenasanargument.Parameter Type Description

value any Anumber,variable,orobjecttoconverttoastring.

Example newString(value)

ClassStringfromCharCode(value1:number)ReturnsastringcreatedbyconcatenationoneormorecharactersspecifiedasASCIIvalues.Parameter Type Description

value1 number OneormoreASCIIvalues.

Example String.fromCharCode(value1,...valueN)

Instancesstringanchor(name:string)

Page 196: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Returnsastringconsistingofthisstringenclosedina<a>tag.Parameter Type Description

name string Thetexttobestoredintheanchors'nameattribute.

stringbig()Returnsastringconsistingofthisstringenclosedina<big>tag.

stringblink()Returnsastringconsistingofthisstringenclosedina<blink>tag.

stringbold()Returnsastringconsistingofthisstringenclosedina<b>tag.

stringcharAt(index:number)Returnsthecharacteratthespecifiedindex.Parameter Type Description

index number Anintegerbetween0andstring.length-1,specifyingthecharactertoreturn.

Example string.charAt(index)

numbercharCodeAt(index:number)ReturnstheUnicodevalueofthecharacteratthegivenindex.Parameter Type Description

index number Anintegerbetween0andstring.length-1,specifyingthecharacter.

Example string.charCodeAt(index)

stringconcat(value:string)Ifnecessary,convertstheoneormoregivenvaluestostrings.Thosevaluesareconcatenatedwiththeoriginalstring,theresultisreturned.Theoriginalstringisnoteffected.Returnstheconcatenatedstring.Parameter Type Description

value string Thevaluestobeconcatenatedwiththe

Page 197: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

givenstring.

Example string.concat(value1,...valueN)

stringfixed()Returnsastringconsistingofthisstringenclosedina<tt>tag.

stringfontcolor(color:string)Returnsastringconsistingofthisstringenclosedina<font>tag.Parameter Type Description

color string Thevaluetobestoredinthetag'scolorattribute.

stringfontsize(size:number)Returnsastringconsistingofthisstringenclosedina<font>tag.Parameter Type Description

size number Thevaluetobestoredinthetag'ssizeattribute.

numberindexOf(searchValue:string[,offset:number])Returnstheindexwithinthestringofthefirstoccurrenceofthespecifiedstring,startingthesearchatfromIndexifprovided.Parameter Type Description

searchValue string Thestringforwhichtosearch.

offset number Thestartingoffsetofthesearch.(Optional)

Example string.indexOf(searchValue,fromIndex)

stringitalics()Returnsastringconsistingofthisstringenclosedina<i>tag.

numberlastIndexOf(searchValue:string[,offset:number])Returnstheindexwithinthestringofthelastoccurrenceofthespecifiedvalue.Thestringissearchedbackward,startingatfromIndex.

Page 198: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ReturnstheindexwithinthestringwherethelastoccurrenceofsearchValuewasfound,or-1ifitwasnotfound.Parameter Type Description

searchValue string Thestringforwhichtosearch.

offset number Thestartingoffsetofthesearch.(Optional)

Example string.lastIndexOf(searchValue,fromIndex)

stringlink(href:string)Returnsastringconsistingofthisstringenclosedina<a>tag.Parameter Type Description

href string Thevaluetobestoredinthetag'shrefattribute.

numberlocaleCompare(what:string)Performsalocalizedcomparisonoftwostrings.Parameter Type Description

what string Thestringtocomparewith.

Arraymatch(regexp:RegExp)Matchesastringagainstaregularexpression.Parameter Type Description

regexp RegExp Theregularexpressiontouse.

stringreplace(what:any,with:string)Parameter Type Description

what any

with string

numbersearch(search:RegExp)Parameter Type Description

search RegExp

Page 199: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

stringslice(startSlice:number[,endSlice:number])Extractsasubstringofthegivenstringandreturnsitasanewstring.ThesubstringbeginsatstartSlice,andincludesallcharactersupto,butnotincludingthecharacterattheindexendSlice.Anegativevalueindexesfromtheendofthestring.Forexample,anegativevalueforstartSliceisresolvedas:string.length+startSlice.Theoriginalstringisunchanged.Returnsasubstringofcharactersfromthegivenstring,startingatstartSliceandendingwithendSlice-1.Parameter Type Description

startSlice number Theindexatwhichtobeginextraction.

endSlice number Theindexatwhichtoendextraction.Ifomitted,sliceextractstotheendofthestring.(Optional)

Example string.slice(startSlice,endSlice)

stringsmall()Returnsastringconsistingofthisstringenclosedina<small>tag.

stringsplit(delimiter:string,limit:number)Splitsastringintoagroupofsubstrings,placesthosestringsinanarray,andreturnsthearray.Thesubstringsarecreatedbybreakingtheoriginalstringatplacesthatmatchdelimiter,thedelimitercharactersareremoved.Returnsanarraywhoseelementsarethesubstrings.Parameter Type Description

delimiter string Specifiesthestringtousefordelimiting.Ifdelimiterisomitted,thearrayreturnedcontainsoneelement,consistingoftheentirestring.

limit number

Page 200: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Example string.split(delimiter)

stringstrike()Returnsastringconsistingofthisstringenclosedina<strike>tag.

stringsub()Returnsastringconsistingofthisstringenclosedina<sub>tag.

stringsubstr(start:number,length:number)Returnsastringcontainingthecharactersbeginningatthespecifiedindex,start,throughthespecifiednumberofcharacters.Theoriginalstringisunchanged.Returnsastringcontainingtheextractedcharacters.Parameter Type Description

start number Locationatwhichtobeginextractingcharacters.

length number (OptIonal)Thenumberofcharacterstoextract.

Example string.substr(start,length)

stringsubstring(indexA:number[,indexB:number])ReturnsasubstringofthegivenstringbyextractingcharactersfromindexAuptobutnotincludingindexB.Theoriginalstringisunchanged.Returnsasubstringofcharactersfromthegivenstring,startingatindexAandendingwithindexB-1.Parameter Type Description

indexA number Theindextobeginextracting.

indexB number (Optional)Theindexatwhichtoendextraction.Ifomitted,sliceextractstotheendofthestring.

Example string.substring(indexA,indexB)

Page 201: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

stringsup()Returnsastringconsistingofthisstringenclosedina<sup>tag.

stringtoLocaleLowerCase()Returnsanewstringwhichcontainsallthecharactersoftheoriginalstringconvertedtolowercase(localized).Theoriginalstringisunchanged.

stringtoLocaleUpperCase()Returnsanewstringwhichcontainsallthecharactersoftheoriginalstringconvertedtouppercase(localized).Theoriginalstringisunchanged.

stringtoLowerCase()Returnsanewstringwhichcontainsallthecharactersoftheoriginalstringconvertedtolowercase.Theoriginalstringisunchanged.

Example string.toLowerCase()

stringtoSource()Createsastringrepresentationofthisobjectthatcanbefedbacktoeval()tore-createanobject.Worksonlywithbuilt-inclasses.

stringtoString()Returnsitself.

stringtoUpperCase()Returnsanewstringwhichcontainsallthecharactersoftheoriginalstringconvertedtouppercase.Theoriginalstringisunchanged.

Example string.toUpperCase()

stringvalueOf()Returnsitself.

Elementof Button.alignmentButton.helpTipButton.justifyButton.shortcutKeyButton.text

Page 202: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Button.typeCheckbox.alignmentCheckbox.helpTipCheckbox.justifyCheckbox.shortcutKeyCheckbox.textCheckbox.typeDropDownList.alignmentDropDownList.helpTipDropDownList.shortcutKeyDropDownList.typeEditText.alignmentEditText.helpTipEditText.justifyEditText.shortcutKeyEditText.textEditText.textselectionEditText.typeEvent.eventPhaseEvent.typeFlashPlayer.alignmentFlashPlayer.helpTipFlashPlayer.typeGroup.alignChildrenGroup.alignmentGroup.helpTipGroup.orientationGroup.typeIconButton.alignmentIconButton.helpTipIconButton.shortcutKeyIconButton.typeKeyboardState.keyNameListBox.alignmentListBox.helpTipListBox.shortcutKeyListBox.typeListItem.textListItem.type

Page 203: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Panel.alignChildrenPanel.alignmentPanel.helpTipPanel.justifyPanel.orientationPanel.textPanel.typeProgressbar.alignmentProgressbar.helpTipProgressbar.typeRadioButton.alignmentRadioButton.helpTipRadioButton.justifyRadioButton.shortcutKeyRadioButton.textRadioButton.typeScriptUI.AlignmentScriptUI.coreVersionScriptUI.frameworkNameScriptUIBrush.themeScriptUIFont.familyScriptUIFont.nameScriptUIFont.substituteScriptUIImage.formatScriptUIImage.nameScriptUIImage.pathnameScriptUIPen.themeScriptUIPen.typeScrollbar.alignmentScrollbar.helpTipScrollbar.shortcutKeyScrollbar.typeSlider.alignmentSlider.helpTipSlider.shortcutKeySlider.typeStaticText.alignmentStaticText.helpTipStaticText.justify

Page 204: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

StaticText.shortcutKeyStaticText.textStaticText.typeTreeView.alignmentTreeView.helpTipTreeView.shortcutKeyTreeView.typeUIEvent.eventPhaseUIEvent.typeWindow.alignChildrenWindow.alignmentWindow.frameworkNameWindow.helpTipWindow.justifyWindow.orientationWindow.shortcutKeyWindow.textWindow.type

Usedin: BooleanButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidButton.notify([eventName:String])BooleanButton.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])BooleanCheckbox.addEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])voidCheckbox.notify([eventName:String])BooleanCheckbox.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])ListItemDropDownList.add(type:String[,text:String])BooleanDropDownList.addEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

ListItemDropDownList.find(text:String)voidDropDownList.notify([eventName:String])BooleanDropDownList.removeEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

Page 205: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BooleanEditText.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidEditText.notify([eventName:String])BooleanEditText.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])Event(SUI)Events.createEvent(eventType:String)BooleanFlashPlayer.addEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])AnyFlashPlayer.invokePlayerFunction(name:String[,

argument:Any])voidFlashPlayer.notify([eventName:String])BooleanFlashPlayer.removeEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

ObjectGroup.add(type:String[,bounds:Bounds][,text:String][,properties:Object])

BooleanGroup.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanGroup.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanIconButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidIconButton.notify([eventName:String])BooleanIconButton.removeEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

ListItemListBox.add(type:String[,text:String])BooleanListBox.addEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])ListItemListBox.find(text:String)voidListBox.notify([eventName:String])BooleanListBox.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])ObjectPanel.add(type:String[,bounds:Bounds][,text:

String][,properties:Object])BooleanPanel.addEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])BooleanPanel.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])

Page 206: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BooleanProgressbar.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanProgressbar.removeEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

BooleanRadioButton.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidRadioButton.notify([eventName:String])BooleanRadioButton.removeEventListener(eventName:

String,handler:Function[,capturePhase:Boolean=false])

StringScriptUI.getResourceText(text:String)ScriptUIFontScriptUI.newFont(name:String,style:String|

Number,size:Number)ScriptUIImageScriptUI.newImage(normal:String[,disabled:

String][,pressed:String][,rollover:String])voidScriptUIGraphics.drawString(text:String,pen:

ScriptUIPen,x:Number,y:Number[,font:ScriptUIFont])

DimensionScriptUIGraphics.measureString(text:String[,font:ScriptUIFont][,boundingWidth:Number])

ScriptUIBrushScriptUIGraphics.newBrush(type:Number,color:ArrayofNumber|String)

ScriptUIPenScriptUIGraphics.newPen(type:Number,color:ArrayofNumber|String,width:Number)

BooleanScrollbar.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidScrollbar.notify([eventName:String])BooleanScrollbar.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])BooleanSlider.addEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])voidSlider.notify([eventName:String])BooleanSlider.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])BooleanStaticText.addEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])voidStaticText.notify([eventName:String])BooleanStaticText.removeEventListener(eventName:String,

Page 207: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

handler:Function[,capturePhase:Boolean=false])ListItemTreeView.add(type:String[,text:String])BooleanTreeView.addEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])ListItemTreeView.find(text:String)voidTreeView.notify([eventName:String])BooleanTreeView.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])UIEventUIEvent.UIEvent(type:String[,captures:

Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])

voidUIEvent.initEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,cancelable:Boolean=false])

voidUIEvent.initUIEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])

voidWindow.Window(type:String[,title:String][,bounds:Bounds][,properties:Object])

ObjectWindow.add(type:String[,bounds:Bounds][,text:String][,properties:Object])

BooleanWindow.addEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])

voidWindow.alert(message:String[,title:String][,errorIcon:Boolean=false])

BooleanWindow.confirm(message:String[,noAsDefault:Boolean=false][,title:String])

WindowWindow.find(type:String,title:String)voidWindow.notify([eventName:String])StringWindow.prompt(prompt:String[,default:String][,

title:String])BooleanWindow.removeEventListener(eventName:String,

handler:Function[,capturePhase:Boolean=false])

Return StringScriptUI.getResourceText(text:String)StringString.String(value:any)StringString.fromCharCode(value1:number)StringWindow(SUI).prompt(prompt:String[,default:

String][,title:String])

Page 208: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 209: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 210: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

UnitValue Representsameasurementasacombinationofvalues

andunit.Notethatthisobjectisnotavailableinallapplications.

QuickLinks as,convert

Properties Property Type Access Description

baseUnit UnitValue r/w Thebaseunit.

type string readonly Theunitname.

value number r/w Thenumericvalue.

Class Property Type Access Description

baseUnit UnitValue r/w Thebaseunitforallconversions.

Methods InstancesUnitValueas(unitName:string)Returnsthisinstanceasadifferentunit.Parameter Type Description

unitName string Theunitname.

anyconvert(unitName:string)Convertsthisinstancetoadifferentunit.Parameter Type Description

unitName string Theunitname.

Elementof UnitValue.baseUnitUnitValue.baseUnit

Return UnitValueUnitValue.as(unitName:string)

Page 211: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 212: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 213: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

XML WrapsXMLintoanobject.

QuickLinks XML,addNamespace,appendChild,attribute,attributes,child,childIndex,children,comments,contains,copy,defaultSettings,descendants,elements,hasComplexContent,hasSimpleContent,inScopeNamespaces,insertChildAfter,insertChildBefore,length,localName,name,namespace,namespaceDeclarations,nodeKind,normalize,parent,prependChild,processingInstructions,removeNamespace,replace,setChildren,setLocalName,setName,setNamespace,setSettings,settings,text,toString,toXMLString,xpath

Class Property Type Access Description

ignoreComments bool r/w ControlswhetherXMLcommentsshouldbeparsed(false)orignored(true).(default:true)

ignoreProcessingInstructions bool r/w ControlswhetherXMLpreprocessinginstructionsshouldbeparsed(false)orignored(true).(default:true)

ignoreWhitespace bool r/w Controls

Page 214: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

whetherwhitespaceshouldbeparsed(false)orignored(true).(default:true)

prettyIndent number r/w Thenumberofspacesusedtoindentpretty-printedXML.(default:2)

prettyPrinting bool r/w Whentrue,XMLispretty-printedwhenconvertingtoastring.(default:true)

Methods ConstructorXMLXML(text:string)ParsesanXMLstring.ThrowsanerroriftheXMLisincorrect.Parameter Type Description

text string Thetexttoparse.

ClassObjectdefaultSettings()ReturnsanobjectcontainingthedefaultparsingandprintsettingsforXML.

voidsetSettings(obj:Object)SetstheparsingandprintsettingforXMLusinganobject

Page 215: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

returnedbythesettings()method.Parameter Type Description

obj Object Theobjectcontainingthesettingstoset.

Objectsettings()ReturnsanobjectcontainingthecurrentparsingandprintsettingsforXML.

InstancesXMLaddNamespace(namespace:Namespace)Addsanamespacedeclarationtothenode.ReturnstheXMLobjectitself.Parameter Type Description

namespace Namespace Thenamespacetoadd.

XMLappendChild(child:XML)AppendsthegivenXMLtothisXMLasachild.ReturnstheXMLobjectitself.IftheargumentisnotXML,createsanewXMLelementcontainingtheargumentastext.TheelementnameofthatnewXMListhesameasthelastelementintheoriginalXML.Parameter Type Description

child XML ThechildXMLtoadd.

XMLattribute(name:string)Returnsalistcontainingallattributeelementsmatchingthegivenname.Parameter Type Description

name string Theattributenametolookfor.

XMLattributes()Returnsalistcontainingallattributeelements.

XMLchild(name:string)ReturnsalistcontainingallchildrenofthisXMLmatchingthegivenelementname.Iftheargumentisanumber,usesthenumberasindexintothe

Page 216: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

arrayofchildren.Parameter Type Description

name string Thenameortheindexofthechildelement.

numberchildIndex()ReturnsanumberrepresentingtheordinalpositionofthisXMLobjectwithinthecontextofitsparent.

XMLchildren()ReturnsanXMLobjectcontainingallthepropertiesofthisXMLobjectinorder.

XMLcomments()ReturnsanXMLobjectcontainingthepropertiesofthisXMLobjectthatrepresentXMLcomments.

boolcontains(xml:XML)ChecksifthisXMLobjectcontainsthegivenXMLobject.Parameter Type Description

xml XML TheXMLtosearchfor.

XMLcopy()CreatesacopyofthisXMLobject.

XMLdescendants([name:string])ReturnsalltheXML-valueddescendantsofthisXMLobjectwiththegivenname.Ifthenameparameterisomitted,returnsalldescendantsofthisXMLobject.Parameter Type Description

name string Thenameofthedescendanttofind.(Optional)

XMLelements([name:string])ReturnsalistofXMLchildrenthatareelementswithagivenname,orallchildrenthatareXMLelements.Parameter Type Description

Page 217: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

name string Theelementname.Ifnotsupplied,getsallchildrenthatareXMLelements.(Optional)

boolhasComplexContent()ReportswhetherthisXMLobjectcontainscomplexcontent.AnXMLobjectisconsideredtocontaincomplexcontentifitrepresentsanXMLelementthathaschildelements.XMLobjectsrepresentingattributes,comments,processinginstructionsandtextnodesdonothavecomplexcontent.Theexistenceofattributes,comments,processinginstructionsandtextnodeswithinanXMLobjectisnotsignificantindeterminingifithascomplexcontent.

boolhasSimpleContent()ReportswhetherthisXMLobjectcontainssimplecontent.AnXMLobjectisconsideredtocontainsimplecontentifitrepresentsatextnode,representsanattributenodeorifitrepresentsanXMLelementthathasnochildelements.XMLobjectsrepresentingcommentsandprocessinginstructionsdonothavesimplecontent.Theexistenceofattributes,comments,processinginstructionsandtextnodeswithinanXMLobjectisnotsignificantindeterminingifithassimplecontent.

ArrayinScopeNamespaces()ReturnsanarrayofNamespaceobjectsmirroringthecurrentlistofvalidnamespacesatthiselement.Thelastelementofthereturnedarrayisthedefaultnamespace.

voidinsertChildAfter(child1:XML,child2:XML)Insertsthegivenchild2afterthegivenchild1inthisXMLobjectandreturnsthisXMLobject.Ifchild1isnull,themethodinsertschild2beforeallchildrenofthisXMLobject(thatis,afternoneofthem).Ifchild1doesnotexistinthisXMLobject,themethodreturnswithoutmodifyingthisXMLobject.Parameter Type Description

child1 XML Thechildtoinserttheotherchildafter.Ifnull,themethodinsertschild2beforeallchildrenofthisXMLobject.

Page 218: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

child2 XML TheXMLtoinsert.

voidinsertChildBefore(child1:XML,child2:XML)Insertsthegivenchild2beforethegivenchild1inthisXMLobjectandreturnsthisXMLobject.Ifchild1isnull,themethodinsertschild2afterallchildrenofthisXMLobject(thatis,beforenoneofthem).Ifchild1doesnotexistinthisXMLobject,themethodreturnswithoutmodifyingthisXMLobject.Parameter Type Description

child1 XML Thechildtosearchfor.Ifnull,themethodinsertschild2afterallchildrenofthisXMLobject.

child2 XML TheXMLtoinsert.

numberlength()ReturnsthenumberofelementscontainedinanXMLlist.IfthisXMLobjectisnotalist,returns1.

stringlocalName()ReturnsthelocalnameofthisXMLobject.Thisvaluecorrespondstotheelementnameunlessthenamehasanamespaceprefix.Forexample,iftheelementhasthename"ns:tag",thereturnvalueis"tag".

QNamename()ReturnsaQNameobjectcontainingtheURIandthelocalnameoftheelement.

Namespacenamespace()ReturnsaNamespaceobjectcontainingthenamespaceURIofthecurrentelement.

ArraynamespaceDeclarations()ReturnsanarraycontainingallnamespacedeclarationsofthisXMLobject.

stringnodeKind()ReturnsthetypeofthisXMLobjectasoneofthestrings"element","attribute","comment","processing-instruction",or

Page 219: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

"text".

XMLnormalize()PutsalltextnodesinthisandalldescendantXMLobjectsintoanormalformbymergingadjacenttextnodesandeliminatingemptytextnodes.ReturnsthisXMLobject.

XMLparent()ReturnstheparentobjectofthisXMLobject.Therootobject,asreturnedbytheXMLconstructor,doesnothaveaparentandreturnsnull.NotethattheE4XstandarddoesnotdefinewhathappensifthisXMLobjectisalistcontainingelementswithmultipleparents.

XMLprependChild(child:XML)InsertsagivenchildintothisobjectbeforeitsexistingXMLproperties,andreturnsthisXMLobject.Parameter Type Description

child XML TheXMLtoinsert.

XMLprocessingInstructions([name:string])Returnsalistofpreprocessinginstructions.Collectsprocessing-instructionswiththegivenname,ifsupplied.Otherwise,returnsanXMLlistcontainingallthechildrenofthisXMLobjectthatareprocessing-instructionsregardlessoftheirname.Parameter Type Description

name string Thenameofthepreprocessinginstructiontoreturn.(Optional)

XMLremoveNamespace(namespace:Namespace)RemovesthegivennamespacefromthisXML,andreturnsthisXML.Parameter Type Description

namespace Namespace Thenamespacetoremove.

XMLreplace(name:string,value:XML)ReplacesthevalueofspecifiedXMLpropertiesofthisXMLobjectreturnsthisXMLobject.

Page 220: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Thismethodactsliketheassignmentoperator.Parameter Type Description

name string Thepropertyname.Canbeanumericpropertyname,anameforasetofXMLelements,orthepropertieswildcard"*".IfthisXMLobjectcontainsnopropertiesthatmatchthename,themethodreturnswithoutmodifyingthisXMLobject.

value XML TheXMLwithwhichtoreplacethevalueofthematchingproperty.CanbeanXMLobject,XMLlistoranyvaluethatcanbeconvertedtoaStringwithtoString().

XMLsetChildren(value:XML)ReplacesalloftheXML-valuedpropertiesinthisobjectwithanewvalue,andreturnsthisXMLobject.Parameter Type Description

value XML Thenewvalue,whichcanbeasingleXMLobjectoranXMLlist.

voidsetLocalName(name:string)ReplacesthelocalnameofthisXMLobjectwithastringconstructedfromthegivennameThelocalnameisanypartbehindacoloncharacter.Ifthereisnocolon,itistheentirename.Parameter Type Description

name string Thenametoset.

voidsetName(name:QName)ReplacesthenameofthisXMLobjectwiththegivenQNameobject.Parameter Type Description

name QName Thefullyqualifiedname.

Page 221: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidsetNamespace(namespace:Namespace)SetsthenamespaceforthisXMLelement.Ifthenamespacehasnotbeendeclaredinthetreeabovethiselement,addsanamespacedeclaration.Parameter Type Description

namespace Namespace Thenamespacetoset.

XMLtext()ReturnsanXMLlistcontainingallXMLpropertiesofthisXMLobjectthatrepresentXMLtextnodes.

stringtoString()Returnsthestringrepresentationofthisobject.Fortextandattributenodes,thisisthetextualvalueofthenode;forotherelements,thisistheresultofcallingthetoXMLString()method.IfthisXMLobjectisalist,concatenatestheresultofcallingtoString()oneachelement.

stringtoXMLString()ReturnsanXML-encodedstringrepresentationofthisXMLobject.Alwaysincludesthestarttag,attributesandendtagoftheXMLobjectregardlessofitscontent.ItisprovidedforcaseswhenthedefaultXMLtostringconversionrulesarenotdesired.InterpretstheglobalsettingsXML.prettyPrintandXML.prettyIndent.

XMLxpath(expr:string)EvaluatesthegivenXPathexpressioninaccordancewiththeW3CXPathrecommendation,usingthisXMLobjectasthecontextnode.Parameter Type Description

expr string TheXPathexpressiontouse.

Usedin: XMLXML.appendChild(child:XML)boolXML.contains(xml:XML)voidXML.insertChildAfter(child1:XML,child2:XML)voidXML.insertChildBefore(child1:XML,child2:XML)XMLXML.prependChild(child:XML)

Page 222: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

XMLXML.replace(name:string,value:XML)XMLXML.setChildren(value:XML)

Return XMLReflection.toXML()XMLXML.XML(text:string)XMLXML.addNamespace(namespace:Namespace)XMLXML.appendChild(child:XML)XMLXML.attribute(name:string)XMLXML.attributes()XMLXML.child(name:string)XMLXML.children()XMLXML.comments()XMLXML.copy()XMLXML.descendants([name:string])XMLXML.elements([name:string])XMLXML.normalize()XMLXML.parent()XMLXML.prependChild(child:XML)XMLXML.processingInstructions([name:string])XMLXML.removeNamespace(namespace:Namespace)XMLXML.replace(name:string,value:XML)XMLXML.setChildren(value:XML)XMLXML.text()XMLXML.xpath(expr:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 223: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 224: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

XMLList AnXMLlistobject.

Inthisimplementation,anXMLListobjectissynonymoustotheXMLobject.TheconstructoracceptsanXMLlist,buteverythingelseworksliketheXMLobject.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 225: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 226: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Application TheAdobeIllustratorapplication.

QuickLinks aATAddItem,aATClear,aATDuplicateItem,aATEditItemaATExecuteSessionFromFile,aATFileRelativeChangedaATGetErrorDialogFile,aATGetListOfRelativePaths,aATLoadModel,aATLoadSessionFile,aATLoadUIExtensionaATReplaceItem,aATSaveAsSession,aATSaveSessionbeep,concatenateMatrix,concatenateRotationMatrix,concatenateTranslationMatrix,convertSampleColor,copyexecuteMenuCommand,getExecutionOutput,getIdentityMatrixgetPresetSettings,getRotationMatrix,getScaleMatrix,getVersionString,invertMatrix,isEqualMatrix,isSingularMatrixpaste,quit,redo,redraw,reflectCSAW,runAPITest,sendScriptMessagetranslatePlaceholderText,translateString,undo,unloadAction

Hierarchy Object

Application

Properties Property Type

PDFPresetsList Arrayofstring

PPDFileList ArrayofPPDFile

Page 227: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

activeDocument Document

browserAvailable bool

buildNumber string

colorSettingsList ArrayofFile

coordinateSystem CoordinateSystem:CoordinateSystem.DOCUMENTCOORDINATESYSTEMCoordinateSystem.ARTBOARDCOORDINATESYSTEM

defaultColorSettings File

documents Documents Document

flattenerPresetsList Arrayofstring

Page 228: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

freeMemory Int32

locale string

name string

parent Object

path File

preferences Preferences

printPresetsList Arrayofstring

Page 229: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

printerList ArrayofPrinter

scriptingVersion string

selection any

startupPresetsList Arrayofstring

textFonts TextFonts TextFont

tracingPresetsList Arrayofstring

typename string

userInteractionLevel UserInteractionLevel:UserInteractionLevel.DONTDISPLAYALERTSUserInteractionLevel.DISPLAYALERTS

Page 230: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

version string

visible bool

Methods InstancesstringaATAddItem(sessionIndex:Int32,destinationSequenceIDsrcItemIDData:string,type:string)Addthespecifiedtothesequencer.Parameter Type Description

sessionIndex Int32 Theindexinthesessionofthetop-mostsequencefortheitemtoadd.

destinationSequenceID Int32 TheUIDfortheowningsequence.

destinationIndex Int32 TheitemUIDwheretoinsert.

srcItemIDData string TheitemIDoftheitemtoconstruct.

type string Thesourceoftheitemtoconstruct.

stringaATClear()Clearthesequencer.

stringaATDuplicateItem(sessionIndex:Int32,item:Duplicatesthespecifieditem(s)fromthesequencer.Parameter Type Description

sessionIndex Int32 Theindexinthesessionofthetop-mostsequencefortheitemtoadd.

item string TheitemUID(s)

Page 231: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

stringaATEditItem(sessionIndex:Int32,item:stringOpensthespecifieditemfromthesequencerintheitemeditor.Parameter Type Description

sessionIndex Int32 Theindexinthesessionofthetop-mostsequencefortheitemtoadd.

item string TheitemUID.

boolaATErrorsExist()Retrievesabooleanindicatingthepresenceoferrorsinthelastscripttoexecute.

voidaATExecuteSession()Executestheactivesessioninthesequencer.

voidaATExecuteSessionFromFile(file:File)Executestheactivesessioninthesequencer.Parameter Type Description

file File Executeasessionfile.

stringaATFileRelativeChanged(path:string,relativeSwitchesafilesrelativetokenandpath.Parameter Type Description

path string ThepathrelativetothefolderspecifiedbyRelative.

relative string Thecurrentrelativepathtoken.

newRelative string Thenewrelativepathtoken.

stringaATFileSaveDialog(path:string,relative:stringPromptstheusertosaveafileorchooseafileordirectoryandreturnsarelativepathstringtothefile.Parameter Type Description

path string ThepathrelativetothefolderspecifiedbyRelative.

relative string Thecurrentrelativepathtoken.

type string Thetypeofdialogtoshowinstringformat.

FileaATGetEditorDialogFile()RetrievesafilepathtotheAATeditorswf.

FileaATGetErrorDialogFile()

Page 232: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RetrievesafilepathtotheAATerrordialogswf.

stringaATGetListOfRelativePaths()GetsanXMLstringlistingtherelativepathsandtheUIstringstodisplaythem.

stringaATGetSession()Gettheactivesessionforthesequncer.

stringaATLoadLibExtension()Loadsasessionfileasanextensiontotheeditor.

stringaATLoadModel()Loadstheaatmodeltotheeditor.

stringaATLoadSessionFile()Loadsasessionintothesequencer.

stringaATLoadUIExtension()LoadsaUIdescriptionasanextensiontotheeditor.

stringaATMoveItem(sessionIndex:Int32,moveThisIDdestinationSequenceID:string,destinationIndex:Int32Movesthespecifiedinthesequencer.Parameter Type Description

sessionIndex Int32 Theindexinthesessionofthetop-mostsequencefortheitemtomove.

moveThisID string TheUIDoftheitemtoreplace.

newSessionIndex Int32 Theindexinthesessionofthedestinationtop-mostsequence.

destinationSequenceID string TheUIDfortheowningsequence.

destinationIndex Int32 Theindexwheretoinsert.

stringaATRemoveItem(sessionIndex:Int32,item:stringRemovesthespecifieditemfromthesequencer.Parameter Type Description

sessionIndex Int32 Theindexinthesessionofthetop-mostsequencefortheitemtoadd.

item string TheitemUID.

stringaATReplaceItem(sessionIndex:Int32,replaceThisIDReplacesthespecifiedtothesequencer.

Page 233: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type Description

sessionIndex Int32 Theindexinthesessionofthetop-mostsequencefortheitemtoadd.

replaceThisID Int32 TheUIDoftheitemtoreplace.

srcItemIDData string TheitemIDoftheitemtoconstruct.

type string Thesourceoftheitemtoconstruct.

stringaATSaveAsSession()Savestheactivesessioninthesequencertoanewfile.

stringaATSaveSession()Savestheactivesessioninthesequencertoafile.

stringapplyDataToItem(sessionIndex:Int32,item:stringAppliesthedatausedintheitemeditortotheitem.Parameter Type Description

sessionIndex Int32 Theindexinthesessionofthetop-mostsequencefortheitemtoedit.

item string TheitemUID.

data string ThedatatoapplyinXMLformat.

boolapplySingleDataPointToItem(sessionIndex:Int32Appliesdatatothespecifieditemfromthesequencerintheitemeditor.Parameter Type Description

sessionIndex Int32 Theindexinthesessionofthetop-mostsequencefortheitemtoadd.

item string TheitemUID.

dataID string ThedatatoapplyinXMLformat.

data string ThedatatoapplyinXMLformat.

voidbeep()

MatrixconcatenateMatrix(matrix:Matrix,secondMatrixConcatenatetwotransformationmatrices.Parameter Type Description

matrix Matrix Thematrixthatistobeaddedto.

Page 234: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

secondMatrix Matrix Secondtransformationmatrix.

MatrixconcatenateRotationMatrix(matrix:Matrix,Concatenatearotationmatrixtoatransformationmatrix.Parameter Type Description

matrix Matrix Thematrixthatistobeaddedto.

angle number Angleofrotation(indegrees)

MatrixconcatenateScaleMatrix(matrix:Matrix[,scaleXConcatenateascalematrixtoatransformationmatrix.Parameter Type Description

matrix Matrix Thematrixthatistobeaddedto.

scaleX number Horizontalscalingfactorexpressedasapercentage(100=100%)(default:(Optional)

scaleY number Verticalscalingfactorexpressedasapercentage(100=100%)(default:(Optional)

MatrixconcatenateTranslationMatrix(matrix:MatrixConcatenateatranslationtoatransformationmatrix.Parameter Type Description

matrix Matrix Thematrixthatistobeaddedto.

deltaX number Horizontaltransformation.(default:

deltaY number Verticaltransformation.(default:

ArrayofnumberconvertSampleColor(sourceColorSpacenumber,destColorSpace:ImageColorSpace,colorConvertPurposesourceHasAlpha:bool=false][,destHasAlpha:bool=falseConvertsasample-componentcolorfromonecolorspacetoanother.Parameter Type

sourceColorSpace ImageColorSpace:ImageColorSpace.GrayScaleImageColorSpace.RGBImageColorSpace.CMYKImageColorSpace.LAB

Page 235: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ImageColorSpace.SeparationImageColorSpace.DeviceNImageColorSpace.Indexed

sourceColor Arrayofnumber

destColorSpace ImageColorSpace:ImageColorSpace.GrayScaleImageColorSpace.RGBImageColorSpace.CMYKImageColorSpace.LABImageColorSpace.SeparationImageColorSpace.DeviceNImageColorSpace.Indexed

colorConvertPurpose ColorConvertPurpose:ColorConvertPurpose.defaultpurposeColorConvertPurpose.previewpurposeColorConvertPurpose.exportpurposeColorConvertPurpose.dummypurpose

sourceHasAlpha bool

destHasAlpha bool

voidcopy()Copycurrentselectiontotheclipboard.

voidcut()Cutcurrentselectiontotheclipboard.

voiddoScript(action:string,from:string[,dialogs:boolPlayanactionfromtheActionsPalette.Parameter Type Description

action string Thenameoftheactiontoplay(notethatthecaseoflettersintheActionnameisimportantandmustmatchthecaseofthenameintheActionspalette)

Page 236: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

from string Thenameoftheactionsetcontainingtheactionbeingplayed(notethatthecaseoflettersintheActionSetnameisimportantandmustmatchthecaseofthenameintheActionspalette)

dialogs bool Aredialogboxesassociatedwiththeactiontobepresented?(default:(Optional)

booldumpPGFFile(file:File[,documentColorSpaceDumpthePGFportionofaifiletotxtfile.Parameter Type

file File

documentColorSpace DocumentColorSpace:DocumentColorSpace.RGBDocumentColorSpace.CMYK

pGFFile File

voidexecuteMenuCommand(menuCommandStringExecutesamenucommandusingthemenushortcutstring.Parameter Type

menuCommandString string

stringgetExecutionOutput()Retrievesastringcontainingtheresultsofthelastscripttoexecute.

MatrixgetIdentityMatrix()Returnsanidentitymatrix.

PPDFileInfogetPPDFileInfo(name:string)GetdetailedinfofromthespecifiedPPDfile.Parameter Type Description

name string ThemodelnameofthePPDfile.

FilegetPresetFileOfType(presetType:DocumentPresetTypeGivenapresettype,returnsthefullpathtotheapplication'sdefaultdocumentprofileforthetype.Parameter Type

presetType DocumentPresetType:

Page 237: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentPresetType.PrintDocumentPresetType.WebDocumentPresetType.MobileDocumentPresetType.VideoDocumentPresetType.BasicCMYKDocumentPresetType.BasicRGB

DocumentPresetgetPresetSettings(preset:string)Givenapresetname,triesandretrievesthesettingsfromthepresettemplate.Parameter Type Description

preset string Thenameofthepreset.

MatrixgetRotationMatrix([angle:number=0.0])Returnsarotationtransformationmatrix.Parameter Type Description

angle number Angleofrotation(indegrees)(default:

MatrixgetScaleMatrix([scaleX:number=100.0][,scaleYReturnsascaletransformationmatrix.Parameter Type Description

scaleX number Horizontalscalingfactorexpressedasapercentage(100=100%)(default:(Optional)

scaleY number Verticalscalingfactorexpressedasapercentage(100=100%)(default:(Optional)

anygetScriptableHelpGroup()Getthescriptablehelpgroupobjectthatrepresentsthesearchwidgetintheappbar.

MatrixgetTranslationMatrix([deltaX:number=0.0][,Returnsatranslationmatrix.Parameter Type Description

deltaX number Horizontaltransformation.(default:

deltaY number Verticaltransformation.(default:

stringgetVersionString()RetrievesastringrepresentingtheAATversion.

Page 238: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

MatrixinvertMatrix(matrix:Matrix)Invertamatrix.Parameter Type Description

matrix Matrix Thematrixtoinvert.

boolisEqualMatrix(matrix:Matrix,secondMatrix:MatrixComparestwomatricesforequality.Parameter Type Description

matrix Matrix Firsttransformationmatrixtocompare.

secondMatrix Matrix Secondtransformationmatrix.

boolisSingularMatrix(matrix:Matrix)Testsifamatrixissingular(cannotbeinverted)Parameter Type Description

matrix Matrix Thematrixtocheck.

voidloadAction(actionFilePath:File)Loadanactionintoactionpalette.Parameter Type Description

actionFilePath File Thepathonthesystemoftheactionfiletobeloaded.

voidloadColorSettings(fileSpec:File)Loadthecolorsettingsfromthefile.Ifthefileisanemptyfilespec,thecolormanagementwillbeturnedoff.Parameter Type Description

fileSpec File Filespecforthecolorsettings.

Documentopen(file:File[,documentColorSpace:DocumentColorSpaceOpenthespecifieddocumentfile.Parameter Type

file File

documentColorSpace DocumentColorSpace:DocumentColorSpace.RGBDocumentColorSpace.CMYK

Page 239: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

options any

voidpaste()Pasteclipboardintothecurrentdocument.

voidquit()Quittheapplication.

voidredo()Redothelasttransaction.

voidredraw()ForceIllustratortoredrawitswindow(s)

voidreflectCSAW(outputFolder:File)GenerateCreativeSuiteActionScriptWrappersinspecifieddirectory.Parameter Type Description

outputFolder File Locationfortheoutputfiles.

voidrunAPITest(testName:string)RunsAPITestsfromtheTestAPIPlug-in.Parameter Type Description

testName string ArgumentsforRunningTests-eg.NameofTest/Suite.

stringsendScriptMessage(pluginName:string,messageSelectorSendsthescriptmessagetotherequiredplugin.Parameter Type Description

pluginName string Plugintowhichmessageneedstobesent.

messageSelector string Functionalitythatistobeexecuted.

inputString string Passanydataencodedinastring.

ArrayofstringshowPresets(fileSpec:File)Getpresetsfromthefile.Parameter Type Description

fileSpec File Filespectoimportfrom.

Page 240: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

stringtranslatePlaceholderText(text:string)Translatetheplaceholdertexttoregulartext.Amethodtoenterunicodepointsinhexvalues.Parameter Type Description

text string Theplaceholdertexttobetranslated.

stringtranslateString(key:string,source:string)Returnsastringtranslatedfromthekeyandsourcedatapassedin.Parameter Type Description

key string Thestringtotranslate.

source string Thepluginnamefromthesourceofthekey.

voidundo()Undothelasttransaction.

voidunloadAction(setName:string,actionName:stringUnloadsanactionintoactionpalette.Parameter Type Description

setName string Nameofthesettobeunloaded.

actionName string Nameoftheactiontobeunloaded.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 241: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 242: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Document Adocument.

QuickLinks activate,close,convertCoordinate,exportFile,exportPDFPresetexportVariables,fitArtboardToSelectedArt,getPerspectiveActivePlaneimportCharacterStyles,importPDFPreset,importParagraphStylesimportPrintPreset,importVariables,print,rasterize,rearrangeArtboardsselectObjectsOnActiveArtboard,selectPerspectivePreset,windowCapture

Hierarchy Object

Document

Properties Property Type

XMPString string

activeDataSet DataSet

activeLayer Layer

activeView View

artboards Artboards Artboard

brushes Brushes

characterStyles CharacterStyles CharacterStyle

compoundPathItems CompoundPathItemsCompoundPathItem

cropBox Rectangle

cropStyle CropOptions:CropOptions.StandardCropOptions.Japanese

Page 243: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

dataSets DataSets DataSet

defaultFillColor Color

defaultFillOverprint bool

defaultFilled bool

defaultStrokeCap StrokeCap:StrokeCap.BUTTENDCAPStrokeCap.ROUNDENDCAPStrokeCap.PROJECTINGENDCAP

defaultStrokeColor Color

defaultStrokeDashOffset number

defaultStrokeDashes Arrayofnumber

defaultStrokeJoin StrokeJoin:StrokeJoin.MITERENDJOINStrokeJoin.ROUNDENDJOINStrokeJoin.BEVELENDJOIN

defaultStrokeMiterLimit number

defaultStrokeOverprint bool

defaultStrokeWidth number

defaultStroked bool

documentColorSpace DocumentColorSpace:DocumentColorSpace.RGBDocumentColorSpace.CMYK

fullName File

Page 244: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

geometricBounds Rectangle

gradients Gradients Gradient

graphItems GraphItems GraphItem

graphicStyles ArtStyles ArtStyle

groupItems GroupItems GroupItem

height number

inkList ArrayofInk

kinsokuSet Arrayofstring

layers Layers Layer

legacyTextItems LegacyTextItems LegacyTextItem

meshItems MeshItemsMeshItem

mojikumiSet Arrayofstring

name string

nonNativeItems NonNativeItems NonNativeItem

outputResolution number

pageItems PageItems PageItem

pageOrigin Point

paragraphStyles ParagraphStyles ParagraphStyle

parent Object

path File

Page 245: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

pathItems PathItems PathItem

patterns Patterns Pattern

placedItems PlacedItems PlacedItem

pluginItems PluginItems PluginItem

printTiles bool

rasterEffectSettings RasterEffectOptions

rasterItems RasterItems RasterItem

rulerOrigin Point

rulerUnits RulerUnits:RulerUnits.UnknownRulerUnits.InchesRulerUnits.CentimetersRulerUnits.PointsRulerUnits.PicasRulerUnits.MillimetersRulerUnits.QsRulerUnits.Pixels

saved bool

selection any

showPlacedImages bool

splitLongPaths bool

spots Spots Spot

stationery bool

stories Stories Story

swatchGroups SwatchGroups SwatchGroup

Page 246: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

swatches Swatches

symbolItems SymbolItems SymbolItem

symbols Symbols Symbol

tags Tags Tag

textFrames TextFrameItems TextFrameItem

tileFullPages bool

typename string

useDefaultScreen bool

variables Variables Variable

variablesLocked bool

views Views View

visibleBounds Rectangle

width number

Methods Instancesvoidactivate()Activatethefirstwindowassociatedwiththedocument.

voidclose([saving:SaveOptions])Closethespecifieddocument(s)Parameter Type

saving SaveOptions:SaveOptions.SAVECHANGESSaveOptions.DONOTSAVECHANGESSaveOptions.PROMPTTOSAVECHANGES

Page 247: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PointconvertCoordinate(coordinate:Point,source:CoordinateSystemConvertsthecoordinatesystemofasinglepointfromonecoordinatesystemtoanother.Parameter Type

coordinate Point

source CoordinateSystem:CoordinateSystem.DOCUMENTCOORDINATESYSTEMCoordinateSystem.ARTBOARDCOORDINATESYSTEM

destination CoordinateSystem:CoordinateSystem.DOCUMENTCOORDINATESYSTEMCoordinateSystem.ARTBOARDCOORDINATESYSTEM

voidexportFile(exportFile:File,exportFormat:ExportTypeExportthespecifieddocument(s)Parameter Type Description

exportFile File Thefiletoexportthedocumentto.

exportFormat ExportType:ExportType.JPEGExportType.PHOTOSHOPExportType.SVGExportType.PNG8ExportType.PNG24ExportType.GIFExportType.FLASHExportType.AUTOCADExportType.TIFF

Thefiletypetoexportthedocumentas.

options any Optionsforthefiletypespecified.(Optional)

voidexportPDFPreset(file:File)SaveallPDFpresetstoafile.Parameter Type

file File

voidexportPerspectiveGridPreset(file:File)Savesallperspectivegridpresetstoafile.

Page 248: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type

file File

voidexportPrintPreset(file:File)Exportthecurrentprintsettingtothepresetfile.Parameter Type

file File

voidexportVariables(file:File)SavedatasetsintoanXMLlibrary.Thedatasetscontainvariablesandtheirassociateddynamicdata.Parameter Type Description

file File Filespectoexportto.

boolfitArtboardToSelectedArt([index:Int32])Changetheartboardtoselectedartbounds.Parameter Type Description

index Int32 Theindexoftheartboardtoupdate.(Optional)

PerspectiveGridPlaneTypegetPerspectiveActivePlane()Getstheactiveplaneoftheactiveperspectivegridofthedocument.

boolhidePerspectiveGrid()Hidesthecurrentactiveperspectivegridforthedocument,ifthereisvisibleperspectivegrid.

voidimageCapture(imageFile:File[,clipBounds:RectangleCapturetheartworkcontentinsidetheclipboundasrasterimage,andwriteoutthecapturedimagedataintothetargetimagefile.Parameter Type Description

imageFile File Thefiletowhichthecapturedimageshouldbewritten.

clipBounds Rectangle Therectangularregionoftheartworkforimagecapture.Iftheparameterisomitted,theentireartworkboundiscaptured.(Optional)

options ImageCaptureOptions Describestheimagecaptureoptions.(Optional)

voidimportCharacterStyles(fileSpec:File)LoadthecharacterstylesfromtheIllustratorfile.Parameter Type Description

Page 249: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

fileSpec File Filespectoimportfrom.

voidimportPDFPreset(fileSpec:File[,replacingPreset:LoadallPDFpresetsfromafile.Parameter Type Description

fileSpec File Filetoimportfrom.

replacingPreset bool Shouldexistingeditablepresetsbereplaced?(default:

voidimportParagraphStyles(fileSpec:File)LoadtheparagraphstylesfromtheIllustratorfile.Parameter Type Description

fileSpec File Filespectoimportfrom.

voidimportPerspectiveGridPreset(fileSpec:File[,perspectivePresetLoadsmentionedperspectivegridpreset,ifpresetnameisspecified,elseloadsall(ifnopresetnameisspecified)presets,fromthespecifiedfile.Parameter Type Description

fileSpec File Filetoimportfrom.

perspectivePreset string Nameofperspectivegridpreset.(Optional)

voidimportPrintPreset(printPreset:string,fileSpec:FileApplythenamedprintpresetfromthefiletothecurrentprintsetting.Parameter Type Description

printPreset string Thenameofaprintpresettoimport.

fileSpec File Filetoimportfrom.

voidimportVariables(fileSpec:File)Importalibrarycontainingdatasets,variablesandtheirassociateddynamicdata.Importingvariableswilloverwriteexistingvariablesanddatasets.Parameter Type Description

fileSpec File Filespectoimportfrom.

voidprint([options:PrintOptions])Printthedocument.

Page 250: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type

options PrintOptions

PageItemrasterize(sourceArt:any[,clipBounds:RectangleRasterizethesourceart(s)withinthespecifiedclipbounds.Thesourceart(s)aredisposedasaresultoftherasterization.Parameter Type Description

sourceArt any Thepageitem(s)toberasterized.

clipBounds Rectangle Therectangularregionoftheartworkfortherasterization.Iftheparameterisomitted,theboundsofthesourceart(s)isusedinstead.(Optional)

options RasterizeOptions Describestherasterizationoptions.(Optional)

boolrearrangeArtboards([artboardLayout:DocumentArtboardLayout=DocumentArtboardLayout.GridByRowartboardSpacing:number=20.0][,artboardMoveArtwork:RearrangeArtboardsinthedocument.Parameter Type

artboardLayout DocumentArtboardLayout:DocumentArtboardLayout.GridByRowDocumentArtboardLayout.GridByColDocumentArtboardLayout.RowDocumentArtboardLayout.ColumnDocumentArtboardLayout.RLGridByRowDocumentArtboardLayout.RLGridByColDocumentArtboardLayout.RLRow

artboardRowsOrCols Int32

artboardSpacing number

artboardMoveArtwork bool

Page 251: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidsave()Savethedocument.

voidsaveAs(saveIn:File[,options:any])Savethedocumentwithspecificsaveoptions.Parameter Type Description

saveIn File Thefiletosavethedocumentin.

options any Optionsforthefiletypespecified.(Optional)

boolselectObjectsOnActiveArtboard()Selectartobjectsinactiveartboard.

boolselectPerspectivePreset(perspectivePreset:string)Selectsapredefinedpresettodefinegridforthecurrentdocument.Parameter Type Description

perspectivePreset string Nameofperspectivegridpreset.

boolsetPerspectiveActivePlane(perspectiveGridPlane:Setstheactiveperspectiveplanefortheactivegridofthedocument.Parameter Type

perspectiveGridPlane PerspectiveGridPlaneType:PerspectiveGridPlaneType.NOPLANEPerspectiveGridPlaneType.LEFTPLANEPerspectiveGridPlaneType.RIGHTPLANEPerspectiveGridPlaneType.FLOORPLANE

boolshowPerspectiveGrid()Showsthecurrentactiveperspectivegridforthedocument,ifnoactiveperspectivegridthenshowsthedefaultperspectivegridforthedocument.

voidwindowCapture(imageFile:File,windowSize:PointCapturethecurrentdocumentwindowtothetargetTIFFimagefile.Parameter Type Description

imageFile File TheTIFFfiletowhichthecapturedimageshouldbewritten.

windowSize Point Thesizetomakethewindowbeforecapture.

Page 252: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Elementof Application.activeDocument

Return DocumentApplication.open(file:File[,documentColorSpaceDocumentDocuments.add([documentColorSpace:DocumentColorSpace

width:number=612.0][,height:number=792.0][,numArtboardsDocumentArtboardLayout=DocumentArtboardLayout.GridByRowartboardRowsOrCols:Int32=1])

DocumentDocuments.addDocument(startupPreset:stringDocumentDocuments.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 253: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 254: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AntiAliasingMethod Controlsthetypeofantialiasingmethodusedinthe

rasterization.

Value Name

AntiAliasingMethod.ARTOPTIMIZED

AntiAliasingMethod.None

AntiAliasingMethod.TYPEOPTIMIZED

Usage AspropertyExportOptionsTIFF.antiAliasingRasterizeOptions.antiAliasingMethod

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 255: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 256: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ArtClippingOption Howtheartsshouldbeclipped.

Value Name

ArtClippingOption.OUTPUTARTBOARDBOUNDS

ArtClippingOption.OUTPUTARTBOUNDS

ArtClippingOption.OUTPUTCROPRECTBOUNDS

Usage AspropertyExportOptionsFlash.artClipping

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 257: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 258: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ArtStyle Anartstyle.

QuickLinks applyTo,mergeTo,remove,removeAll

Hierarchy Object

ArtStyle

Properties Property Type Access Description

name string r/w Theartstyle'sname.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesvoidapplyTo(artItem:any)Applyabrushorartstyletoobject(s)Parameter Type Description

artItem any Thepageitem(s)toapplyto.

voidmergeTo(artItem:any)Mergeanartstyletoobject(s)currentstyle(s)Parameter Type Description

artItem any Thepageitem(s)tomergeto.

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return ArtStyleArtStyles.getByName(name:string)

Page 259: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 260: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 261: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Artboard Anartboardobject.

QuickLinks remove,removeAll

Hierarchy Object

Artboard

Properties Property Type Access Description

artboardRect Rectangle r/w Sizeandpositionofartboard.

name string r/w Thenameoftheartboard.

parent Object readonly Theobject'scontainer.

rulerOrigin Point r/w Ruleroriginofartboard.Itisrelativetoleft-bottomcorneroftheArtboard.

rulerPAR number(range:0.1-10.0)

r/w Pixelaspectratio,usedinrulervisualizationiftheunitsarepixels.

showCenter bool r/w Showcentermark.

showCrossHairs bool r/w Showcrosshairs.

Page 262: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

showSafeAreas bool r/w Showtitleandactionsafeareas(forvideo)

typename string readonly Theclassnameoftheobject.

Methods Instancesvoidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return ArtboardArtboards.add(artboardRect:Rectangle)ArtboardArtboards.getByName(name:string)ArtboardArtboards.getByName(artboardName:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 263: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 264: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoCADColors

Value Name Description

AutoCADColors.Max16Colors

AutoCADColors.Max256Colors

AutoCADColors.Max8Colors

AutoCADColors.TrueColors

Usage AspropertyExportOptionsAutoCAD.colors

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 265: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 266: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoCADCompatibility

Value Name

AutoCADCompatibility.AutoCADRelease13

AutoCADCompatibility.AutoCADRelease14

AutoCADCompatibility.AutoCADRelease15

AutoCADCompatibility.AutoCADRelease18

Usage AspropertyExportOptionsAutoCAD.version

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 267: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 268: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoCADExportFileFormat

Value Name

AutoCADExportFileFormat.DWG

AutoCADExportFileFormat.DXF

Usage AspropertyExportOptionsAutoCAD

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 269: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 270: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoCADExportOption

Value Name

AutoCADExportOption.MaximumEditability

AutoCADExportOption.PreserveAppearance

Usage AspropertyExportOptionsAutoCAD.exportOption

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 271: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 272: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoCADGlobalScaleOption

Value Name

AutoCADGlobalScaleOption.FitArtboard

AutoCADGlobalScaleOption.OriginalSize

AutoCADGlobalScaleOption.ScaleByValue

Usage AspropertyOpenOptionsAutoCAD

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 273: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 274: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoCADRasterFormat

Value Name

AutoCADRasterFormat.JPEG

AutoCADRasterFormat.PNG

Usage AspropertyExportOptionsAutoCAD.rasterFormat

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 275: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 276: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoCADUnit

Value Name Description Value

AutoCADUnit.Centimeters int4

AutoCADUnit.Inches int2

AutoCADUnit.Millimeters int3

AutoCADUnit.Picas int1

AutoCADUnit.Pixels int5

AutoCADUnit.Points int0

Usage AspropertyExportOptionsAutoCAD.unitOpenOptionsAutoCAD.unit

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 277: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 278: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BlendAnimationType

Value Name

BlendAnimationType.INBUILD

BlendAnimationType.INSEQUENCE

BlendAnimationType.NOBLENDANIMATION

Usage AspropertyExportOptionsFlash.blendAnimation

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 279: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 280: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BlendModes Blendmodesusedwhencompositinganobject.

Value Name Description

BlendModes.COLORBLEND

BlendModes.COLORBURN

BlendModes.COLORDODGE

BlendModes.DARKEN

BlendModes.DIFFERENCE

BlendModes.EXCLUSION

BlendModes.HARDLIGHT

BlendModes.HUE

BlendModes.LIGHTEN

BlendModes.LUMINOSITY

BlendModes.MULTIPLY

BlendModes.NORMAL

BlendModes.OVERLAY

BlendModes.SATURATIONBLEND

BlendModes.SCREEN

BlendModes.SOFTLIGHT

Usage AspropertyLayer.blendingModePageItem.blendingModeTextPath.blendingMode

Jongware,25-Nov-2012 Contents::Index

Page 281: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

v3.0.3i

Page 282: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 283: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BlendsExpandPolicy BlendsExpandpolicyusedbyFXGfileformat.

Value Name

BlendsExpandPolicy.AUTOMATICALLYCONVERTBLENDS

BlendsExpandPolicy.RASTERIZEBLENDS

Usage AspropertyFXGSaveOptions.blendsPolicy

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 284: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 285: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Brush Abrush.

QuickLinks applyTo

Hierarchy Object

Brush

Properties Property Type Access Description

name string r/w Thebrush'sname.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesvoidapplyTo(artItem:any)Applyabrushorartstyletoobject(s)Parameter Type Description

artItem any Thepageitem(s)toapplyto.

Return BrushBrushes.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 286: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 287: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorConversion PDFcolorconversionpolicy.

Value Name

ColorConversion.COLORCONVERSIONREPURPOSE

ColorConversion.COLORCONVERSIONTODEST

ColorConversion.None

Usage AspropertyPDFSaveOptions.colorConversionID

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 288: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 289: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorDestination PDFdestinationprofile.

Value Name

ColorDestination.COLORDESTINATIONDOCCMYK

ColorDestination.COLORDESTINATIONDOCRGB

ColorDestination.COLORDESTINATIONPROFILE

Page 290: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorDestination.COLORDESTINATIONWORKINGCMYK

ColorDestination.COLORDESTINATIONWORKINGRGB

ColorDestination.None

Usage AspropertyPDFSaveOptions.colorDestinationID

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 291: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 292: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorModel Colormodelofthecustomcolor.

Value Name Description Value

ColorModel.PROCESS Processcolor(mixedink)

int1

ColorModel.REGISTRATION Registrationcolor(printsoninallseparations)

int0

ColorModel.SPOT Spotcolor(separateink)

int2

Usage AspropertySpot.colorType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 293: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 294: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorProfile PDFICCprofileinclusion.

Value Name Description

ColorProfile.INCLUDEALLPROFILE Everythinggetstagged(embedProfile==true)

ColorProfile.INCLUDEDESTPROFILE Everythingendsuptaggedwiththedestinationprofile.

ColorProfile.INCLUDERGBPROFILE TagallRGB,leaveCMYKunchanged.

ColorProfile.LEAVEPROFILEUNCHANGED Leavetaggeditemstagged,untaggeditemsuntagged.

ColorProfile.None Allprofilesremoved(embedProfile==false)

Usage AspropertyPDFSaveOptions.colorProfileID

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 295: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 296: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Compatibility Thecompatibilitytype.

Value Name Description

Compatibility.ILLUSTRATOR10

Compatibility.ILLUSTRATOR11

Compatibility.ILLUSTRATOR12

Compatibility.ILLUSTRATOR13

Compatibility.ILLUSTRATOR14

Compatibility.ILLUSTRATOR15

Compatibility.ILLUSTRATOR16

Compatibility.ILLUSTRATOR3

Compatibility.ILLUSTRATOR8

Compatibility.ILLUSTRATOR9

Compatibility.JAPANESEVERSION3

Usage AspropertyEPSSaveOptions.compatibilityIllustratorSaveOptions.compatibility

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 297: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 298: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CompoundPathItem Compoundpathartworkitem.BaseClass:

QuickLinks duplicate,move,remove,removeAll

Hierarchy Object

PageItem

CompoundPathItem

Properties Property Type Access Description

parent Object readonly Theobject'scontainer.

pathItems PathItemsPathItem

readonly Thepathartworkinthiscompoundpath.

typename string readonly Theclassnameoftheobject.

Methods InstancesCompoundPathItemduplicate(relativeObjectObject,insertionLocation:ElementPlacementDuplicatethisobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

CompoundPathItemmove(relativeObjectinsertionLocation:ElementPlacementMovetheobject.Parameter Type

Page 299: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return CompoundPathItemCompoundPathItem.duplicateObject,insertionLocation:ElementPlacement

CompoundPathItemCompoundPathItem(relativeObject:Object,insertionLocationElementPlacement)

CompoundPathItemCompoundPathItems.addCompoundPathItem

CompoundPathItems.getByName

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 300: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 301: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CompressionQuality Thecompressiontype.

Value Name

CompressionQuality.AUTOMATICJPEG2000HIGH

CompressionQuality.AUTOMATICJPEG2000LOSSLESS

CompressionQuality.AUTOMATICJPEG2000LOW

CompressionQuality.AUTOMATICJPEG2000MAXIMUM

CompressionQuality.AUTOMATICJPEG2000MEDIUM

CompressionQuality.AUTOMATICJPEG2000MINIMUM

CompressionQuality.AUTOMATICJPEGHIGH

Page 302: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CompressionQuality.AUTOMATICJPEGLOW

CompressionQuality.AUTOMATICJPEGMAXIMUM

CompressionQuality.AUTOMATICJPEGMEDIUM

CompressionQuality.AUTOMATICJPEGMINIMUM

CompressionQuality.JPEG2000HIGH

CompressionQuality.JPEG2000LOSSLESS

CompressionQuality.JPEG2000LOW

CompressionQuality.JPEG2000MAXIMUM

CompressionQuality.JPEG2000MEDIUM

CompressionQuality.JPEG2000MINIMUM

CompressionQuality.JPEGHIGH

CompressionQuality.JPEGLOW

CompressionQuality.JPEGMAXIMUM

CompressionQuality.JPEGMEDIUM

Page 303: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CompressionQuality.JPEGMINIMUM

CompressionQuality.None

CompressionQuality.ZIP4BIT

CompressionQuality.ZIP8BIT

Usage AspropertyPDFSaveOptions.colorCompressionPDFSaveOptions.grayscaleCompression

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 304: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 305: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CoordinateSystem CoordinatesystemusedbyIllustrator.

Value Name

CoordinateSystem.ARTBOARDCOORDINATESYSTEM

CoordinateSystem.DOCUMENTCOORDINATESYSTEM

Usage InfunctionPointDocument.convertCoordinate(coordinate

CoordinateSystem,destination:CoordinateSystemAspropertyApplication.coordinateSystem

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 306: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 307: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CropOptions Thecropstyle.

Value Name Description Value

CropOptions.Japanese Japanesecropstyle.

int2

CropOptions.Standard Standardcropstyle.

int1

Usage AspropertyDocument.cropStyle

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 308: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 309: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentArtboardLayout Thelayoutofartboardsindocument.

Value Name

DocumentArtboardLayout.Column

DocumentArtboardLayout.GridByCol

DocumentArtboardLayout.GridByRow

DocumentArtboardLayout.RLGridByCol

DocumentArtboardLayout.RLGridByRow

DocumentArtboardLayout.RLRow

DocumentArtboardLayout.Row

Usage InfunctionboolDocument.rearrangeArtboards

DocumentArtboardLayout[,artboardRowsOrColsartboardMoveArtwork

DocumentDocuments.add

Page 310: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentColorSpacenumber=612.0][,artboardLayout:DocumentArtboardLayout[,artboardSpacing

AspropertyDocumentPreset.artboardLayout

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 311: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 312: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentColorSpace Thecolorspacesavailablefordocuments.

Value Name

DocumentColorSpace.CMYK

DocumentColorSpace.RGB

Usage InfunctionboolApplication.dumpPGFFile(

DocumentColorSpace],pGFFileDocumentApplication.open(file

DocumentColorSpace][,optionsDocumentDocuments.add([documentColorSpace

DocumentColorSpace=DocumentColorSpace.CMYKnumber=612.0][,height:numberartboardLayout:DocumentArtboardLayout=[,artboardSpacing:number

AspropertyDocument.documentColorSpaceDocumentPreset.colorMode

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 313: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 314: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentPreset Thenewdocumentpresettouseforcreatinganewdocument.

Class Property Type

artboardLayout DocumentArtboardLayoutDocumentArtboardLayout.GridByRowDocumentArtboardLayout.GridByColDocumentArtboardLayout.RowDocumentArtboardLayout.ColumnDocumentArtboardLayout.RLGridByRowDocumentArtboardLayout.RLGridByColDocumentArtboardLayout.RLRow

artboardRowsOrCols Int32

artboardSpacing number

colorMode DocumentColorSpaceDocumentColorSpace.RGBDocumentColorSpace.CMYK

height number

numArtboards Int32

previewMode DocumentPreviewModeDocumentPreviewMode.DefaultPreviewDocumentPreviewMode.PixelPreviewDocumentPreviewMode.OverprintPreview

rasterResolution DocumentRasterResolutionDocumentRasterResolution.ScreenResolutionDocumentRasterResolution.MediumResolutionDocumentRasterResolution.HighResolution

title string

Page 315: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

transparencyGrid DocumentTransparencyGridDocumentTransparencyGrid.TransparencyGridNoneDocumentTransparencyGrid.TransparencyGridLightDocumentTransparencyGrid.TransparencyGridMediumDocumentTransparencyGrid.TransparencyGridDarkDocumentTransparencyGrid.TransparencyGridRedDocumentTransparencyGrid.TransparencyGridOrangeDocumentTransparencyGrid.TransparencyGridGreenDocumentTransparencyGrid.TransparencyGridBlueDocumentTransparencyGrid.TransparencyGridPurple

units RulerUnits:RulerUnits.UnknownRulerUnits.InchesRulerUnits.CentimetersRulerUnits.PointsRulerUnits.PicasRulerUnits.MillimetersRulerUnits.QsRulerUnits.Pixels

width number

Usedin: DocumentDocuments.addDocument(startupPreset

Return DocumentPresetApplication.getPresetSettings

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 316: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 317: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentPresetType Thepresettypesavailablefornewdocuments.

Value Name

DocumentPresetType.BasicCMYK

DocumentPresetType.BasicRGB

DocumentPresetType.Mobile

DocumentPresetType.Print

DocumentPresetType.Video

DocumentPresetType.Web

Usage InfunctionFileApplication.getPresetFileOfType

DocumentPresetType)

Page 318: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 319: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 320: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentPreviewMode Thepreviewmodesavailablewhencreatinganewdocument.

Value Name

DocumentPreviewMode.DefaultPreview

DocumentPreviewMode.OverprintPreview

DocumentPreviewMode.PixelPreview

Usage AspropertyDocumentPreset.previewMode

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 321: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 322: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentRasterResolution Therasterresolutionsavailablewhencreatinganewdocument.

Value Name

DocumentRasterResolution.HighResolution

DocumentRasterResolution.MediumResolution

DocumentRasterResolution.ScreenResolution

Usage AspropertyDocumentPreset.rasterResolution

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 323: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 324: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentTransparencyGrid Thetransparencygridforthenewdocument,invideopresets.

Value Name

DocumentTransparencyGrid.TransparencyGridBlue

DocumentTransparencyGrid.TransparencyGridDark

DocumentTransparencyGrid.TransparencyGridGreen

DocumentTransparencyGrid.TransparencyGridLight

DocumentTransparencyGrid.TransparencyGridMedium

DocumentTransparencyGrid.TransparencyGridNone

DocumentTransparencyGrid.TransparencyGridOrange

DocumentTransparencyGrid.TransparencyGridPurple

DocumentTransparencyGrid.TransparencyGridRed

Usage AspropertyDocumentPreset.transparencyGrid

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 325: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 326: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DownsampleMethod Theresampletype.

Value Name

DownsampleMethod.AVERAGEDOWNSAMPLE

DownsampleMethod.BICUBICDOWNSAMPLE

DownsampleMethod.NODOWNSAMPLE

DownsampleMethod.SUBSAMPLE

Usage AspropertyPDFSaveOptions.colorDownsamplingMethodPDFSaveOptions.grayscaleDownsamplingMethodPDFSaveOptions.monochromeDownsamplingMethod

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 327: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 328: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

EPSPostScriptLevelEnum ThePostScriptlevelsavailablewhensavingEPSfiles.

Value Name

EPSPostScriptLevelEnum.LEVEL2

EPSPostScriptLevelEnum.LEVEL3

Usage AspropertyEPSSaveOptions.postScript

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 329: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 330: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

EPSPreview Thepreviewtype.

Value Name Description

EPSPreview.BWMACINTOSH BlackandwhiteMacintoshpreview.

EPSPreview.BWTIFF BlackandwhitePCpreview.

EPSPreview.COLORMACINTOSH ColorMacintoshpreview.

EPSPreview.COLORTIFF ColorPCpreview.

EPSPreview.None Nopreview.

EPSPreview.TRANSPARENTCOLORTIFF TransparentcolorPCpreview(8orlater)

Usage AspropertyEPSSaveOptions.preview

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 331: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 332: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FXGVersion TheFXGfileformatversion.

Value Name Description Value

FXGVersion.VERSION1PT0 FXGversion1.0.

int1

FXGVersion.VERSION2PT0 FXGversion2.0.

int2

Usage AspropertyFXGSaveOptions.version

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 333: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 334: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FiltersPreservePolicy FilterspreservepolicyusedbyFXGfileformat.

Value Name

FiltersPreservePolicy.EXPANDFILTERS

FiltersPreservePolicy.KEEPFILTERSEDITABLE

FiltersPreservePolicy.RASTERIZEFILTERS

Usage AspropertyFXGSaveOptions.filtersPolicy

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 335: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 336: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashExportStyle

Value Name

FlashExportStyle.ARTBOARDSTOFILES

FlashExportStyle.ASFLASHFILE

FlashExportStyle.LAYERSASFILES

FlashExportStyle.LAYERSASFRAMES

FlashExportStyle.LAYERSASSYMBOLS

Usage AspropertyExportOptionsFlash.exportStyle

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 337: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 338: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashExportVersion VersionoftheSWFFiletobeexported.

Value Name

FlashExportVersion.FLASHVERSION1

FlashExportVersion.FLASHVERSION2

FlashExportVersion.FLASHVERSION3

FlashExportVersion.FLASHVERSION4

FlashExportVersion.FLASHVERSION5

FlashExportVersion.FLASHVERSION6

FlashExportVersion.FLASHVERSION7

FlashExportVersion.FLASHVERSION8

FlashExportVersion.FLASHVERSION9

Usage AspropertyExportOptionsFlash.exportVersion

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 339: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 340: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashImageFormat

Value Name Description

FlashImageFormat.LOSSLESS

FlashImageFormat.LOSSY

Usage AspropertyExportOptionsFlash.imageFormat

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 341: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 342: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashJPEGMethod

Value Name Description

FlashJPEGMethod.Optimized

FlashJPEGMethod.Standard

Usage AspropertyExportOptionsFlash.jpegMethod

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 343: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 344: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashPlaybackSecurity

Value Name

FlashPlaybackSecurity.PlaybackLocal

FlashPlaybackSecurity.PlaybackNetwork

Usage AspropertyExportOptionsFlash.playbackAccess

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 345: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 346: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Gradient Agradient.

QuickLinks remove,removeAll

Hierarchy Object

Gradient

Properties Property Type Access Description

gradientStops GradientStopsGradientStop

readonly Thestopsinthisgradient.

name string r/w Thegradient'sname.

parent Object readonly Theobject'scontainer.

type GradientType:GradientType.LINEARGradientType.RADIAL

r/w Thegradienttype.

typename string readonly Theclassnameoftheobject.

Methods Instancesvoidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Elementof GradientColor.gradient

Page 347: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Return GradientGradients.add()GradientGradients.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 348: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 349: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GradientStop Agradientstop.

QuickLinks remove,removeAll

Hierarchy Object

GradientStop

Properties Property Type Access Description

color Color r/w Thecolorlinkedtothisgradientstop.

midPoint number(range:13-87)

r/w Midpointkeyvalueinpercent.

opacity number(range:0-100)

r/w Theopacity(between0.0and100.0)valueforthegradientstop.

parent Object readonly Theobject'scontainer.

rampPoint number(range:0-100)

r/w Locationofcolorintheblend(inpercent)

typename string readonly Theclassnameoftheobject.

Methods Instances

Page 350: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return GradientStopGradientStops.add()GradientStopGradientStops.getByName

(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 351: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 352: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GradientType Thegradienttype.

Value Name Description Value

GradientType.LINEAR Lineargradient.

int1

GradientType.RADIAL int2

Usage AspropertyGradient.type

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 353: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 354: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GradientsPreservePolicy GradientspreservepolicyusedbyFXGfileformat.

Value Name

GradientsPreservePolicy.AUTOMATICALLYCONVERTGRADIENTS

GradientsPreservePolicy.KEEPGRADIENTSEDITABLE

Usage AspropertyFXGSaveOptions.gradientsPolicy

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 355: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 356: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GraphItem Graphartworkitem.BaseClass:PageItem

QuickLinks duplicate,move,remove,removeAll

Hierarchy Object

PageItem

GraphItem

Properties Property Type Access Description

contentVariable any r/w Thecontentvariableboundtothisgraph.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesGraphItemduplicate(relativeObject:Object,insertionLocation:ElementPlacement)Duplicatethisobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

GraphItemmove(relativeObject:Object,insertionLocation:ElementPlacement)Movetheobject.Parameter Type Description

Page 357: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return GraphItemGraphItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

GraphItemGraphItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

GraphItemGraphItems.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 358: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 359: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GroupItem Anartworkgroupitem.BaseClass:PageItem

QuickLinks duplicate,move,remove,removeAll

Hierarchy Object

PageItem

GroupItem

Properties Property Type Access

clipped bool r/w

compoundPathItems CompoundPathItemsCompoundPathItem

readonly

graphItems GraphItems GraphItem readonly

groupItems GroupItemsGroupItem

readonly

legacyTextItems LegacyTextItemsLegacyTextItem

readonly

meshItems MeshItemsMeshItem readonly

Page 360: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

nonNativeItems NonNativeItemsNonNativeItem

readonly

pageItems PageItems PageItem readonly

parent Object readonly

pathItems PathItems PathItem readonly

placedItems PlacedItemsPlacedItem

readonly

pluginItems PluginItemsPluginItem

readonly

rasterItems RasterItemsRasterItem

readonly

symbolItems SymbolItemsSymbolItem

readonly

textFrames TextFrameItemsTextFrameItem

readonly

typename string readonly

Page 361: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Methods InstancesGroupItemduplicate(relativeObject:Object,insertionLocationElementPlacement)Duplicatethisobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

GroupItemmove(relativeObject:Object,insertionLocationElementPlacement)Movetheobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return GroupItemGroupItem.duplicate(relativeObject:ObjectinsertionLocation:ElementPlacement)

GroupItemGroupItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

GroupItemGroupItems.add()GroupItemGroupItems.createFromFile(imageFile:FileGroupItemGroupItems.getByName(name:string)GroupItemLegacyTextItem.convertToNative()GroupItemTextFrameItem.createOutline()GroupItemTracingObject.expandTracing([viewed:bool

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 362: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 363: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ImageColorSpace Thecolorspace.

Value Name Description

ImageColorSpace.CMYK CMYKcolorspace.

ImageColorSpace.DeviceN DeviceNcolorspace.

ImageColorSpace.GrayScale Graycolorspace.

ImageColorSpace.Indexed Indexedcolorspace.

ImageColorSpace.LAB LABcolorspace.

ImageColorSpace.RGB RGBcolorspace.

ImageColorSpace.Separation Separationcolorspace.

Usage InfunctionArrayofnumberApplication.convertSampleColor

(sourceColorSpace:ImageColorSpacesourceColor:Arrayofnumber,destColorSpace:ImageColorSpacecolorConvertPurpose:ColorConvertPurposesourceHasAlpha:bool=false][,destHasAlphabool=false])

AspropertyExportOptionsPhotoshop.imageColorSpaceExportOptionsTIFF.imageColorSpaceRasterItem.imageColorSpace

Page 364: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 365: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 366: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

JavaScriptExecutionMode WhenshouldaJavaScriptdebuggerbeshown.

Value Name

JavaScriptExecutionMode.BeforeRunning

JavaScriptExecutionMode.OnRuntimeError

JavaScriptExecutionMode.never

Usage

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 367: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 368: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Justification Theparagraphalignment.

Value Name

Justification.CENTER

Justification.FULLJUSTIFY

Justification.FULLJUSTIFYLASTLINECENTER

Justification.FULLJUSTIFYLASTLINELEFT

Justification.FULLJUSTIFYLASTLINERIGHT

Justification.LEFT

Justification.RIGHT

Usage AspropertyParagraphAttributes.justificationParagraphAttributes.singleWordJustification

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 369: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 370: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

KnockoutState Knockoutstateofapageitem.

Value Name Description

KnockoutState.DISABLED Knockoutoff.

KnockoutState.ENABLED Knockoutoff.

KnockoutState.INHERITED Knockoutstateinheritedfromgroup?

KnockoutState.Unknown Unknown/uninitializedknockoutstate.

Usage AspropertyLayer.artworkKnockoutPageItem.artworkKnockout

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 371: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 372: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Layer Alayer.

QuickLinks move,remove,removeAll,zOrder

Hierarchy Object

Layer

Properties Property Type Access

artworkKnockout KnockoutState:KnockoutState.UnknownKnockoutState.DISABLEDKnockoutState.ENABLEDKnockoutState.INHERITED

r/w

blendingMode BlendModes:BlendModes.NORMALBlendModes.MULTIPLYBlendModes.SCREENBlendModes.OVERLAYBlendModes.SOFTLIGHTBlendModes.HARDLIGHTBlendModes.COLORDODGEBlendModes.COLORBURNBlendModes.DARKENBlendModes.LIGHTENBlendModes.DIFFERENCEBlendModes.EXCLUSIONBlendModes.HUEBlendModes.SATURATIONBLENDBlendModes.COLORBLENDBlendModes.LUMINOSITY

r/w

color RGBColor r/w

Page 373: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

compoundPathItems CompoundPathItemsCompoundPathItem

readonly

dimPlacedImages bool r/w

graphItems GraphItems GraphItem readonly

groupItems GroupItems GroupItem readonly

hasSelectedArtwork bool r/w

isIsolated bool r/w

layers Layers Layer readonly

legacyTextItems LegacyTextItems LegacyTextItem readonly

Page 374: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

locked bool r/w

meshItems MeshItemsMeshItem readonly

name string r/w

nonNativeItems NonNativeItems NonNativeItem readonly

opacity number r/w

pageItems PageItems PageItem readonly

parent Object readonly

pathItems PathItems PathItem readonly

placedItems PlacedItems PlacedItem readonly

pluginItems PluginItems PluginItem readonly

preview bool r/w

Page 375: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

printable bool r/w

rasterItems RasterItems RasterItem readonly

sliced bool r/w

symbolItems SymbolItems SymbolItem readonly

textFrames TextFrameItems TextFrameItem readonly

typename string readonly

visible bool r/w

zOrderPosition Int32 readonly

Methods InstancesLayermove(relativeObject:Object,insertionLocation:ElementPlacementMovetheobject.Parameter Type Description

Page 376: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

voidzOrder(zOrderCmd:ZOrderMethod)Arrangesthelayerrelativetootherlayers.Parameter Type Description

zOrderCmd ZOrderMethod:ZOrderMethod.BRINGTOFRONTZOrderMethod.BRINGFORWARDZOrderMethod.SENDBACKWARDZOrderMethod.SENDTOBACK

Howtoarrangethelayer.

Elementof Document.activeLayerExportOptionsFlash.backgroundLayersPageItem.layer

Return LayerLayer.move(relativeObject:Object,insertionLocation:ElementPlacementLayerLayers.add()LayerLayers.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 377: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 378: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LayerOrderType

Value Name Description

LayerOrderType.BOTTOMUP

LayerOrderType.TOPDOWN

Usage AspropertyExportOptionsFlash.layerOrder

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 379: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 380: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LegacyTextItem Unconvertedlegacytextitemsfromdocumentsin

pre-version11formats.BaseClass:PageItem

QuickLinks convertToNative,move,remove,removeAll

Hierarchy Object

PageItem

LegacyTextItem

Properties Property Type Access Description

converted bool readonly Hasthelegacytextitembeenupdatedtoanativetextframeitem?

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesGroupItemconvertToNative()Createanativetextframefromalegacytextitem.Theoriginallegacytextitemisdeleted.

LegacyTextItemmove(relativeObject:ObjectinsertionLocation:ElementPlacement)Movetheobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

Page 381: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return LegacyTextItemLegacyTextItem.move(relativeObject:Object,insertionLocationElementPlacement)

LegacyTextItemLegacyTextItems.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 382: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 383: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

MeshItem Meshartworkitem.BaseClass:PageItem

QuickLinks duplicate,move,remove,removeAll

Hierarchy Object

PageItem

MeshItem

Properties Property Type Access Description

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesMeshItemduplicate(relativeObject:Object,insertionLocation:ElementPlacement)Duplicatethisobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

MeshItemmove(relativeObject:Object,insertionLocation:ElementPlacement)Movetheobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

Page 384: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidremoveAll()Deletesallelements.

Return MeshItemMeshItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

MeshItemMeshItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

MeshItemMeshItems.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 385: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 386: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

MonochromeCompression Themonochromecompressiontype.

Value Name

MonochromeCompression.CCIT3

MonochromeCompression.CCIT4

MonochromeCompression.MONOZIP

MonochromeCompression.None

MonochromeCompression.RUNLENGTH

Usage AspropertyPDFSaveOptions.monochromeCompression

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 387: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 388: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

NonNativeItem Non-nativeartworkitem.BaseClass:PageItem

QuickLinks duplicate,move,remove,removeAll

Hierarchy Object

PageItem

NonNativeItem

Properties Property Type Access Description

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesNonNativeItemduplicate(relativeObject:ObjectinsertionLocation:ElementPlacement)Duplicatethisobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

NonNativeItemmove(relativeObject:Object,insertionLocation:ElementPlacement)Movetheobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

voidremove()

Page 389: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Deletesthisobject.

voidremoveAll()Deletesallelements.

Return NonNativeItemNonNativeItem.duplicate(relativeObject:Object,insertionLocationElementPlacement)

NonNativeItemNonNativeItem.move(relativeObject:Object,insertionLocationElementPlacement)

NonNativeItemNonNativeItems.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 390: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 391: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

OutputFlattening Howshouldtransparencybeflattenedforpre-AI9fileformats.

Value Name

OutputFlattening.PRESERVEAPPEARANCE

OutputFlattening.PRESERVEPATHS

Usage AspropertyEPSSaveOptions.flattenOutputIllustratorSaveOptions.flattenOutput

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 392: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 393: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFBoxType Cropbox.

Value Name Description

PDFBoxType.PDFARTBOX CroptoArtBox.Theartboxdefinestheextentofthepage'smeaningfulcontent(includingpotentialwhitespace)asintendedbythepage'screator.

PDFBoxType.PDFBLEEDBOX CroptoBleedBox.Thebleedboxdefinestheregiontowhichthecontentsofthepageshouldbeclippedwhenoutputinaproductionenvironment.

PDFBoxType.PDFBOUNDINGBOX CroptoBoundingBox.The

Page 394: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

boundingboxistherectanglethatenclosesalltext,graphics,andimagesonthepage.

PDFBoxType.PDFCROPBOX CroptoCropBox.Thecropboxistheregionofthepagetodisplayandtoprint.

PDFBoxType.PDFMEDIABOX CroptoMediaBox.Themediaboxisanaturalsizeofthepage.Forexample,thedimensionsofA4sheetofpaper.

PDFBoxType.PDFTRIMBOX CroptoTrimBox.Thetrimboxspecifiesthepositioningofthepage'scontentwithintheimposition.

Page 395: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Usage AspropertyOpenOptionsPDF.pDFCropToBox

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 396: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 397: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFChangesAllowedEnum Optionsavailableformakingchangestoapdfdocument.

Value Name

PDFChangesAllowedEnum.CHANGE128ANYCHANGES

PDFChangesAllowedEnum.CHANGE128COMMENTING

PDFChangesAllowedEnum.CHANGE128EDITPAGE

PDFChangesAllowedEnum.CHANGE128FILLFORM

PDFChangesAllowedEnum.CHANGE128NONE

PDFChangesAllowedEnum.CHANGE40ANYCHANGES

Page 398: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFChangesAllowedEnum.CHANGE40COMMENTING

PDFChangesAllowedEnum.CHANGE40NONE

PDFChangesAllowedEnum.CHANGE40PAGELAYOUT

Usage AspropertyPDFSaveOptions.pDFChangesAllowed

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 399: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 400: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFCompatibility ThePDFcompatibilitytype.

Value Name Description

PDFCompatibility.ACROBAT4 Acrobatversion4.

PDFCompatibility.ACROBAT5 Acrobatversion5.

PDFCompatibility.ACROBAT6 Acrobatversion6.

PDFCompatibility.ACROBAT7 Acrobatversion7.

PDFCompatibility.ACROBAT8 Acrobatversion8.

Usage AspropertyPDFSaveOptions.compatibility

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 401: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 402: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFOverprint Pdfoverprintoptions.

Value Name

PDFOverprint.DISCARDPDFOVERPRINT

PDFOverprint.PRESERVEPDFOVERPRINT

Usage AspropertyEPSSaveOptions.overprintPrintFlattenerOptions.overprint

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 403: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 404: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFPrintAllowedEnum Pdfprintpermissions.

Value Name

PDFPrintAllowedEnum.PRINT128HIGHRESOLUTION

PDFPrintAllowedEnum.PRINT128LOWRESOLUTION

PDFPrintAllowedEnum.PRINT128NONE

PDFPrintAllowedEnum.PRINT40HIGHRESOLUTION

PDFPrintAllowedEnum.PRINT40NONE

Usage AspropertyPDFSaveOptions.pDFAllowPrinting

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 405: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 406: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFTrimMarkWeight Pdftrimmarkweightoptions.

Value Name

PDFTrimMarkWeight.TRIMMARKWEIGHT0125

PDFTrimMarkWeight.TRIMMARKWEIGHT025

PDFTrimMarkWeight.TRIMMARKWEIGHT05

Usage AspropertyPDFSaveOptions.trimMarkWeight

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 407: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 408: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFXStandard Thisprovidesameansformatchingthecolor

characteristicsofaPDFdocument.

Value Name Description

PDFXStandard.PDFX1A2001 SupportsonlyaCMYKandspotcolorworkflow,targetedtoaspecificoutputdevice.

PDFXStandard.PDFX1A2003 SupportsonlyaCMYKandspotcolorworkflow,targetedtoaspecificoutputdevice.

PDFXStandard.PDFX32001 Supportsacolor-managedworkflow,allowingtheuseofdevice-independentcolorinadditiontoCMYKandspotcolors.

Page 409: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFXStandard.PDFX32002 Supportsacolor-managedworkflow,allowingtheuseofdevice-independentcolorinadditiontoCMYKandspotcolors.

PDFXStandard.PDFX32003 Supportsacolor-managedworkflow,allowingtheuseofdevice-independentcolorinadditiontoCMYKandspotcolors.

PDFXStandard.PDFX42007 Supportsacolor-managedworkflow,allowingtheuseofdevice-independentcolorinadditiontoCMYKandspotcolors.

PDFXStandard.PDFXNONE Theuser

Page 410: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

isn'tcomplyingwithanyPDFstandard.

Usage AspropertyPDFSaveOptions.pDFXStandard

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 411: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 412: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PageItem Apageitemobject.

SuperclassofCompoundPathItem,GraphItem,GroupItem,NonNativeItem,PathItem,PlacedItem,PluginItem,RasterItemTextFrameItem

QuickLinks applyEffect,bringInPerspective,duplicate,move,remove,sendScriptMessage,transform,translate,zOrder

Hierarchy Object

PageItem

CompoundPathItem|GraphItem|GroupItem|LegacyTextItem|PathItem|PlacedItem|PluginItem|RasterItem|SymbolItem

Properties Property Type

URL string

artworkKnockout KnockoutState:KnockoutState.UnknownKnockoutState.DISABLEDKnockoutState.ENABLEDKnockoutState.INHERITED

blendingMode BlendModes:BlendModes.NORMALBlendModes.MULTIPLYBlendModes.SCREENBlendModes.OVERLAYBlendModes.SOFTLIGHTBlendModes.HARDLIGHTBlendModes.COLORDODGEBlendModes.COLORBURNBlendModes.DARKEN

Page 413: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BlendModes.LIGHTENBlendModes.DIFFERENCEBlendModes.EXCLUSIONBlendModes.HUEBlendModes.SATURATIONBLENDBlendModes.COLORBLENDBlendModes.LUMINOSITY

controlBounds Rectangle

editable bool

geometricBounds Rectangle

height number(range:0.0-16348.0)

hidden bool

isIsolated bool

layer Layer

left number

locked bool

name string

note string

opacity number(range:0.0-100.0)

Page 414: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

parent Object

pixelAligned bool

position Point

selected bool

sliced bool

tags Tags Tag

top number

typename string

visibilityVariable any

visibleBounds Rectangle

width number(range:0.0-16348.0)

wrapInside bool

wrapOffset number

wrapped bool

Page 415: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

zOrderPosition Int32

Methods InstancesvoidapplyEffect(liveEffectXML:string)ApplyeffecttoselectedartItem.Parameter Type

liveEffectXML string

voidbringInPerspective(positionX:number,positionY:numberPerspectiveGridPlaneType)Placeartobject(s)inperspectivegridatspedifiedperspectiveplaneandcoordinate.Parameter Type

positionX number

positionY number

perspectiveGridPlane PerspectiveGridPlaneType:PerspectiveGridPlaneType.NOPLANEPerspectiveGridPlaneType.LEFTPLANEPerspectiveGridPlaneType.RIGHTPLANEPerspectiveGridPlaneType.FLOORPLANE

PageItemduplicate(relativeObject:Object,insertionLocationDuplicatethisobject.Parameter Type

Page 416: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

relativeObject Object

insertionLocation ElementPlacement

PageItemmove(relativeObject:Object,insertionLocation:Movetheobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

voidresize(scaleX:number,scaleY:number[,changePositionschangeFillPatterns:bool=true][,changeFillGradients:boolbool=true][,changeLineWidths:number=100.0][,scaleAboutTransformation=Transformation.CENTER])Scaleartobject(s)Parameter Type

scaleX number

scaleY number

changePositions bool

changeFillPatterns bool

changeFillGradients bool

Page 417: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

changeStrokePattern bool

changeLineWidths number

scaleAbout Transformation:Transformation.DOCUMENTORIGINTransformation.TOPLEFTTransformation.LEFTTransformation.BOTTOMLEFTTransformation.TOPTransformation.CENTERTransformation.BOTTOMTransformation.TOPRIGHTTransformation.RIGHTTransformation.BOTTOMRIGHT

voidrotate(angle:number[,changePositions:bool=true][,changeFillGradients:bool=true][,changeStrokePattern:boolTransformation=Transformation.CENTER])Rotateartobject(s)Parameter Type

angle number

changePositions bool

changeFillPatterns bool

Page 418: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

changeFillGradients bool

changeStrokePattern bool

rotateAbout Transformation:Transformation.DOCUMENTORIGINTransformation.TOPLEFTTransformation.LEFTTransformation.BOTTOMLEFTTransformation.TOPTransformation.CENTERTransformation.BOTTOMTransformation.TOPRIGHTTransformation.RIGHTTransformation.BOTTOMRIGHT

stringsendScriptMessage(pluginName:string,messageSelectorSendsthescriptmessagetotherequiredplugin.Parameter Type Description

pluginName string Plugintowhichmessageneedstobesent.

messageSelector string Functionalitythatistobeexecuted.

inputString string Passanydataencodedinastring.

voidtransform(transformationMatrix:Matrix[,changePositionschangeFillPatterns:bool=true][,changeFillGradients:boolbool=true][,changeLineWidths:number=100.0][,transformAboutTransformation=Transformation.CENTER])Transformartobject(s)usingatransformationmatrix.Parameter Type

Page 419: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

transformationMatrix Matrix

changePositions bool

changeFillPatterns bool

changeFillGradients bool

changeStrokePattern bool

changeLineWidths number

transformAbout Transformation:Transformation.DOCUMENTORIGINTransformation.TOPLEFTTransformation.LEFTTransformation.BOTTOMLEFTTransformation.TOPTransformation.CENTERTransformation.BOTTOMTransformation.TOPRIGHTTransformation.RIGHTTransformation.BOTTOMRIGHT

voidtranslate([deltaX:number=0.0][,deltaY:number=0.0transformFillPatterns:bool=true][,transformFillGradientstransformStrokePattern:bool=true])Repositionartobject(s)

Page 420: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type Description

deltaX number Horizontaltransformation.(default:

deltaY number Verticaltransformation.(default:

transformObjects bool Areartobjectpositionsandorientationsaffected?(default:true)(Optional)

transformFillPatterns bool Arethefillpatternsassignedtopathstobetransformed?(default:true)(Optional)

transformFillGradients bool Arethefillgradientsassignedtopathstobetransformed?(default:true)(Optional)

transformStrokePattern bool Arethestrokepatternsassignedtopathstobetransformed?(default:true

voidzOrder(zOrderCmd:ZOrderMethod)Arrangestheartrelativetootherartinthegrouporlayer.Parameter Type

zOrderCmd ZOrderMethod:ZOrderMethod.BRINGTOFRONTZOrderMethod.BRINGFORWARDZOrderMethod.SENDBACKWARDZOrderMethod.SENDTOBACK

Elementof TracingObject.sourceArt

Usedin: SymbolSymbols.add(sourceArt:PageItem[,registrationPointSymbolRegistrationPoint=SymbolRegistrationPoint.SYMBOLCENTERPOINT

Return PageItemDocument.rasterize(sourceArt:any[,clipBoundsRasterizeOptions])

PageItemPageItem.duplicate(relativeObject:Object,insertionLocationPageItemPageItem.move(relativeObject:Object,insertionLocationPageItemPageItems.getByName(name:string)PageItemTracingObject.releaseTracing()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 421: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some
Page 422: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 423: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PathItem Anartworkpathitem.BaseClass:PageItem

QuickLinks duplicate,move,remove,removeAll,setEntirePath

Hierarchy Object

PageItem

PathItem

Properties Property Type

area number

clipping bool

closed bool

evenodd bool

fillColor Color

fillOverprint bool

Page 424: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

filled bool

guides bool

length number

parent Object

pathPoints PathPoints PathPoint

polarity PolarityValues:PolarityValues.POSITIVEPolarityValues.NEGATIVE

resolution number

selectedPathPoints ObjectArray

strokeCap StrokeCap:StrokeCap.BUTTENDCAPStrokeCap.ROUNDENDCAPStrokeCap.PROJECTINGENDCAP

strokeColor Color

strokeDashOffset number

Page 425: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

strokeDashes Arrayofnumber

strokeJoin StrokeJoin:StrokeJoin.MITERENDJOINStrokeJoin.ROUNDENDJOINStrokeJoin.BEVELENDJOIN

strokeMiterLimit number

strokeOverprint bool

strokeWidth number

stroked bool

typename string

Methods InstancesPathItemduplicate(relativeObject:Object,insertionLocation

Page 426: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ElementPlacement)Duplicatethisobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

PathItemmove(relativeObject:Object,insertionLocation:Movetheobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

voidsetEntirePath(pathPoints:Arrayofany)Setthepathusingtheprovidedarrayofpathpoint(x,y)coordinatepairs.Parameter Type Description

pathPoints Arrayofany Arrayof(x,y)coordinatepairsforthepathpoints.

Usedin: TextFrameItemTextFrameItems.areaText(textPath:PathItemTextOrientation=TextOrientation.HORIZONTAL][,TextFrameItem][,postFix:bool=true])

TextFrameItemTextFrameItems.pathText(textPath:PathItemnumber=0.0][,endTValue:number=0.0][,orientation:TextOrientation=TextOrientation.HORIZONTAL][,TextFrameItem][,postFix:bool=true])

Return PathItemPathItem.duplicate(relativeObject:Object,insertionLocationElementPlacement)

PathItemPathItem.move(relativeObject:Object,insertionLocationElementPlacement)

PathItemPathItems.add()PathItemPathItems.ellipse([top:number=100][,left:number

Page 427: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

number=50][,height:number=100][,reversed:bool=falsebool=true])

PathItemPathItems.getByName(name:string)PathItemPathItems.polygon([centerX:number=200][,centerY

radius:number=50][,sides:Int32=8][,reversed:bool=PathItemPathItems.rectangle(top:number,left:number,width

number[,reversed:bool=false])PathItemPathItems.roundedRectangle(top:number,left:

number,height:number[,horizontalRadius:number=15number=20][,reversed:bool=false])

PathItemPathItems.star([centerX:number=200][,centerYradius:number=50][,innerRadius:number=20][,pointsbool=false])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 428: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 429: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PathPoint Apointonapath.

QuickLinks remove,removeAll

Hierarchy Object

PathPoint

Properties Property Type

anchor Point

leftDirection Point

parent Object

pointType PointType:PointType.SMOOTHPointType.CORNER

rightDirection Point

selected PathPointSelection:PathPointSelection.NOSELECTIONPathPointSelection.ANCHORPOINTPathPointSelection.LEFTDIRECTIONPathPointSelection.RIGHTDIRECTIONPathPointSelection.LEFTRIGHTPOINT

Page 430: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

typename string

Methods Instancesvoidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return PathPointPathPoints.add()PathPointPathPoints.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 431: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 432: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PathPointSelection Thepathpointselectionstate.

Value Name

PathPointSelection.ANCHORPOINT

PathPointSelection.LEFTDIRECTION

PathPointSelection.LEFTRIGHTPOINT

PathPointSelection.NOSELECTION

PathPointSelection.RIGHTDIRECTION

Usage AspropertyPathPoint.selected

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 433: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 434: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PerspectiveGridPlaneType Perspectivegridplanetypes.

Value Name

PerspectiveGridPlaneType.FLOORPLANE

PerspectiveGridPlaneType.LEFTPLANE

PerspectiveGridPlaneType.NOPLANE

PerspectiveGridPlaneType.RIGHTPLANE

Usage ReturnPerspectiveGridPlaneType()InfunctionboolDocument.setPerspectiveActivePlane

PerspectiveGridPlaneTypevoidPageItem.bringInPerspective

number,perspectiveGridPlane

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 435: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 436: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PhotoshopCompatibility ThePhotoshopcompatibilitytype.

Value Name

PhotoshopCompatibility.PHOTOSHOP6

PhotoshopCompatibility.PHOTOSHOP8

Usage

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 437: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 438: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PlacedItem Placedartworkitem.BaseClass:PageItem

QuickLinks duplicate,embed,move,relink,remove,removeAll,trace

Hierarchy Object

PageItem

PlacedItem

Properties Property Type Access Description

boundingBox Rectangle readonly Dimensionsofplacedartobject,regardlessoftransformations.

contentVariable any r/w Thecontentvariableboundtothisplacedartobject.

file File r/w Thefilecontainingtheplacedartwork.

matrix Matrix r/w Thetransformationmatrixoftheplacedartobject.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Page 439: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Methods InstancesPlacedItemduplicate(relativeObject:Object,insertionLocation:ElementPlacement)Duplicatethisobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

voidembed()Embedtheplacedartwithintheillustration.

PlacedItemmove(relativeObject:Object,insertionLocation:ElementPlacement)Movetheobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

voidrelink(fileSpec:File)Relinktheplacedartwithsuppliedartfromfile.Parameter Type Description

fileSpec File Filespectorelinkfrom.

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

PluginItemtrace()Tracethisrasterobjectusingdefaultoptions.Reordersthisplacedtothesourceart.

Return PlacedItemPlacedItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

PlacedItemPlacedItem.move(relativeObject:Object,

Page 440: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

insertionLocation:ElementPlacement)PlacedItemPlacedItems.add()PlacedItemPlacedItems.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 441: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 442: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PluginItem Pluginartworkitem.BaseClass:PageItem

QuickLinks duplicate,move,remove,removeAll

Hierarchy Object

PageItem

PluginItem

Properties Property Type Access Description

isTracing bool readonly Istheplugingroupatracing?

parent Object readonly Theobject'scontainer.

tracing TracingObject readonly Thetracingobjectassociatedwiththispluginitem.

typename string readonly Theclassnameoftheobject.

Methods InstancesPluginItemduplicate(relativeObject:Object,insertionLocation:ElementPlacement)Duplicatethisobject.Parameter Type Description

relativeObject Object

Page 443: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

insertionLocation ElementPlacement

PluginItemmove(relativeObject:Object,insertionLocation:ElementPlacement)Movetheobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return PluginItemPlacedItem.trace()PluginItemPluginItem.duplicate(relativeObject:

Object,insertionLocation:ElementPlacement)PluginItemPluginItem.move(relativeObject:

Object,insertionLocation:ElementPlacement)PluginItemPluginItems.getByName(name:string)PluginItemRasterItem.trace()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 444: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 445: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PointType Thepathpointtype:smooth/corner.

Value Name Description Value

PointType.CORNER Cornerpoint. int2

PointType.SMOOTH Smoothpathpoint. int1

Usage AspropertyPathPoint.pointType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 446: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 447: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PolarityValues

Value Name Description Value

PolarityValues.NEGATIVE int-1

PolarityValues.POSITIVE int1

Usage AspropertyPathItem.polarityTextPath.polarity

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 448: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 449: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Preferences PreferencesforIllustrator.

QuickLinks getBooleanPreference,getIntegerPreference,getRealPreferencegetStringPreference,removePreference,setBooleanPreferencesetIntegerPreference,setRealPreference,setStringPreference

Hierarchy Object

Preferences

Properties Property Type Access

AutoCADFileOptions OpenOptionsAutoCAD readonly

PDFFileOptions OpenOptionsPDF readonly

parent Object readonly

photoshopFileOptions OpenOptionsPhotoshop readonly

typename string readonly

Page 450: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Methods InstancesboolgetBooleanPreference(key:string)Retrievethevalueoftheapplicationpreferencekeyasboolean.Parameter Type Description

key string Thepreferencekey.

Int32getIntegerPreference(key:string)Retrievethevalueoftheapplicationpreferencekeyasinteger.Parameter Type Description

key string Thepreferencekey.

numbergetRealPreference(key:string)Retrievethevalueoftheapplicationpreferencekeyasrealnumber.Parameter Type Description

key string Thepreferencekey.

stringgetStringPreference(key:string)Retrievethevalueoftheapplicationpreferencekeyasstringtype.Parameter Type Description

key string Thepreferencekey.

voidremovePreference(key:string)Deletetheapplicationpreferencekey.Parameter Type Description

key string Thepreferencekey.

voidsetBooleanPreference(key:string,value:bool)Setthevalueoftheapplicationpreferencekeyasboolean.Parameter Type Description

key string Thepreferencekey.

value bool Thebooleanvalueofthepreferencekey.

voidsetIntegerPreference(key:string,value:Int32)

Page 451: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Setthevalueoftheapplicationpreferencekeyasinteger.Parameter Type Description

key string Thepreferencekey.

value Int32 Thebooleanvalueofthepreferencekey.

voidsetRealPreference(key:string,value:number)Setthevalueoftheapplicationpreferencekeyasrealnumber.Parameter Type Description

key string Thepreferencekey.

value number Therealvalueofthepreferencekey.

voidsetStringPreference(key:string,value:string)Setthevalueoftheapplicationpreferencekeyasstringtype.Parameter Type Description

key string Thepreferencekey.

value string Thestringvalueofthepreferencekey.

Elementof Application.preferences

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 452: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 453: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrinterPostScriptLevelEnum ThePostScriptlevelssupportedbyvariousprinters.

Value Name

PrinterPostScriptLevelEnum.PSLEVEL1

PrinterPostScriptLevelEnum.PSLEVEL2

PrinterPostScriptLevelEnum.PSLEVEL3

Usage AspropertyPrintPostScriptOptionsPrinterInfo.postScriptLevel

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 454: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 455: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RasterEffectOptions Thedocumentrastereffectssettings.

Class Property Type

antiAliasing bool

clippingMask bool

colorModel RasterizationColorModelRasterizationColorModel.DEFAULTCOLORMODELRasterizationColorModel.GRAYSCALERasterizationColorModel.BITMAP

convertSpotColors bool

padding number

resolution number(range:72.0-2400.0)

transparency bool

Elementof Document.rasterEffectSettings

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 456: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 457: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RasterItem Rasterartworkitem.BaseClass:PageItem

QuickLinks colorize,duplicate,move,remove,removeAll,trace

Hierarchy Object

PageItem

RasterItem

Properties Property Type

bitsPerChannel Int32

boundingBox Rectangle

channels Int32

colorants Arrayofstring

colorizedGrayscale bool

contentVariable any

embedded bool

Page 458: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

file File

imageColorSpace ImageColorSpace:ImageColorSpace.GrayScaleImageColorSpace.RGBImageColorSpace.CMYKImageColorSpace.LABImageColorSpace.SeparationImageColorSpace.DeviceNImageColorSpace.Indexed

matrix Matrix

overprint bool

parent Object

status RasterLinkState:RasterLinkState.NODATARasterLinkState.DATAFROMFILERasterLinkState.DATAMODIFIED

transparent bool

typename string

Methods Instancesvoidcolorize(rasterColor:Color)ColorizetheRasterItemwithaCMYKorRGBColor.

Page 459: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type Description

rasterColor Color ThecolortouseforcoloringtheTIFFimage.

RasterItemduplicate(relativeObject:Object,insertionLocationDuplicatethisobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

RasterItemmove(relativeObject:Object,insertionLocationMovetheobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

PluginItemtrace()Tracethisrasterobjectusingdefaultoptions.Reordersthisrastertothesourceart.

Return RasterItemRasterItem.duplicate(relativeObject:ObjectElementPlacement)

RasterItemRasterItem.move(relativeObject:Object,ElementPlacement)

RasterItemRasterItems.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 460: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 461: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RasterLinkState Therasterlinkstate.

Value Name Description

RasterLinkState.DATAFROMFILE Imagedataisfromthelinkedfile.

RasterLinkState.DATAMODIFIED Imagedatahasbeenmodified.

RasterLinkState.NODATA Imagedataisnotset.

Usage AspropertyRasterItem.status

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 462: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 463: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RasterizationColorModel Controlsthecolormodelfortherasterization.

Value Name

RasterizationColorModel.BITMAP

RasterizationColorModel.DEFAULTCOLORMODEL

RasterizationColorModel.GRAYSCALE

Usage AspropertyRasterEffectOptions.colorModelRasterizeOptions.colorModel

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 464: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 465: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RasterizeOptions Optionswhichmaybesuppliedwhenrasterizingtheartwork.

Class Property Type

antiAliasingMethod AntiAliasingMethodAntiAliasingMethod.NoneAntiAliasingMethod.ARTOPTIMIZEDAntiAliasingMethod.TYPEOPTIMIZED

backgroundBlack bool

clippingMask bool

colorModel RasterizationColorModelRasterizationColorModel.DEFAULTCOLORMODELRasterizationColorModel.GRAYSCALERasterizationColorModel.BITMAP

convertSpotColors bool

convertTextToOutlines bool

includeLayers bool

padding number

resolution number(range:72.0-2400.0)

transparency bool

Usedin: PageItemDocument.rasterize(sourceArt:

Page 466: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 467: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 468: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RulerUnits

Value Name Description Value

RulerUnits.Centimeters Rulerunitsaremeasuredincentimeters.

int3

RulerUnits.Inches Rulerunitsareunknown.

int2

RulerUnits.Millimeters Rulerunitsaremeasuredinmillimeters.

int6

RulerUnits.Picas Rulerunitsaremeasuredinpicas.

int5

RulerUnits.Pixels Rulerunitsaremeasuredinpixels.

int8

RulerUnits.Points Rulerunitsaremeasuredinpoints.

int4

RulerUnits.Qs RulerunitsaremeasuredinQs.

int7

RulerUnits.Unknown Rulerunitsareunknown.

int1

Usage AspropertyDocument.rulerUnitsDocumentPreset.units

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 469: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some
Page 470: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 471: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SVGCSSPropertyLocation

Value Name

SVGCSSPropertyLocation.ENTITIES

SVGCSSPropertyLocation.PRESENTATIONATTRIBUTES

SVGCSSPropertyLocation.STYLEATTRIBUTES

SVGCSSPropertyLocation.STYLEELEMENTS

Usage AspropertyExportOptionsSVG.cssProperties

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 472: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 473: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SVGDTDVersion TheversionoftheSVGDTD.

Value Name

SVGDTDVersion.SVG1_0 SVG1.0.

SVGDTDVersion.SVG1_1 SVG1.1.

SVGDTDVersion.SVGBASIC1_1 SVGBasic1.1.

SVGDTDVersion.SVGTINY1_1 SVGTiny1.1.

SVGDTDVersion.SVGTINY1_1PLUS SVGTiny1.1Plus.

SVGDTDVersion.SVGTINY1_2 SVGTiny1.2.

Usage AspropertyExportOptionsSVG.DTD

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 474: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 475: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SVGDocumentEncoding

Value Name

SVGDocumentEncoding.ASCII

SVGDocumentEncoding.UTF16

SVGDocumentEncoding.UTF8

Usage AspropertyExportOptionsSVG.documentEncoding

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 476: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 477: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SVGFontSubsetting Whatfontstoincludewiththefile?

Value Name

SVGFontSubsetting.ALLGLYPHS

SVGFontSubsetting.COMMONENGLISH

SVGFontSubsetting.COMMONROMAN

SVGFontSubsetting.GLYPHSUSED

SVGFontSubsetting.GLYPHSUSEDPLUSENGLISH

SVGFontSubsetting.GLYPHSUSEDPLUSROMAN

SVGFontSubsetting.None

Usage AspropertyExportOptionsSVG.fontSubsetting

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 478: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 479: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SVGFontType Whatfonttypetoincludewiththefile?

Value Name Description

SVGFontType.CEFFONT AdobeCompactEmbeddedFont(CEF)

SVGFontType.OUTLINEFONT

SVGFontType.SVGFONT

Usage AspropertyExportOptionsSVG.fontType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 480: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 481: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SaveOptions Theoptionsthatmaybeappliedwhensavingafile.

Value Name Description

SaveOptions.DONOTSAVECHANGES Donotsavechanges.

SaveOptions.PROMPTTOSAVECHANGES Asktheuserwhethertosave.

SaveOptions.SAVECHANGES Savechanges.

Usage InfunctionvoidDocument.close([saving:SaveOptions])AspropertyExportOptionsFlash.replacing

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 482: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 483: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScreenMode Thescreenmode.

Value Name Description Value

ScreenMode.DESKTOP Fullscreenwithmenubar.

int2

ScreenMode.FULLSCREEN Fullscreenwithoutmenubar.

int3

ScreenMode.MULTIWINDOW Displaymultiplewindows.

int1

Usage AspropertyView.screenMode

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 484: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 485: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SpotColorKind Customcolorkindofthespotcolor.

Value Name Description

SpotColorKind.SPOTCMYK Solidink,expressedinfourCMYKvalues.

SpotColorKind.SPOTLAB Labcolor.Onlyvalidforspotcolors.

SpotColorKind.SPOTRGB Solidcolor,expressedasthreeRGBvalues.

Usage AspropertySpot.spotKind

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 486: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 487: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

StrokeCap Thestrokecap.

Value Name Description Value

StrokeCap.BUTTENDCAP Buttedcap. int

StrokeCap.PROJECTINGENDCAP Projectingcap.

int

StrokeCap.ROUNDENDCAP Roundedcap.

int

Usage AspropertyDocument.defaultStrokeCapPathItem.strokeCapTextPath.strokeCap

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 488: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 489: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

StrokeJoin Thestrokejoint.

Value Name Description Value

StrokeJoin.BEVELENDJOIN Beveledjoints.

int3

StrokeJoin.MITERENDJOIN Miteredjoints.

int1

StrokeJoin.ROUNDENDJOIN Roundedjoints.

int2

Usage AspropertyDocument.defaultStrokeJoinPathItem.strokeJoinTextPath.strokeJoin

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 490: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 491: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Symbol Asymbol.

QuickLinks duplicate,remove,removeAll

Hierarchy Object

Symbol

Properties Property Type Access Description

name string r/w Thesymbol'sname.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesSymbolduplicate(relativeObject:Object,insertionLocation:ElementPlacementDuplicatethisobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Elementof SymbolItem.symbol

Usedin: SymbolItemSymbolItems.add(symbol:Symbol)

Return SymbolSymbol.duplicate(relativeObject:Object,insertionLocationSymbolSymbols.add(sourceArt:PageItem[,registrationPoint:

Page 492: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SymbolRegistrationPoint=SymbolRegistrationPoint.SYMBOLCENTERPOINTSymbolSymbols.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 493: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 494: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SymbolItem AninstanceofaSymbol.BaseClass:PageItem

QuickLinks breakLink,duplicate,move,remove,removeAll

Hierarchy Object

PageItem

SymbolItem

Properties Property Type Access Description

parent Object readonly Theobject'scontainer.

symbol Symbol r/w Thesymbolthatwasusedtocreatethissymbolitem.

typename string readonly Theclassnameoftheobject.

Methods InstancesvoidbreakLink()Breaklinktothesymbol.

SymbolItemduplicate(relativeObject:Object,insertionLocation:ElementPlacement)Duplicatethisobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

SymbolItemmove(relativeObject:Object,insertionLocation:ElementPlacement)Movetheobject.

Page 495: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return SymbolItemSymbolItem.duplicate(relativeObject:Object,insertionLocation:ElementPlacement)

SymbolItemSymbolItem.move(relativeObject:Object,insertionLocation:ElementPlacement)

SymbolItemSymbolItems.add(symbol:Symbol)SymbolItemSymbolItems.getByName(name:

string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 496: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 497: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SymbolRegistrationPoint Thesymbolregistrationpoint.

Value Name

SymbolRegistrationPoint.SYMBOLBOTTOMLEFTPOINT

SymbolRegistrationPoint.SYMBOLBOTTOMMIDDLEPOINT

SymbolRegistrationPoint.SYMBOLBOTTOMRIGHTPOINT

SymbolRegistrationPoint.SYMBOLCENTERPOINT

SymbolRegistrationPoint.SYMBOLMIDDLELEFTPOINT

SymbolRegistrationPoint.SYMBOLMIDDLERIGHTPOINT

SymbolRegistrationPoint.SYMBOLTOPLEFTPOINT

SymbolRegistrationPoint.SYMBOLTOPMIDDLEPOINT

Page 498: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SymbolRegistrationPoint.SYMBOLTOPRIGHTPOINT

Usage InfunctionSymbolSymbols.add(sourceArt

SymbolRegistrationPoint

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 499: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 500: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TIFFByteOrder ByteOrderofTIFFfile.

Value Name Description

TIFFByteOrder.IBMPC

TIFFByteOrder.MACINTOSH

Usage AspropertyExportOptionsTIFF.byteOrder

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 501: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 502: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TabStopAlignment Thetabalignment.

Value Name Description

TabStopAlignment.Center

TabStopAlignment.Decimal

TabStopAlignment.Left

TabStopAlignment.Right

Usage AspropertyTabStopInfo.alignment

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 503: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 504: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TabStopInfo Tabstopinformation(returnedbytabstopsfromaparagraphobject)

Class Property Type Access

alignment TabStopAlignment:TabStopAlignment.LeftTabStopAlignment.CenterTabStopAlignment.RightTabStopAlignment.Decimal

r/w

decimalCharacter string r/w

leader string r/w

position number r/w

Elementof ParagraphAttributes.tabStops

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 505: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 506: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Tag Atagassociatedwithapieceofartwork.

QuickLinks remove,removeAll

Hierarchy Object

Tag

Properties Property Type Access Description

name string r/w Thetag'sname.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

value string r/w Thedatastoredinthistag.

Methods Instancesvoidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return TagTags.add()TagTags.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 507: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 508: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextAntialias Thetypeoftextantialiasing.

Value Name Description Value

TextAntialias.CRISP Textonapath.

int3

TextAntialias.NONE Textfromapoint.

int1

TextAntialias.SHARP Textwithinanarea.

int2

TextAntialias.STRONG Textonapath.

int4

Usage AspropertyTextFrameItem.antialias

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 509: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 510: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextFont Aninstalledfont.

Hierarchy Object

TextFont

Properties Property Type Access Description

family string readonly Thefont'sfamilyname.

name string readonly Thefont'sfullname.

parent Object readonly Theobject'scontainer.

style string readonly Thefont'sstylename.

typename string readonly Theclassnameoftheobject.

Elementof CharacterAttributes.textFont

Return TextFontTextFonts.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 511: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 512: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextFrameItem Textframeitem.BaseClass:PageItem

QuickLinks createOutline,duplicate,move,remove,removeAll

Hierarchy

TextFrameItem

Properties Property Type

anchor Point

antialias TextAntialias:TextAntialias.NONETextAntialias.SHARPTextAntialias.CRISPTextAntialias.STRONG

characters Characters

columnCount Int32

columnGutter number

Page 513: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

contentVariable any

contents string

endTValue number

firstBaseline FirstBaselineType:FirstBaselineType.BASELINEASCENTFirstBaselineType.BASELINECAPHEIGHTFirstBaselineType.BASELINELEADINGFirstBaselineType.BASELINEXHEIGHTFirstBaselineType.BASELINEEMBOXHEIGHTFirstBaselineType.BASELINEFIXEDFirstBaselineType.BASELINELEGACY

firstBaselineMin number

flowLinksHorizontally bool

Page 514: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

insertionPoints InsertionPoints InsertionPoint

kind TextType:TextType.POINTTEXTTextType.AREATEXTTextType.PATHTEXT

lines Lines

matrix Matrix

nextFrame TextFrameItem

opticalAlignment bool

orientation TextOrientation:TextOrientation.HORIZONTALTextOrientation.VERTICAL

paragraphs Paragraphs

Page 515: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

parent Object

previousFrame TextFrameItem

rowCount Int32

rowGutter number

spacing number

startTValue number

story Story

textPath TextPath

Page 516: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

textRange TextRange

textRanges TextRanges TextRange

textSelection ArrayofTextRange

typename string

words Words

Methods InstancesGroupItemcreateOutline()Converttextitemtopathitems.

TextFrameItemduplicate(relativeObject:ObjectDuplicatethisobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

TextFrameItemmove(relativeObject:Object,Movetheobject.Parameter Type

relativeObject Object

insertionLocation ElementPlacement

Page 517: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Elementof TextFrameItem.nextFrameTextFrameItem.previousFrame

Usedin: TextFrameItemTextFrameItems.areaText(textPathTextOrientation=TextOrientation.HORIZONTALbool=true])

TextFrameItemTextFrameItems.pathText(textPathendTValue:number=0.0][,orientation:TextOrientationbaseFrame:TextFrameItem][,postFix:

Return TextFrameItemTextFrameItem.duplicate(relativeObjectElementPlacement)

TextFrameItemTextFrameItem.move(relativeObjectElementPlacement)

TextFrameItemTextFrameItems.add()TextFrameItemTextFrameItems.areaText(textPath

TextOrientation=TextOrientation.HORIZONTALbool=true])

TextFrameItemTextFrameItems.getByNameTextFrameItemTextFrameItems.pathText(textPath

endTValue:number=0.0][,orientation:TextOrientationbaseFrame:TextFrameItem][,postFix:

TextFrameItemTextFrameItems.pointText(anchorTextOrientation=TextOrientation.HORIZONTAL

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 518: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 519: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextOrientation Theorientation.

Value Name Description

TextOrientation.HORIZONTAL Horizontalorientation.

TextOrientation.VERTICAL Verticalorientation.

Usage InfunctionTextFrameItemTextFrameItems.areaText(textPath

PathItem[,orientation:TextOrientation=TextOrientation.HORIZONTAL[,baseFrame:TextFrameItem][,postFix

TextFrameItemTextFrameItems.pathText(textPathPathItem[,startTValue:number=0.0][,endTValuenumber=0.0][,orientation:TextOrientation=TextOrientation.HORIZONTAL[,baseFrame:TextFrameItem][,postFix

TextFrameItemTextFrameItems.pointText(anchororientation:TextOrientation=TextOrientation.HORIZONTAL

AspropertyTextFrameItem.orientation

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 520: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 521: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextPreservePolicy TextpreservepolicyusedbyFXGfileformat.

Value Name

TextPreservePolicy.AUTOMATICALLYCONVERTTEXT

TextPreservePolicy.KEEPTEXTEDITABLE

TextPreservePolicy.OUTLINETEXT

TextPreservePolicy.RASTERIZETEXT

Usage AspropertyFXGSaveOptions.textPolicy

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 522: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 523: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextType Thetypeoftextart.

Value Name Description Value

TextType.AREATEXT Textwithinanarea. int1

TextType.PATHTEXT Textonapath. int2

TextType.POINTTEXT Textfromapoint. int0

Usage AspropertyTextFrameItem.kind

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 524: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 525: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Transformation Thetransformationtype.

Value Name Description

Transformation.BOTTOM Transformrelativetotheobject'sbottomedge.

Transformation.BOTTOMLEFT Transformrelativetotheobject'sbottomleftcorner.

Transformation.BOTTOMRIGHT Transformrelativetotheobject'sbottomrightcorner.

Transformation.CENTER Transformrelativetotheobject'scenter.

Transformation.DOCUMENTORIGIN Transformrelativetotheillustration'spageorigin.

Transformation.LEFT Transformrelativetotheobject'sleftedge.

Transformation.RIGHT Transform

Page 526: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

relativetotheobject'srightedge.

Transformation.TOP Transformrelativetotheobject'stopedge.

Transformation.TOPLEFT Transformrelativetotheobject'stopleftcorner.

Transformation.TOPRIGHT Transformrelativetotheobject'stoprightcorner.

Usage InfunctionvoidPageItem.resize(scaleX:number,scaleY

changePositions:bool=true][,changeFillPatternsbool=true][,changeFillGradients:bool=changeStrokePattern:bool=true][,changeLineWidthsnumber=100.0][,scaleAbout:Transformation=Transformation.CENTER

voidPageItem.rotate(angle:number[,changePositionsbool=true][,changeFillPatterns:bool=truechangeFillGradients:bool=true][,changeStrokePatternbool=true][,rotateAbout:Transformation=Transformation.CENTER

voidPageItem.transform(transformationMatrixchangePositions:bool=true][,changeFillPatternsbool=true][,changeFillGradients:bool=changeStrokePattern:bool=true][,changeLineWidthsnumber=100.0][,transformAbout:Transformation=Transformation.CENTER

Page 527: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 528: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 529: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

UserInteractionLevel COMuserinteractionenumeration.

Value Name

UserInteractionLevel.DISPLAYALERTS

UserInteractionLevel.DONTDISPLAYALERTS

Usage AspropertyApplication.userInteractionLevel

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 530: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 531: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

VariableKind

Value Name Description Value

VariableKind.GRAPH int5

VariableKind.IMAGE int4

VariableKind.TEXTUAL int3

VariableKind.Unknown int1

VariableKind.VISIBILITY int2

Usage AspropertyVariable.kind

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 532: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 533: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

View Aview.

Hierarchy Object

View

Properties Property Type Access Description

bounds Rectangle readonly Theboundingrectangleofthisview.

centerPoint Point r/w Thecenterpointofthisview.

parent Object readonly Theobject'scontainer.

screenMode ScreenMode:ScreenMode.MULTIWINDOWScreenMode.DESKTOPScreenMode.FULLSCREEN

r/w Themodeofdisplay.

typename string readonly Theclassnameoftheobject.

zoom number r/w Thezoomfactorofthisview.

Elementof

Document.activeView

Return ViewViews.getByName(name:string)

Page 534: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 535: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 536: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ZOrderMethod Howtore-arrangetheartitem.

Value Name Description

ZOrderMethod.BRINGFORWARD Moveartonestepforwardinit'sgrouporlayer.

ZOrderMethod.BRINGTOFRONT Movearttofrontofit'sgrouporlayer.

ZOrderMethod.SENDBACKWARD Moveartonestepbackwardsinit'sgrouporlayer.

ZOrderMethod.SENDTOBACK Movearttobackofit'sgrouporlayer.

Usage InfunctionvoidLayer.zOrder(zOrderCmd:ZOrderMethodvoidPageItem.zOrder(zOrderCmd:ZOrderMethod

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 537: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 538: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CMYKColor ACMYKcolorspecification.BaseClass:Color

Class Property Type Access Description

black number(range:0.0-100.0)

r/w Theblackcolorvalue(between0.0and100.0)(default:0.0)

cyan number(range:0.0-100.0)

r/w Thecyancolorvalue(between0.0and100.0)(default:0.0)

magenta number(range:0.0-100.0)

r/w Themagentacolorvalue(between0.0and100.0)(default:0.0)

yellow number(range:0.0-100.0)

r/w Theyellowcolorvalue(between0.0and100.0)(default:0.0)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 539: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 540: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Color TheparentclassforallcolorvaluesusedinIllustrator.Seethe

specificcolorclassesformoreinformation.

SuperclassofCMYKColor,GradientColor,GrayColor,LabColor,NoColor,PatternColor,RGBColor,andSpotColor

Elementof

CharacterAttributes.fillColorCharacterAttributes.strokeColorDocument.defaultFillColorDocument.defaultStrokeColorGradientStop.colorInkInfo.customColorPathItem.fillColorPathItem.strokeColorSpot.colorSwatch.colorTextPath.fillColorTextPath.strokeColor

Usedin: voidRasterItem.colorize(rasterColor:Color)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 541: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 542: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorConvertPurpose Denotesthepurposeofcolorconversionusing

ConvertSmapleColormethod.

Value Name

ColorConvertPurpose.defaultpurpose

ColorConvertPurpose.dummypurpose

ColorConvertPurpose.exportpurpose

ColorConvertPurpose.previewpurpose

Usage InfunctionArrayofnumberApplication.convertSampleColor

(sourceColorSpace:ImageColorSpaceArrayofnumber,destColorSpacecolorConvertPurpose:ColorConvertPurposesourceHasAlpha:bool=falsebool=false])

Page 543: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 544: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 545: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GradientColor AGradientcolorspecification.BaseClass:

Color

Class Property Type Access Description

angle number r/w Thegradientvectorangle.(default:0)

gradient Gradient r/w Referencetotheobjectdefiningthegradient.

hiliteAngle number r/w Thegradienthilitevectorangle.(default:0)

hiliteLength number r/w Thegradienthilitevectorlength.(default:0)

length number r/w Thegradientvectorlength.(default:0)

matrix Matrix r/w Additionaltransformationarisingfrommanipulatingthepath.

origin Point r/w Thegradientvectororigin.

Jongware,25-Nov-2012 Contents::Index

Page 546: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

v3.0.3i

Page 547: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 548: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GrayColor Agraycolorspecification.BaseClass:Color

Class Property Type Access Description

gray number(range:0.0-100.0)

r/w Thegrayvalue(between0.0and100.0)(default:0.0)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 549: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 550: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LabColor AnLabcolorspecification.BaseClass:Color

Class Property Type Access Description

a number(range:-128.0-127.0)

r/w Theacolorvalue(between-128.0and127.0)(default:0.0)

b number(range:-128.0-127.0)

r/w Thebcolorvalue(between-128.0and127.0)(default:0.0)

l number(range:0.0-100.0)

r/w TheLcolorvalue(between0.0and100.0)(default:0.0)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 551: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 552: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

NoColor Representsthe'none'color.BaseClass:Color

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 553: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 554: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Pattern Apattern.

QuickLinks remove,removeAll

Hierarchy Object

Pattern

Properties Property Type Access Description

name string r/w Thepattern'sname.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods Instancesvoidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Elementof PatternColor.pattern

Return PatternPatterns.add()PatternPatterns.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 555: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 556: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PatternColor APatterncolorspecification.BaseClass:Color

Class Property Type Access Description

matrix Matrix r/w Additionaltransformationarisingfrommanipulatingthepath.

pattern Pattern r/w

reflect bool r/w Whetherornottheprototypeisreflectedbeforefilling.(default:false)

reflectAngle number r/w Theaxisaroundwhichtoreflect.(default:0)

rotation number r/w Theangletorotatethebeforefilling.(default:0)

scaleFactor Point r/w Thefractiontoscaletheprototypebeforefilling.

shearAngle number r/w Theangletoslanttheshearby.(default:0)

shearAxis number r/w Theaxisto

Page 557: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

shearwithrespectto.(default:0)

shiftAngle number r/w Theangletotranslatethe(unscaled)prototypebeforefilling.(default:0)

shiftDistance number r/w Thedistancetotranslatethe(unscaled)prototypebeforefilling.(default:0)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 558: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 559: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RGBColor AnRGBcolorspecification.BaseClass:Color

Class Property Type Access Description

blue number(range:0.0-255.0)

r/w Thebluecolorvalue(between0.0and255.0)(default:0.0)

green number(range:0.0-255.0)

r/w Thegreencolorvalue(between0.0and255.0)(default:0.0)

red number(range:0.0-255.0)

r/w Theredcolorvalue(between0.0and255.0)(default:0.0)

Elementof ExportOptionsFlash.backgroundColorExportOptionsGIF.matteColorExportOptionsJPEG.matteColorExportOptionsPNG24.matteColorExportOptionsPNG8.matteColorImageCaptureOptions.matteColorLayer.color

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 560: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 561: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Spot Acustomcolor.

QuickLinks getInternalColor,remove,removeAll

Hierarchy Object

Spot

Properties Property Type Access Description

color Color r/w

colorType ColorModel:ColorModel.REGISTRATIONColorModel.PROCESSColorModel.SPOT

r/w Typeofthecustomcolor.

name string r/w Thecustomcolor'sname.

parent Object readonly Theobject'scontainer.

spotKind SpotColorKind:SpotColorKind.SPOTCMYKSpotColorKind.SPOTRGBSpotColorKind.SPOTLAB

readonly Kindofthespotcolor(i.e.RGB,CMYKorLAB),itisthenameofcolorkindcontainedinspot.

typename string readonly Theclassnameoftheobject.

Page 562: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Methods InstancesArrayofnumbergetInternalColor()Getstheinternalcolorofaspot.

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Elementof SpotColor.spot

Usedin: voidSwatchGroup.addSpot(spot:Spot)

Return SpotSpots.add()SpotSpots.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 563: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 564: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SpotColor Informationaboutthespotcolor.BaseClass:Color

Class Property Type Access Description

spot Spot r/w

tint number(range:0.0-100.0)

r/w Percentageleveloftinttobeappliedtothespotcolor.(default:100.0)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 565: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 566: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Swatch Acolorswatch.

QuickLinks remove,removeAll

Hierarchy Object

Swatch

Properties Property Type Access Description

color Color r/w Thecolorinformationoftheswatch.

name string r/w Theswatch'sname.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods Instancesvoidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Usedin: voidSwatchGroup.addSwatch(swatch:Swatch)

Return ArrayofSwatchSwatchGroup.getAllSwatches()SwatchSwatches.add()SwatchSwatches.getByName(name:string)ArrayofSwatchSwatches.getSelected()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 567: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 568: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SwatchGroup ASwatchgroup.

QuickLinks addSpot,addSwatch,getAllSwatches,remove,removeAll

Hierarchy Object

SwatchGroup

Properties Property Type Access Description

name string r/w Nameoftheswatchgroup.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesvoidaddSpot(spot:Spot)Addaspotswatchtothegroup.Parameter Type Description

spot Spot Thespotswatchtobeaddedtothegroup.

voidaddSwatch(swatch:Swatch)Addaswatchtothegroup.Parameter Type Description

swatch Swatch Theswatchtobeaddedtothegroup.

ArrayofSwatchgetAllSwatches()Getallswatchesintheswatchgroup.

Page 569: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return SwatchGroupSwatchGroups.add()SwatchGroupSwatchGroups.getByName

(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 570: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 571: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AlternateGlyphsForm Thealternateglyphsformoftext.

Value Name

AlternateGlyphsForm.DEFAULTFORM

AlternateGlyphsForm.EXPERT

AlternateGlyphsForm.FULLWIDTH

AlternateGlyphsForm.HALFWIDTH

AlternateGlyphsForm.JIS04FORM

AlternateGlyphsForm.JIS78FORM

AlternateGlyphsForm.JIS83FORM

AlternateGlyphsForm.JIS90FORM

AlternateGlyphsForm.PROPORTIONALWIDTH

AlternateGlyphsForm.QUARTERWIDTH

AlternateGlyphsForm.THIRDWIDTH

AlternateGlyphsForm.TRADITIONAL

Usage AspropertyCharacterAttributes.alternateGlyphs

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 572: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 573: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoKernType Theautokerntype.

Value Name Description

AutoKernType.AUTO Autokerning.

AutoKernType.METRICSROMANONLY Metricsromanonly.

AutoKernType.NOAUTOKERN Noautokerning.

AutoKernType.OPTICAL Opticalkerning.

Usage AspropertyCharacterAttributes.kerningMethod

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 574: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 575: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AutoLeadingType Theautoleadingtype.

Value Name

AutoLeadingType.BOTTOMTOBOTTOM

AutoLeadingType.TOPTOTOP

Usage AspropertyParagraphAttributes.leadingType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 576: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 577: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BaselineDirectionType Thebaselinedirectiontype.

Value Name

BaselineDirectionType.Standard

BaselineDirectionType.TateChuYoko

BaselineDirectionType.VerticalRotated

Usage AspropertyCharacterAttributes.baselineDirection

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 578: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 579: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BurasagariTypeEnum TheBurasagaritype.

Value Name

BurasagariTypeEnum.Forced

BurasagariTypeEnum.None

BurasagariTypeEnum.Standard

Usage AspropertyParagraphAttributes.burasagariType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 580: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 581: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CaseChangeType Thecasechangetype.

Value Name Description

CaseChangeType.LOWERCASE Changetolowercase.

CaseChangeType.SENTENCECASE Changetosentencecase.

CaseChangeType.TITLECASE Changetotitlecase.

CaseChangeType.UPPERCASE Changetouppercase.

Usage InfunctionvoidTextRange.changeCaseTo(type:CaseChangeType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 582: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 583: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CharacterAttributes Propertiesofacharacter.

Hierarchy

Properties Property Type

Tsume number

akiLeft number

akiRight number

alignment StyleRunAlignmentTypeStyleRunAlignmentType.bottomStyleRunAlignmentType.icfBottomStyleRunAlignmentType.ROMANBASELINEStyleRunAlignmentType.centerStyleRunAlignmentType.icfTopStyleRunAlignmentType.top

alternateGlyphs AlternateGlyphsFormAlternateGlyphsForm.DEFAULTFORMAlternateGlyphsForm.TRADITIONAL

Page 584: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

AlternateGlyphsForm.EXPERTAlternateGlyphsForm.JIS78FORMAlternateGlyphsForm.JIS83FORMAlternateGlyphsForm.HALFWIDTHAlternateGlyphsForm.THIRDWIDTHAlternateGlyphsForm.QUARTERWIDTHAlternateGlyphsForm.FULLWIDTHAlternateGlyphsForm.PROPORTIONALWIDTHAlternateGlyphsForm.JIS90FORMAlternateGlyphsForm.JIS04FORM

autoLeading bool

baselineDirection BaselineDirectionTypeBaselineDirectionType.StandardBaselineDirectionType.VerticalRotatedBaselineDirectionType.TateChuYoko

baselinePosition FontBaselineOptionFontBaselineOption.NORMALBASELINEFontBaselineOption.SUPERSCRIPTFontBaselineOption.SUBSCRIPT

baselineShift number

capitalization FontCapsOptionFontCapsOption.NORMALCAPSFontCapsOption.SMALLCAPSFontCapsOption.ALLCAPSFontCapsOption.ALLSMALLCAPS

connectionForms bool

Page 585: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

contextualLigature bool

discretionaryLigature bool

figureStyle FigureStyleTypeFigureStyleType.DEFAULTFIGURESTYLEFigureStyleType.TABULARFigureStyleType.PROPORTIONALOLDSTYLEFigureStyleType.PROPORTIONALFigureStyleType.TABULAROLDSTYLE

fillColor Color

fractions bool

horizontalScale number

italics bool

Page 586: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

kerningMethod AutoKernTypeAutoKernType.NOAUTOKERNAutoKernType.AUTOAutoKernType.OPTICALAutoKernType.METRICSROMANONLY

language LanguageTypeLanguageType.ENGLISHLanguageType.FINNISHLanguageType.STANDARDFRENCHLanguageType.CANADIANFRENCHLanguageType.STANDARDGERMANLanguageType.OLDGERMANLanguageType.SWISSGERMANLanguageType.ITALIANLanguageType.BOKMALNORWEGIANLanguageType.NYNORSKNORWEGIANLanguageType.STANDARDPORTUGUESELanguageType.BRAZILLIANPORTUGUESELanguageType.SPANISHLanguageType.SWEDISHLanguageType.UKENGLISHLanguageType.DUTCHLanguageType.DANISHLanguageType.CATALANLanguageType.RUSSIANLanguageType.UKRANIANLanguageType.BULGARIANLanguageType.SERBIANLanguageType.CZECHLanguageType.POLISHLanguageType.RUMANIANLanguageType.GREEKLanguageType.TURKISHLanguageType.ICELANDICLanguageType.HUNGARIAN

Page 587: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LanguageType.CHINESELanguageType.JAPANESELanguageType.GERMAN2006REFORMLanguageType.DUTCH2005REFORMLanguageType.SWISSGERMAN2006REFORM

leading number

ligature bool

noBreak bool

openTypePosition FontOpenTypePositionOptionFontOpenTypePositionOption.OPENTYPEDEFAULTFontOpenTypePositionOption.OPENTYPESUPERSCRIPTFontOpenTypePositionOption.OPENTYPESUBSCRIPTFontOpenTypePositionOption.NUMERATORFontOpenTypePositionOption.DENOMINATOR

ordinals bool

ornaments bool

overprintFill bool

Page 588: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

overprintStroke bool

parent Object

proportionalMetrics bool

rotation number

size number

strikeThrough bool

strokeColor Color

strokeWeight number

stylisticAlternates bool

Page 589: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

swash bool

tateChuYokoHorizontal Int32

tateChuYokoVertical Int32

textFont TextFont

titling bool

tracking Int32

typename string

Page 590: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

underline bool

verticalScale number

wariChuCharactersAfterBreak Int32

wariChuCharactersBeforeBreak Int32

wariChuEnabled bool

wariChuJustification WariChuJustificationTypeWariChuJustificationType.LeftWariChuJustificationType.RightWariChuJustificationType.CenterWariChuJustificationType.WARICHUFULLJUSTIFYLASTLINELEFTWariChuJustificationType.WARICHUFULLJUSTIFYLASTLINERIGHTWariChuJustificationType.WARICHUFULLJUSTIFYLASTLINECENTERWariChuJustificationType.WARICHUFULLJUSTIFYWariChuJustificationType.WARICHUAUTOJUSTIFY

wariChuLineGap Int32

wariChuLines Int32

Page 591: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

wariChuScale number

Elementof CharacterStyle.characterAttributesParagraphStyle.characterAttributesTextRange.characterAttributes

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 592: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 593: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CharacterStyle Anamedstylethatrememberscharacterattributes.

QuickLinks add,applyTo,remove,removeAll

Hierarchy Object

CharacterStyle

Properties Property Type Access

characterAttributes CharacterAttributes readonly

name string r/w

parent Object readonly

typename string readonly

Methods InstancesCharacterStyleadd()Addsanelement.

voidapplyTo(textItem:any[,clearingOverridesApplythecharacterstyletotextobject(s)Parameter Type Description

textItem any Thetextobject(s)toapplythestyle

Page 594: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

to.

clearingOverrides bool Whethertoclearanytextattributesbeforeapplythestyle.(default:(Optional)

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return CharacterStyleCharacterStyle.add()CharacterStyleCharacterStyles.add(name:stringCharacterStyleCharacterStyles.getByName(

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 595: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 596: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FigureStyleType Thefigurestyletype.

Value Name

FigureStyleType.DEFAULTFIGURESTYLE

FigureStyleType.PROPORTIONAL

FigureStyleType.PROPORTIONALOLDSTYLE

FigureStyleType.TABULAR

FigureStyleType.TABULAROLDSTYLE

Usage AspropertyCharacterAttributes.figureStyle

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 597: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 598: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FirstBaselineType TextItemFirstbaselinetypes.

Value Name

FirstBaselineType.BASELINEASCENT

FirstBaselineType.BASELINECAPHEIGHT

FirstBaselineType.BASELINEEMBOXHEIGHT

FirstBaselineType.BASELINEFIXED

FirstBaselineType.BASELINELEADING

FirstBaselineType.BASELINELEGACY

FirstBaselineType.BASELINEXHEIGHT

Page 599: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Usage AspropertyTextFrameItem.firstBaseline

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 600: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 601: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FontBaselineOption Thefontbaselineoption.

Value Name

FontBaselineOption.NORMALBASELINE

FontBaselineOption.SUBSCRIPT

FontBaselineOption.SUPERSCRIPT

Usage AspropertyCharacterAttributes.baselinePosition

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 602: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 603: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FontCapsOption Thefontcapitalizationoption.

Value Name Description

FontCapsOption.ALLCAPS Allcaps.

FontCapsOption.ALLSMALLCAPS Allsmallcaps.

FontCapsOption.NORMALCAPS Normalcaps.

FontCapsOption.SMALLCAPS Smallcaps.

Usage AspropertyCharacterAttributes.capitalization

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 604: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 605: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FontOpenTypePositionOption TheOpenTypefontpositionoption.

Value Name

FontOpenTypePositionOption.DENOMINATOR

FontOpenTypePositionOption.NUMERATOR

FontOpenTypePositionOption.OPENTYPEDEFAULT

FontOpenTypePositionOption.OPENTYPESUBSCRIPT

FontOpenTypePositionOption.OPENTYPESUPERSCRIPT

Usage AspropertyCharacterAttributes

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 606: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 607: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

InsertionPoint Alocationbetweencharacters,usedtoinsertnew

textobjects.

Hierarchy Object

InsertionPoint

Properties Property Type Access Description

characters Characters readonly Allthecharactersinthistextrange.

lines Lines readonly Allthelinesinthistextrange.

paragraphs Paragraphs readonly Alltheparagraphsinthistextrange.

parent Object readonly Theobject'scontainer.

story Story readonly Thestoryofthetextrange.

textRanges TextRangesTextRange

readonly Allthetextinthistextrange.

typename string readonly Theclassnameoftheobject.

words Words readonly Allthe

Page 608: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

wordsinthistextrange.

Return InsertionPointInsertionPoints.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 609: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 610: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

KinsokuOrderEnum ThepreferredKinsokuorder.

Value Name

KinsokuOrderEnum.PUSHIN

KinsokuOrderEnum.PUSHOUTFIRST

KinsokuOrderEnum.PUSHOUTONLY

Usage AspropertyParagraphAttributes.kinsokuOrder

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 611: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 612: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LanguageType Thelanguageoftext.

Value Name

LanguageType.BOKMALNORWEGIAN

LanguageType.BRAZILLIANPORTUGUESE

LanguageType.BULGARIAN

LanguageType.CANADIANFRENCH

LanguageType.CATALAN

LanguageType.CHINESE

LanguageType.CZECH

LanguageType.DANISH

LanguageType.DUTCH

LanguageType.DUTCH2005REFORM

LanguageType.ENGLISH

LanguageType.FINNISH

LanguageType.GERMAN2006REFORM

LanguageType.GREEK

LanguageType.HUNGARIAN

LanguageType.ICELANDIC

LanguageType.ITALIAN

LanguageType.JAPANESE

LanguageType.NYNORSKNORWEGIAN

LanguageType.OLDGERMAN

Page 613: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LanguageType.POLISH

LanguageType.RUMANIAN

LanguageType.RUSSIAN

LanguageType.SERBIAN

LanguageType.SPANISH

LanguageType.STANDARDFRENCH

LanguageType.STANDARDGERMAN

LanguageType.STANDARDPORTUGUESE

LanguageType.SWEDISH

LanguageType.SWISSGERMAN

LanguageType.SWISSGERMAN2006REFORM

LanguageType.TURKISH

LanguageType.UKENGLISH

LanguageType.UKRANIAN

Usage AspropertyCharacterAttributes.language

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 614: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 615: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ParagraphAttributes Propertiesofaparagraph.

Hierarchy

Properties Property

autoLeadingAmount

bunriKinshi

burasagariType

desiredGlyphScaling

desiredLetterSpacing

desiredWordSpacing

everyLineComposer

firstLineIndent

hyphenateCapitalizedWords

Page 616: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

hyphenation

hyphenationPreference

hyphenationZone

justification

kinsoku

kinsokuOrder

kurikaeshiMojiShori

leadingType

leftIndent

Page 617: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

maximumConsecutiveHyphens

maximumGlyphScaling

maximumLetterSpacing

maximumWordSpacing

minimumAfterHyphen

minimumBeforeHyphen

minimumGlyphScaling

minimumHyphenatedWordSize

minimumLetterSpacing

minimumWordSpacing

mojikumi

parent

Page 618: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

rightIndent

romanHanging

singleWordJustification

spaceAfter

spaceBefore

tabStops

typename

Elementof ParagraphStyle.paragraphAttributesTextRange.paragraphAttributes

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 619: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 620: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ParagraphStyle Anamedstylethatremembersparagraphattributes.

QuickLinks add,applyTo,remove,removeAll

Hierarchy Object

ParagraphStyle

Properties Property Type Access

characterAttributes CharacterAttributes readonly

name string r/w

paragraphAttributes ParagraphAttributes readonly

parent Object readonly

typename string readonly

Methods InstancesParagraphStyleadd()Addsanelement.

Page 621: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidapplyTo(textItem:any[,clearingOverridesApplytheparagraphstyletotextobject(s)Parameter Type Description

textItem any Thetextobject(s)toapplythestyleto.

clearingOverrides bool Whethertoclearanytextattributesbeforeapplythestyle.(default:(Optional)

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

Return ParagraphStyleParagraphStyle.add()ParagraphStyleParagraphStyles.add(name:ParagraphStyleParagraphStyles.getByName

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 622: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 623: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Story Acontiguousblockoftext.

Hierarchy Object

Story

Properties Property Type Access Description

characters Characters readonly Allthecharactersinthistextrange.

insertionPoints InsertionPointsInsertionPoint

readonly Alltheinsertionpointsinthistextrange.

length Int32 readonly Thenumberofcharactersinthestory.

lines Lines readonly Allthelinesinthistextrange.

paragraphs Paragraphs readonly Alltheparagraphsinthistextrange.

parent Object readonly Theobject'scontainer.

textFrames TextFrameItemsTextFrameItem

readonly Thetextframeitemsinthisstory.

textRange TextRange readonly Thetextrangeofthestory.

textRanges TextRangesTextRange

readonly Allthetextinthistextrange.

textSelection ArrayofTextRange

readonly Theselectedtext(ranges)inthestory.

Page 624: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

typename string readonly Theclassnameoftheobject.

words Words readonly Allthewordsinthistextrange.

Elementof

InsertionPoint.storyTextFrameItem.storyTextRange.story

Return StoryStories.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 625: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 626: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

StyleRunAlignmentType Thestylerunalignment.

Value Name

StyleRunAlignmentType.ROMANBASELINE

StyleRunAlignmentType.bottom

StyleRunAlignmentType.center

StyleRunAlignmentType.icfBottom

StyleRunAlignmentType.icfTop

StyleRunAlignmentType.top

Usage AspropertyCharacterAttributes.alignment

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 627: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 628: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextPath Atextpathitem.

QuickLinks setEntirePath

Hierarchy Object

TextPath

Properties Property Type

area number

blendingMode BlendModes:BlendModes.NORMALBlendModes.MULTIPLYBlendModes.SCREENBlendModes.OVERLAYBlendModes.SOFTLIGHTBlendModes.HARDLIGHTBlendModes.COLORDODGEBlendModes.COLORBURNBlendModes.DARKENBlendModes.LIGHTENBlendModes.DIFFERENCEBlendModes.EXCLUSIONBlendModes.HUEBlendModes.SATURATIONBLENDBlendModes.COLORBLENDBlendModes.LUMINOSITY

clipping bool

Page 629: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

closed bool

editable bool

evenodd bool

fillColor Color

fillOverprint bool

filled bool

guides bool

height number(range:0.0-16348.0)

left number

note string

opacity number(range:0.0-100.0)

Page 630: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

parent Object

pathPoints PathPoints PathPoint

polarity PolarityValues:PolarityValues.POSITIVEPolarityValues.NEGATIVE

position Point

resolution number

selectedPathPoints ObjectArray

strokeCap StrokeCap:StrokeCap.BUTTENDCAPStrokeCap.ROUNDENDCAPStrokeCap.PROJECTINGENDCAP

strokeColor Color

strokeDashOffset number

Page 631: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

strokeDashes Arrayofnumber

strokeJoin StrokeJoin:StrokeJoin.MITERENDJOINStrokeJoin.ROUNDENDJOINStrokeJoin.BEVELENDJOIN

strokeMiterLimit number

strokeOverprint bool

strokeWidth number

stroked bool

top number

typename string

Page 632: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

width number(range:0.0-16348.0)

Methods InstancesvoidsetEntirePath(pathPoints:Arrayofany)Setthepathusingtheprovidedarrayofanchorpoints.Parameter Type Description

pathPoints Arrayofany Arrayofanchorvaluesforthepathpoints.

Elementof TextFrameItem.textPath

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 633: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 634: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextRange Arangeofcharactersfromatextitem.

QuickLinks changeCaseTo,deSelect,duplicate,move,remove,removeAllselect

Hierarchy Object

TextRange

Properties Property Type Access Description

characterAttributes CharacterAttributes readonly Thecharacterpropertiesforthetextrange.

characterOffset Int32 r/w Offsetofthefirstcharacteroftherangefromthebeginningofthestory,incharacters.

characterStyles CharacterStylesCharacterStyle

readonly Listofreferencedcharacterstylesinthetextrange.

characters Characters readonly Allthecharactersinthistextrange.

Page 635: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

contents string r/w Thetextstring.

insertionPoints InsertionPointsInsertionPoint

readonly Alltheinsertionpointsinthistextrange.

kerning Int32 r/w Controlsthespacingbetweentwocharacters(inmilli-ems)

length Int32(min:0) r/w Lengthoftextrange.

lines Lines readonly Allthelinesinthistextrange.

paragraphAttributes ParagraphAttributes readonly Theparagraphpropertiesforthetextrange.

paragraphStyles ParagraphStylesParagraphStyle

readonly Listofreferencedparagraphstylesinthetextrange.

paragraphs Paragraphs readonly Alltheparagraphsinthistextrange.

parent Object readonly Theobject's

Page 636: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

container.

story Story readonly Thestoryofthetextrange.

textRanges TextRangesTextRange

readonly Allthetextinthistextrange.

textSelection ArrayofTextRange

readonly Theselectedtext(ranges)inthetextrange.

typename string readonly Theclassnameoftheobject.

words Words readonly Allthewordsinthistextrange.

Methods InstancesvoidchangeCaseTo(type:CaseChangeType)Changethecapitalizationoftext.Parameter Type Description

type CaseChangeType:CaseChangeType.UPPERCASECaseChangeType.LOWERCASECaseChangeType.TITLECASECaseChangeType.SENTENCECASE

Thetypeofcase.

voiddeSelect()Deselectthetextrange.

TextRangeduplicate(relativeObject:Object,insertionLocationElementPlacement)

Page 637: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Duplicatethisobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

TextRangemove(relativeObject:Object,insertionLocationElementPlacement)Movetheobject.Parameter Type Description

relativeObject Object

insertionLocation ElementPlacement

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

voidselect([addToDocument:bool=false])Selectthetextrange.Parameter Type Description

addToDocument bool Whethertoaddthetextrangetothedocumenttextselection.(default:(Optional)

Elementof Story.textRangeStory.textSelectionTextFrameItem.textRangeTextFrameItem.textSelectionTextRange.textSelection

Return TextRangeCharacters.add(contents:string)TextRangeCharacters.addBefore(contents:string)TextRangeCharacters.getByName(name:string)TextRangeLines.getByName(name:string)TextRangeParagraphs.add(contents:string)TextRangeParagraphs.addBefore(contents:string)

Page 638: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextRangeParagraphs.getByName(name:string)TextRangeTextRange.duplicate(relativeObject:Object

insertionLocation:ElementPlacement)TextRangeTextRange.move(relativeObject:Object,

insertionLocation:ElementPlacement)TextRangeTextRanges.getByName(name:string)TextRangeWords.add(contents:string)TextRangeWords.addBefore(contents:string)TextRangeWords.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 639: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 640: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

WariChuJustificationType TheWari-Chualignmenttype.

Value Name

WariChuJustificationType.Center

WariChuJustificationType.Left

WariChuJustificationType.Right

WariChuJustificationType.WARICHUAUTOJUSTIFY

WariChuJustificationType.WARICHUFULLJUSTIFY

WariChuJustificationType.WARICHUFULLJUSTIFYLASTLINECENTER

WariChuJustificationType.WARICHUFULLJUSTIFYLASTLINELEFT

WariChuJustificationType.WARICHUFULLJUSTIFYLASTLINERIGHT

Usage AspropertyCharacterAttributes.wariChuJustification

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 641: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 642: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Matrix

Class Property Type Access Description

mValueA number r/w

mValueB number r/w

mValueC number r/w

mValueD number r/w

mValueTX number r/w

mValueTY number r/w

Elementof GradientColor.matrixPatternColor.matrixPlacedItem.matrixRasterItem.matrixTextFrameItem.matrix

Usedin: MatrixApplication.concatenateMatrix(matrix:Matrix,secondMatrix:Matrix)

MatrixApplication.concatenateRotationMatrix(matrix:Matrix,angle:number)

MatrixApplication.concatenateScaleMatrix(matrix:Matrix[,scaleX:number=100.0][,scaleY:number=100.0])

MatrixApplication.concatenateTranslationMatrix(matrix:Matrix[,deltaX:number=0.0][,deltaY:number=0.0])

MatrixApplication.invertMatrix(matrix:Matrix)boolApplication.isEqualMatrix(matrix:Matrix,

secondMatrix:Matrix)boolApplication.isSingularMatrix(matrix:Matrix)voidPageItem.transform(transformationMatrix:Matrix[,

changePositions:bool=true][,changeFillPatterns:bool=true][,changeFillGradients:bool=true][,changeStrokePattern:bool=true][,changeLineWidths:number=100.0][,transformAbout:

Page 643: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Transformation=Transformation.CENTER])

Return MatrixApplication.concatenateMatrix(matrix:Matrix,secondMatrix:Matrix)

MatrixApplication.concatenateRotationMatrix(matrix:Matrix,angle:number)

MatrixApplication.concatenateScaleMatrix(matrix:Matrix[,scaleX:number=100.0][,scaleY:number=100.0])

MatrixApplication.concatenateTranslationMatrix(matrix:Matrix[,deltaX:number=0.0][,deltaY:number=0.0])

MatrixApplication.getIdentityMatrix()MatrixApplication.getRotationMatrix([angle:number=0.0])MatrixApplication.getScaleMatrix([scaleX:number=100.0]

[,scaleY:number=100.0])MatrixApplication.getTranslationMatrix([deltaX:

number=0.0][,deltaY:number=0.0])MatrixApplication.invertMatrix(matrix:Matrix)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 644: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 645: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LibraryType Illustratorlibrarytypes.

Value Name Description

LibraryType.BRUSHES Illustratorbrusheslibrary.

LibraryType.GRAPHICSTYLES Illustratorgraphicstyleslibrary.

LibraryType.ILLUSTRATORARTWORK Illustratorartwork.

LibraryType.SWATCHES Illustratorswatcheslibrary.

LibraryType.SYMBOLS Illustratorsymbolslibrary.

Usage AspropertyOpenOptions.openAs

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 646: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 647: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

OpenOptions Optionswhichmaybesuppliedwhenopeningafile.

Class Property Type

convertCropAreaToArtboard bool

convertTilesToArtboard bool

createArtboardWithArtworkBoundingBox bool

openAs LibraryTypeLibraryType.ILLUSTRATORARTWORKLibraryType.SWATCHESLibraryType.BRUSHESLibraryType.GRAPHICSTYLESLibraryType.SYMBOLS

preserveLegacyArtboard bool

updateLegacyGradientMesh bool

updateLegacyText bool

Jongware,25-Nov-2012 Contents::Index

Page 648: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

v3.0.3i

Page 649: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 650: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

OpenOptionsAutoCAD OptionswhichmaybesuppliedwhenopeningaAutoCADfile.

Hierarchy

Properties Property Type

centerArtwork bool

globalScaleOption AutoCADGlobalScaleOptionAutoCADGlobalScaleOption.OriginalSizeAutoCADGlobalScaleOption.FitArtboardAutoCADGlobalScaleOption.ScaleByValue

globalScalePercent number

mergeLayers bool

Page 651: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

parent Object

scaleLineweights bool

selectedLayoutName string

typename string

unit AutoCADUnitAutoCADUnit.PointsAutoCADUnit.PicasAutoCADUnit.InchesAutoCADUnit.MillimetersAutoCADUnit.CentimetersAutoCADUnit.Pixels

unitScaleRatio number

Elementof Preferences.AutoCADFileOptions

Page 652: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 653: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 654: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

OpenOptionsPDF OptionswhichmaybesuppliedwhenopeningaPDFfile.

Hierarchy Object

OpenOptionsPDF

Properties Property Type

pDFCropToBox PDFBoxType:PDFBoxType.PDFARTBOXPDFBoxType.PDFCROPBOXPDFBoxType.PDFTRIMBOXPDFBoxType.PDFBLEEDBOXPDFBoxType.PDFMEDIABOXPDFBoxType.PDFBOUNDINGBOX

pageToOpen Int32

parent Object

typename string

Elementof Preferences.PDFFileOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 655: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some
Page 656: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 657: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

OpenOptionsPhotoshop Optionswhichareappliedwhenopeningorplacinga

Photoshopfile.

Hierarchy Object

OpenOptionsPhotoshop

Properties Property Type

layerComp string

parent Object

preserveHiddenLayers bool

preserveImageMaps bool

preserveLayers bool

Page 658: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

preserveSlices bool

typename string

Elementof Preferences.photoshopFileOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 659: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 660: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

EPSSaveOptions OptionswhichmaybesuppliedwhensavingadocumentasanIllustratorEPSfile.

Class Property Type

artboardRange string

cmykPostScript bool

compatibility CompatibilityCompatibility.ILLUSTRATOR3Compatibility.JAPANESEVERSION3Compatibility.ILLUSTRATOR8Compatibility.ILLUSTRATOR9Compatibility.ILLUSTRATOR10Compatibility.ILLUSTRATOR11Compatibility.ILLUSTRATOR12Compatibility.ILLUSTRATOR13Compatibility.ILLUSTRATOR14Compatibility.ILLUSTRATOR15Compatibility.ILLUSTRATOR16

compatibleGradientPrinting bool

embedAllFonts bool

embedLinkedFiles bool

flattenOutput OutputFlatteningOutputFlattening.PRESERVEPATHSOutputFlattening.PRESERVEAPPEARANCE

includeDocumentThumbnails bool

Page 661: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

overprint PDFOverprintPDFOverprint.PRESERVEPDFOVERPRINTPDFOverprint.DISCARDPDFOVERPRINT

postScript EPSPostScriptLevelEnumEPSPostScriptLevelEnum.LEVEL2EPSPostScriptLevelEnum.LEVEL3

preview EPSPreviewEPSPreview.NoneEPSPreview.BWMACINTOSHEPSPreview.COLORMACINTOSHEPSPreview.BWTIFFEPSPreview.COLORTIFFEPSPreview.TRANSPARENTCOLORTIFF

saveMultipleArtboards bool

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 662: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 663: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FXGSaveOptions OptionswhichmaybesuppliedwhensavingadocumentasanFXGfile.

Class Property Type

artboardRange string

blendsPolicy BlendsExpandPolicyBlendsExpandPolicy.AUTOMATICALLYCONVERTBLENDSBlendsExpandPolicy.RASTERIZEBLENDS

downsampleLinkedImages bool

filtersPolicy FiltersPreservePolicyFiltersPreservePolicy.EXPANDFILTERSFiltersPreservePolicy.RASTERIZEFILTERSFiltersPreservePolicy.KEEPFILTERSEDITABLE

gradientsPolicy GradientsPreservePolicyGradientsPreservePolicy.KEEPGRADIENTSEDITABLEGradientsPreservePolicy.AUTOMATICALLYCONVERTGRADIENTS

includeMetadata bool

includeUnusedSymbols bool

preserveEditingCapabilities bool

saveMultipleArtboards bool

textPolicy TextPreservePolicyTextPreservePolicy.OUTLINETEXTTextPreservePolicy.RASTERIZETEXTTextPreservePolicy.KEEPTEXTEDITABLETextPreservePolicy.AUTOMATICALLYCONVERTTEXT

version FXGVersionFXGVersion.VERSION1PT0FXGVersion.VERSION2PT0

Page 664: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 665: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 666: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

IllustratorSaveOptions OptionswhichmaybesuppliedwhensavingadocumentasanIllustratorfile.

Class Property Type

artboardRange string

compatibility CompatibilityCompatibility.ILLUSTRATOR3Compatibility.JAPANESEVERSION3Compatibility.ILLUSTRATOR8Compatibility.ILLUSTRATOR9Compatibility.ILLUSTRATOR10Compatibility.ILLUSTRATOR11Compatibility.ILLUSTRATOR12Compatibility.ILLUSTRATOR13Compatibility.ILLUSTRATOR14Compatibility.ILLUSTRATOR15Compatibility.ILLUSTRATOR16

compressed bool

embedICCProfile bool

embedLinkedFiles bool

flattenOutput OutputFlatteningOutputFlattening.PRESERVEPATHSOutputFlattening.PRESERVEAPPEARANCE

fontSubsetThreshold number

Page 667: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

pdfCompatible bool

saveMultipleArtboards bool

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 668: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 669: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PDFSaveOptions OptionswhichmaybesuppliedwhensavingadocumentasaPDFfile.

Class Property

acrobatLayers

artboardRange

bleedLink

bleedOffsetRect

colorBars

colorCompression

Page 670: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

colorConversionID

colorDestinationID

colorDownsampling

colorDownsamplingImageThreshold

colorDownsamplingMethod

colorProfileID

colorTileSize

compatibility

Page 671: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

compressArt

documentPassword

enableAccess

enableCopy

enableCopyAccess

enablePlainText

flattenerOptions

flattenerPreset

fontSubsetThreshold

generateThumbnails

grayscaleCompression

Page 672: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

grayscaleDownsampling

grayscaleDownsamplingImageThreshold

grayscaleDownsamplingMethod

grayscaleTileSize

monochromeCompression

monochromeDownsampling

monochromeDownsamplingImageThreshold

monochromeDownsamplingMethod

Page 673: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

offset

optimization

outputCondition

outputConditionID

outputIntentProfile

pDFAllowPrinting

pDFChangesAllowed

pDFPreset

pDFXStandard

Page 674: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

pDFXStandardDescription

pageInformation

pageMarksType

permissionPassword

preserveEditability

printerResolution

registrationMarks

registryName

requireDocumentPassword

requirePermissionPassword

trapped

trimMarkWeight

trimMarks

viewAfterSaving

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 675: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 676: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorDitherMethod MethodusedtodithercolorsforPNG8andGIFexportformats.

Value Name

ColorDitherMethod.DIFFUSION

ColorDitherMethod.NOISE

ColorDitherMethod.NOREDUCTION

ColorDitherMethod.PATTERNDITHER

Usage AspropertyExportOptionsGIF.colorDitherExportOptionsPNG8.colorDither

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 677: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 678: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorReductionMethod MethodusedtoreducecolorforPNG8andGIFexportformats.

Value Name

ColorReductionMethod.ADAPTIVE

ColorReductionMethod.PERCEPTUAL

ColorReductionMethod.SELECTIVE

ColorReductionMethod.WEB

Usage AspropertyExportOptionsGIF.colorReductionExportOptionsPNG8.colorReduction

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 679: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 680: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DocumentType Savabledocumenttypes.

Value Name Description

DocumentType.EPS EPSfileformat.

DocumentType.FXG FXGfileformat.

DocumentType.ILLUSTRATOR Illustratorfileformat.

DocumentType.PDF AcrobatPDFfileformat.

Usage

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 681: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 682: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsAutoCAD OptionswhichmaybesuppliedwhenexportingadocumenttoAutoCADformats(.dwgor.dxf)

Class Property

alterPathsForAppearance

colors

convertTextToOutlines

exportFileFormat

exportOption

exportSelectedArtOnly

rasterFormat

scaleLineweights

unit

Page 683: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

unitScaleRatio

version

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 684: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 685: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsFlash OptionswhichmaybesuppliedwhenexportingadocumentasanFlash(.SWF)file.

Class Property Type

artClipping ArtClippingOptionArtClippingOption.OUTPUTARTBOUNDSArtClippingOption.OUTPUTARTBOARDBOUNDSArtClippingOption.OUTPUTCROPRECTBOUNDS

artboardRange string

backgroundColor RGBColor

backgroundLayers ArrayofLayer

blendAnimation BlendAnimationTypeBlendAnimationType.NOBLENDANIMATIONBlendAnimationType.INSEQUENCEBlendAnimationType.INBUILD

compressed bool

convertTextToOutlines bool

curveQuality Int32(range:0-10)

exportAllSymbols bool

exportStyle FlashExportStyleFlashExportStyle.ARTBOARDSTOFILESFlashExportStyle.ASFLASHFILEFlashExportStyle.LAYERSASFRAMES

Page 686: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashExportStyle.LAYERSASFILESFlashExportStyle.LAYERSASSYMBOLS

exportVersion FlashExportVersionFlashExportVersion.FLASHVERSION1FlashExportVersion.FLASHVERSION2FlashExportVersion.FLASHVERSION3FlashExportVersion.FLASHVERSION4FlashExportVersion.FLASHVERSION5FlashExportVersion.FLASHVERSION6FlashExportVersion.FLASHVERSION7FlashExportVersion.FLASHVERSION8FlashExportVersion.FLASHVERSION9

frameRate number(range:0.01-120)

ignoreTextKerning bool

imageFormat FlashImageFormatFlashImageFormat.LOSSLESSFlashImageFormat.LOSSY

includeMetadata bool

jpegMethod FlashJPEGMethodFlashJPEGMethod.StandardFlashJPEGMethod.Optimized

jpegQuality Int32(range:0-10)

layerOrder LayerOrderTypeLayerOrderType.BOTTOMUPLayerOrderType.TOPDOWN

looping bool

playbackAccess FlashPlaybackSecurityFlashPlaybackSecurity.PlaybackLocalFlashPlaybackSecurity.PlaybackNetwork

Page 687: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

preserveAppearance bool

readOnly bool

replacing SaveOptionsSaveOptions.SAVECHANGESSaveOptions.DONOTSAVECHANGESSaveOptions.PROMPTTOSAVECHANGES

resolution number(range:72-2400)

saveMultipleArtboards bool

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 688: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 689: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsGIF OptionswhichmaybesuppliedwhenexportingadocumentasaGIFfile.

Class Property Type

antiAliasing bool

artBoardClipping bool

colorCount Int32(range:2-256)

colorDither ColorDitherMethodColorDitherMethod.NOREDUCTIONColorDitherMethod.DIFFUSIONColorDitherMethod.PATTERNDITHERColorDitherMethod.NOISE

colorReduction ColorReductionMethodColorReductionMethod.SELECTIVEColorReductionMethod.ADAPTIVEColorReductionMethod.PERCEPTUALColorReductionMethod.WEB

ditherPercent Int32(range:0-100)

horizontalScale number

infoLossPercent Int32(range:0-100)

interlaced bool

matte bool

matteColor RGBColor

Page 690: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

saveAsHTML bool

transparency bool

verticalScale number

webSnap Int32(range:0-100)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 691: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 692: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsJPEG Optionswhichmaybesuppliedwhenexportinga

documentasaJPEGfile.

Class Property Type Access

antiAliasing bool r/w

artBoardClipping bool r/w

blurAmount number(range:0.0-2.0)

r/w

horizontalScale number(range:0.0-776.19)

r/w

matte bool r/w

Page 693: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

matteColor RGBColor r/w

optimization bool r/w

qualitySetting Int32(range:0.0-100.0)

r/w

saveAsHTML bool r/w

verticalScale number(range:0.0-776.19)

r/w

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 694: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 695: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsPNG24 Optionswhichmaybesuppliedwhenexportinga

documentasan24bitPNGfile.

Class Property Type

antiAliasing bool

artBoardClipping bool

horizontalScale number

matte bool

matteColor RGBColor

Page 696: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

saveAsHTML bool

transparency bool

verticalScale number

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 697: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 698: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsPNG8 Optionswhichmaybesuppliedwhenexportingadocumentasan8bitPNGfile.

Class Property Type

antiAliasing bool

artBoardClipping bool

colorCount Int32(range:2-256)

colorDither ColorDitherMethodColorDitherMethod.NOREDUCTIONColorDitherMethod.DIFFUSIONColorDitherMethod.PATTERNDITHERColorDitherMethod.NOISE

colorReduction ColorReductionMethodColorReductionMethod.SELECTIVEColorReductionMethod.ADAPTIVEColorReductionMethod.PERCEPTUALColorReductionMethod.WEB

ditherPercent Int32(range:0-100)

horizontalScale number

interlaced bool

matte bool

matteColor RGBColor

saveAsHTML bool

Page 699: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

transparency bool

verticalScale number

webSnap Int32(range:0-100)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 700: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 701: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsPhotoshop OptionswhichmaybesuppliedwhenexportingadocumentasaPhotoshopfile.

Class Property

antiAliasing

artboardRange

editableText

embedICCProfile

imageColorSpace

maximumEditability

Page 702: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

resolution

saveMultipleArtboards

warnings

writeLayers

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 703: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 704: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsSVG OptionswhichmaybesuppliedwhenexportingadocumentasanSVGfile.

Class Property Type

DTD SVGDTDVersionSVGDTDVersion.SVG1_0SVGDTDVersion.SVG1_1SVGDTDVersion.SVGTINY1_1SVGDTDVersion.SVGTINY1_1PLUSSVGDTDVersion.SVGBASIC1_1SVGDTDVersion.SVGTINY1_2

compressed bool

coordinatePrecision Int32(range:1-7)

cssProperties SVGCSSPropertyLocationSVGCSSPropertyLocation.ENTITIESSVGCSSPropertyLocation.STYLEATTRIBUTESSVGCSSPropertyLocation.STYLEELEMENTSSVGCSSPropertyLocation.PRESENTATIONATTRIBUTES

documentEncoding SVGDocumentEncodingSVGDocumentEncoding.ASCIISVGDocumentEncoding.UTF8SVGDocumentEncoding.UTF16

embedRasterImages bool

fontSubsetting SVGFontSubsettingSVGFontSubsetting.NoneSVGFontSubsetting.GLYPHSUSEDSVGFontSubsetting.COMMONENGLISHSVGFontSubsetting.GLYPHSUSEDPLUSENGLISHSVGFontSubsetting.COMMONROMANSVGFontSubsetting.GLYPHSUSEDPLUSROMAN

Page 705: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SVGFontSubsetting.ALLGLYPHS

fontType SVGFontTypeSVGFontType.CEFFONTSVGFontType.SVGFONTSVGFontType.OUTLINEFONT

includeFileInfo bool

includeVariablesAndDatasets bool

optimizeForSVGViewer bool

preserveEditability bool

sVGAutoKerning bool

sVGTextOnPath bool

slices bool

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 706: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 707: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportOptionsTIFF OptionswhichmaybesuppliedwhenexportingadocumentasaTIFFfile.

Class Property Type

antiAliasing AntiAliasingMethodAntiAliasingMethod.NoneAntiAliasingMethod.ARTOPTIMIZEDAntiAliasingMethod.TYPEOPTIMIZED

artboardRange string

byteOrder TIFFByteOrderTIFFByteOrder.IBMPCTIFFByteOrder.MACINTOSH

embedICCProfile bool

imageColorSpace ImageColorSpaceImageColorSpace.GrayScaleImageColorSpace.RGBImageColorSpace.CMYKImageColorSpace.LABImageColorSpace.SeparationImageColorSpace.DeviceNImageColorSpace.Indexed

lZWCompression bool

resolution number(range:72.0-2400.0)

saveMultipleArtboards bool

Page 708: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 709: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 710: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ExportType Exportfiletypes.

Value Name Description Value

ExportType.AUTOCAD AutoCADexportfileformat.

int8

ExportType.FLASH Flashexportfileformat.

int7

ExportType.GIF GIFexportfileformat.

int6

ExportType.JPEG JPEGexportfileformat.

int1

ExportType.PHOTOSHOP Photoshopexportfileformat.

int2

ExportType.PNG24 PNG24-bitexportfileformat.

int5

ExportType.PNG8 PNG8-bitexportfileformat.

int4

ExportType.SVG SVGexportfileformat.

int3

ExportType.TIFF TIFFexportfileformat.

int9

Usage InfunctionvoidDocument.exportFile(exportFile:File,

exportFormat:ExportType[,options:any])

Page 711: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 712: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 713: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ImageCaptureOptions Optionswhichmaybesuppliedwhencapturinga

portionoftheartworkasan24bitPNGfile.

Class Property Type Access

antiAliasing bool r/w

matte bool r/w

matteColor RGBColor r/w

resolution number(range:72.0-2400.0)

r/w

transparency bool r/w

Page 714: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Usedin: voidDocument.imageCapture(clipBounds:Rectangle][,optionsImageCaptureOptions])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 715: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 716: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DataSet Asetofvariablesandtheirassociateddynamicdatawhich

willbeusedfordynamicpublishing.

QuickLinks display,remove,removeAll,update

Hierarchy Object

DataSet

Properties Property Type Access Description

name string r/w Thenameofthisdataset.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods Instancesvoiddisplay()Displaysthedynamicdatathathasbeencapturedinthedataset.

voidremove()Deletesthisobject.

voidremoveAll()Deletesallelements.

voidupdate()Re-applythedynamicdataoftheactivedatasettotheartboard.

Elementof Document.activeDataSet

Return DataSetDataSets.add()DataSetDataSets.getByName(name:string)

Jongware,25-Nov-2012 Contents::Index

Page 717: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

v3.0.3i

Page 718: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 719: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Variable Dynamicobjectusedtocreatedata-drivengraphics.

QuickLinks remove,removeAll

Hierarchy Object

Variable

Properties Property Type Access Description

kind VariableKind:VariableKind.UnknownVariableKind.VISIBILITYVariableKind.TEXTUALVariableKind.IMAGEVariableKind.GRAPH

r/w Thevariable'stype.

name string r/w Thenameofthisvariable.

pageItems PageItems PageItem readonly Alltheartworkinthisdocument.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods Instancesvoidremove()Deletesthisobject.

voidremoveAll()

Page 720: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Deletesallelements.

Return VariableVariables.add()VariableVariables.getByName(name:string)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 721: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 722: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FontSubstitutionPolicy Thefontsubstitutionpolicy.

Value Name

FontSubstitutionPolicy.SUBSTITUTEDEVICE

FontSubstitutionPolicy.SUBSTITUTEOBLIQUE

FontSubstitutionPolicy.SUBSTITUTETINT

Usage AspropertyPrintFontOptions.fontSubstitution

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 723: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 724: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Ink Printer'sink.

Class Property Type Access Description

inkInfo InkInfo r/w Theinkinformation.

name string r/w Theink'sname.

Elementof Document.inkListPrintColorSeparationOptions.inkList

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 725: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 726: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

InkInfo Inkinformation.

Class Property Type Access

angle number r/w

customColor Color r/w

density number(min:0) r/w

dotShape string r/w

frequency number(min:0) r/w

kind InkType:InkType.CYANINKInkType.MAGENTAINKInkType.YELLOWINKInkType.BLACKINKInkType.CUSTOMINK

r/w

printingStatus InkPrintStatus:InkPrintStatus.DISABLEINKInkPrintStatus.ENABLEINKInkPrintStatus.CONVERTINK

r/w

trapping TrappingType:TrappingType.NORMALTRAPPINGTrappingType.TRANSPARENTTrappingType.OPAQUETrappingType.IGNOREOPAQUE

r/w

trappingOrder Int32(min:1) r/w

Page 727: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Elementof Ink.inkInfo

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 728: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 729: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

InkPrintStatus Theinkprintingstatus.

Value Name Description

InkPrintStatus.CONVERTINK Converttoprocesscolorduringprint.

InkPrintStatus.DISABLEINK Disabletheinkduringprint.

InkPrintStatus.ENABLEINK Enabletheinkduringprint.

Usage AspropertyInkInfo.printingStatus

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 730: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 731: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

InkType Theinktype.

Value Name Description Value

InkType.BLACKINK Blackcolorink. int3

InkType.CUSTOMINK Customcolorink. int4

InkType.CYANINK Cyancolorink. int0

InkType.MAGENTAINK Magentacolorink. int1

InkType.YELLOWINK Yellowcolorink. int2

Usage AspropertyInkInfo.kind

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 732: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 733: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PPDFile APPDfile.

Class Property Type Access Description

PPDInfo PPDFileInfo r/w ThePPDfileinformation.

name string r/w ThePPDmodelname.

Elementof Application.PPDFileList

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 734: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 735: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PPDFileInfo PPDfileinformation.

Class Property Type Access

PPDFilePath File r/w

languageLevel string r/w

screenList ArrayofScreen r/w

screenSpotFunctionList ArrayofScreenSpotFunction

r/w

Elementof PPDFile.PPDInfo

Return PPDFileInfoApplication.getPPDFileInfo(name:string

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 736: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 737: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PageMarksTypes Thepagemarksstyletype.

Value Name Description

PageMarksTypes.Japanese Japanesepagemarksstyle.

PageMarksTypes.Roman Romanpagemarksstyle.

Usage AspropertyPDFSaveOptions.pageMarksTypePrintPageMarksOptions.pageMarksType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 738: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 739: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Paper Papersize.

Class Property Type Access Description

name string r/w Thepapername.

paperInfo PaperInfo r/w Thepaperinformation.

Elementof PrinterInfo.paperSizes

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 740: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 741: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PaperInfo Paperinformation.

Class Property Type Access Description

customPaper bool r/w Isitacustompaper?

height number r/w Thepaper'sheight(inpoints)

imageableArea Rectangle r/w Theimageablearea.

width number r/w Thepaper'swidth(inpoints)

Elementof Paper.paperInfo

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 742: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 743: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PostScriptImageCompressionType ThePostScriptimagecompressiontype.

Value Name

PostScriptImageCompressionType.IMAGECOMPRESSIONNONE

PostScriptImageCompressionType.JPEG

PostScriptImageCompressionType.RLE

Usage AspropertyPrintPostScriptOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 744: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 745: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintArtworkDesignation Theartworklayers/objectstobeprinted.

Value Name

PrintArtworkDesignation.ALLLAYERS

PrintArtworkDesignation.VISIBLELAYERS

PrintArtworkDesignation.VISIBLEPRINTABLELAYERS

Usage AspropertyPrintJobOptions.designation

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 746: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 747: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintColorIntent Thecolorintenttype.

Value Name

PrintColorIntent.ABSOLUTECOLORIMETRIC

PrintColorIntent.PERCEPTUALINTENT

PrintColorIntent.RELATIVECOLORIMETRIC

PrintColorIntent.SATURATIONINTENT

Usage AspropertyPrintColorManagementOptions.intent

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 748: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 749: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintColorManagementOptions Thecolormanagementoptions.

Class Property

colorProfileMode

intent

name

Elementof PrintOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 750: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 751: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintColorProfile Thecolorprofiletype.

Value Name

PrintColorProfile.CUSTOMPROFILE

PrintColorProfile.OLDSTYLEPROFILE

PrintColorProfile.PRINTERPROFILE

PrintColorProfile.SOURCEPROFILE

Usage AspropertyPrintColorManagementOptions.colorProfileMode

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 752: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 753: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintColorSeparationMode Thecolorseparationmode.

Value Name

PrintColorSeparationMode.COMPOSITE

PrintColorSeparationMode.HOSTBASEDSEPARATION

PrintColorSeparationMode.INRIPSEPARATION

Usage AspropertyPrintColorSeparationOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 754: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 755: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintColorSeparationOptions Printcolorseparationoptions.

Class Property

colorSeparationMode

convertSpotColors

inkList

overPrintBlack

Elementof PrintOptions.colorSeparationOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 756: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 757: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintCoordinateOptions Theprintcoordinateoptions.

Class Property Type

emulsion bool

fitToPage bool

horizontalScale number(range:1-10000)

orientation PrintOrientationPrintOrientation.PORTRAITPrintOrientation.LANDSCAPEPrintOrientation.REVERSEPORTRAITPrintOrientation.REVERSELANDSCAPEPrintOrientation.AUTOROTATE

position PrintPositionPrintPosition.TRANSLATETOPLEFTPrintPosition.TRANSLATETOPPrintPosition.TRANSLATETOPRIGHTPrintPosition.TRANSLATELEFTPrintPosition.TRANSLATECENTERPrintPosition.TRANSLATERIGHTPrintPosition.TRANSLATEBOTTOMLEFTPrintPosition.TRANSLATEBOTTOMPrintPosition.TRANSLATEBOTTOMRIGHT

tiling PrintTilingPrintTiling.TILESINGLEFULLPAGEPrintTiling.TILEFULLPAGESPrintTiling.TILEIMAGEABLEAREAS

verticalScale number(range:1-10000)

Page 758: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Elementof PrintOptions.coordinateOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 759: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 760: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintFlattenerOptions Thetransparencyflatteningoptions.

Class Property Type

clipComplexRegions bool

convertStrokesToOutlines bool

convertTextToOutlines bool

flatteningBalance Int32(range:0-100)

gradientResolution number

overprint PDFOverprintPDFOverprint.PRESERVEPDFOVERPRINTPDFOverprint.DISCARDPDFOVERPRINT

rasterizationResolution number

Elementof PDFSaveOptions.flattenerOptionsPrintOptions.flattenerOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 761: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 762: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintFontDownloadMode Theprinterfontdownloadmode.

Value Name

PrintFontDownloadMode.DOWNLOADCOMPLETE

PrintFontDownloadMode.DOWNLOADNONE

PrintFontDownloadMode.DOWNLOADSUBSET

Usage AspropertyPrintFontOptions.downloadFonts

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 763: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 764: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintFontOptions Thefontoptionsforprinting.

Class Property Type

downloadFonts PrintFontDownloadModePrintFontDownloadMode.DOWNLOADNONEPrintFontDownloadMode.DOWNLOADSUBSETPrintFontDownloadMode.DOWNLOADCOMPLETE

fontSubstitution FontSubstitutionPolicyFontSubstitutionPolicy.SUBSTITUTEOBLIQUEFontSubstitutionPolicy.SUBSTITUTETINTFontSubstitutionPolicy.SUBSTITUTEDEVICE

Elementof PrintOptions.fontOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 765: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 766: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintJobOptions Theprintjoboptions.

Class Property Type

artboardRange string

bitmapResolution number(min:0)

collate bool

copies Int32(min:1)

designation PrintArtworkDesignationPrintArtworkDesignation.VISIBLEPRINTABLELAYERSPrintArtworkDesignation.VISIBLELAYERSPrintArtworkDesignation.ALLLAYERS

file File

name string

printAllArtboards bool

printArea PrintingBounds:PrintingBounds.ARTBOARDBOUNDSPrintingBounds.ARTWORKBOUNDSPrintingBounds.CROPBOUNDS

printAsBitmap bool

reversePages bool

Elementof PrintOptions.jobOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 767: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 768: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintOptions Theprintoptions.

Class Property Type

PPDName string

colorManagementOptions PrintColorManagementOptions

colorSeparationOptions PrintColorSeparationOptions

coordinateOptions PrintCoordinateOptions

flattenerOptions PrintFlattenerOptions

flattenerPreset string

fontOptions PrintFontOptions

jobOptions PrintJobOptions

pageMarksOptions PrintPageMarksOptions

Page 769: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

paperOptions PrintPaperOptions

postScriptOptions PrintPostScriptOptions

printPreset string

printerName string

Usedin: voidDocument.print([options:PrintOptions])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 770: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 771: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintOrientation Theartworkprintingorientation.

Value Name

PrintOrientation.AUTOROTATE

PrintOrientation.LANDSCAPE

PrintOrientation.PORTRAIT

PrintOrientation.REVERSELANDSCAPE

PrintOrientation.REVERSEPORTRAIT

Usage AspropertyPrintCoordinateOptions.orientation

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 772: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 773: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintPageMarksOptions Thepagemarksoptions.

Class Property Type

bleedOffsetRect Rectangle

colorBars bool

marksOffsetRect Rectangle

pageInfoMarks bool

pageMarksType PageMarksTypesPageMarksTypes.RomanPageMarksTypes.Japanese

registrationMarks bool

trimMarks bool

trimMarksWeight number

Elementof PrintOptions.pageMarksOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 774: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 775: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintPaperOptions Thepaperoptions.

Class Property Type Access Description

height number r/w Thecustomheight(inpoints)forusingthecustompaper.(default:

name string r/w Thepaper'sname.

offset number r/w Customoffset(inpoints)forusingthecustompaper.(default:

transverse bool r/w Whethertotransversetheartwork(rotate90degrees)onthecustompaper.(default:false)

width number r/w Thecustomwidth(inpoints)forusingthecustom

Page 776: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

paper.(default:

Elementof PrintOptions.paperOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 777: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 778: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintPosition Theartworkprintingpositiononmedia.

Value Name Description

PrintPosition.TRANSLATEBOTTOM Translatetothebottomcenterofmedia.

PrintPosition.TRANSLATEBOTTOMLEFT Translatetothebottomleftofmedia.

PrintPosition.TRANSLATEBOTTOMRIGHT Translatetothebottomrightofmedia.

PrintPosition.TRANSLATECENTER Translatetothecenterofmedia.

PrintPosition.TRANSLATELEFT Translatetotheleftcenterofmedia.

PrintPosition.TRANSLATERIGHT Translatetotherightcenterofmedia.

PrintPosition.TRANSLATETOP Translatetothetopcenterofmedia.

PrintPosition.TRANSLATETOPLEFT Translateto

Page 779: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

thetopleftofmedia.

PrintPosition.TRANSLATETOPRIGHT Translatetothetoprightofmedia.

Usage AspropertyPrintCoordinateOptions.position

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 780: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 781: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintPostScriptOptions ThePostScriptoptions.

Class Property Type

binaryPrinting bool

compatibleShading bool

forceContinuousTone bool

imageCompression PostScriptImageCompressionTypePostScriptImageCompressionType.IMAGECOMPRESSIONNONEPostScriptImageCompressionType.RLEPostScriptImageCompressionType.JPEG

negativePrinting bool

postScriptLevel PrinterPostScriptLevelEnumPrinterPostScriptLevelEnum.PSLEVEL1PrinterPostScriptLevelEnum.PSLEVEL2PrinterPostScriptLevelEnum.PSLEVEL3

shadingResolution number

Elementof PrintOptions.postScriptOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 782: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 783: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintTiling Thepagetilingtype.

Value Name Description

PrintTiling.TILEFULLPAGES Tilefullpages.

PrintTiling.TILEIMAGEABLEAREAS Tileimageableareas.

PrintTiling.TILESINGLEFULLPAGE Tilesinglefullpage.

Usage AspropertyPrintCoordinateOptions.tiling

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 784: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 785: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Printer Aninstalledprinter.

Class Property Type Access Description

name string r/w Theprintername.

printerInfo PrinterInfo r/w Theprinterinformation.

Elementof Application.printerList

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 786: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 787: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrinterColorMode Theprintercolormode.

Value Name

PrinterColorMode.BLACKANDWHITEPRINTER

PrinterColorMode.COLORPRINTER

PrinterColorMode.GRAYSCALEPRINTER

Usage AspropertyPrinterInfo.colorSupport

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 788: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 789: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrinterInfo Printerinformation.

Class Property Type

binaryPrintingSupport bool

colorSupport PrinterColorMode:PrinterColorMode.COLORPRINTERPrinterColorMode.GRAYSCALEPRINTERPrinterColorMode.BLACKANDWHITEPRINTER

customPaperSupport bool

customPaperTransverseSupport bool

deviceResolution number

inRIPSeparationSupport bool

maxDeviceResolution number

Page 790: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

maxPaperHeight number

maxPaperHeightOffset number

maxPaperWidth number

maxPaperWidthOffset number

minPaperHeight number

minPaperHeightOffset number

minPaperWidth number

Page 791: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

minPaperWidthOffset number

paperSizes ArrayofPaper

postScriptLevel PrinterPostScriptLevelEnumPrinterPostScriptLevelEnum.PSLEVEL1PrinterPostScriptLevelEnum.PSLEVEL2PrinterPostScriptLevelEnum.PSLEVEL3

printerType PrinterTypeEnum:PrinterTypeEnum.UnknownPrinterTypeEnum.POSTSCRIPTPRINTERPrinterTypeEnum.NONPOSTSCRIPTPRINTER

Elementof Printer.printerInfo

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 792: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 793: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrinterTypeEnum Theprintertype.

Value Name

PrinterTypeEnum.NONPOSTSCRIPTPRINTER

PrinterTypeEnum.POSTSCRIPTPRINTER

PrinterTypeEnum.Unknown

Usage AspropertyPrinterInfo.printerType

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 794: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 795: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PrintingBounds Theprintingboundstype.

Value Name Description

PrintingBounds.ARTBOARDBOUNDS Useartboardbounds.

PrintingBounds.ARTWORKBOUNDS Useartworkbounds.

PrintingBounds.CROPBOUNDS Usecropbounds.

Usage AspropertyPrintJobOptions.printArea

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 796: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 797: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Screen Colorseparationscreen.

Class Property Type Access Description

name string r/w Thecolorseparationscreenname.

screenInfo ScreenInfo r/w Thecolorseparationscreeninformation.

Elementof PPDFileInfo.screenList

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 798: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 799: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScreenInfo Screeninformation.

Class Property Type Access Description

angle number r/w Thescreen'sangle(indegrees)

defaultScreen bool r/w Isitthedefaultscreen?

frequency number r/w Thescreen'sfrequency.

Elementof Screen.screenInfo

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 800: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 801: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScreenSpotFunction Colorseparationscreenspotfunction.

Class Property Type Access Description

name string r/w Thecolorseparationscreenspotfunctionname.

spotFunction string r/w ThespotfunctionintermsofthePostScriptcommands.

Elementof PPDFileInfo.screenSpotFunctionList

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 802: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 803: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TrappingType Thetrappingtype.

Value Name Description

TrappingType.IGNOREOPAQUE Ignoreopaquetrappingtype.

TrappingType.NORMALTRAPPING Normaltrappingtype.

TrappingType.OPAQUE Opaquetrappingtype.

TrappingType.TRANSPARENT Transparenttrappingtype.

Usage AspropertyInkInfo.trapping

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 804: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 805: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TracingColorType TheinputcolortypeFullColororLimitedcolors.

Value Name

TracingColorType.TRACINGFULLCOLOR

TracingColorType.TRACINGLIMITEDCOLOR

Usage AspropertyTracingOptions.tracingColorTypeValue

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 806: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 807: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TracingMethodType Thetracingmethod:abuttingandoverlapping.

Value Name

TracingMethodType.TRACINGMETHODABUTTING

TracingMethodType.TRACINGMETHODOVERLAPPING

Usage AspropertyTracingOptions.tracingMethod

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 808: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 809: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TracingModeType Thetracingmode:color,grayscale,blackandwhite.

Value Name

TracingModeType.TRACINGMODEBLACKANDWHITE

TracingModeType.TRACINGMODECOLOR

TracingModeType.TRACINGMODEGRAY

Usage AspropertyTracingOptions.tracingMode

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 810: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 811: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TracingObject Atracingobject.

QuickLinks expandTracing,releaseTracing

Hierarchy Object

TracingObject

Properties Property Type Access Description

anchorCount Int32 readonly Thenumberofanchorsinthetracingresult.

parent Object readonly Theobject'scontainer.

pathCount Int32 readonly Thenumberofpathsinthetracingresult.

sourceArt PageItem readonly Thesourceartusedwhencreatinganewtracingobject.

tracingOptions TracingOptions readonly Theoptionsusedwhentracingtheartwork.

typename string readonly Theclassnameofthe

Page 812: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

object.

usedColorCount Int32 readonly Thenumberofcolorsusedinthetracingresult.

Methods InstancesGroupItemexpandTracing([viewed:bool=falseExpandthetracingtopaths.Deletesthistracingobject.Parameter Type Description

viewed bool Expandasviewedwiththerasterandvectorviewmodes.(default:(Optional)

PageItemreleaseTracing()Releasethesourceartworkforthetracingobject.Deletesthistracingobject.

Elementof PluginItem.tracing

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 813: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 814: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TracingOptions Tracingoptionsthatguidethetracingprocess.

QuickLinks loadFromPreset,storeToPreset

Hierarchy

Properties Property Type

colorFidelity number

colorGroup string

cornerFidelity number

fills bool

grayLevels Int32(range:1-256)

ignoreWhite bool

Page 815: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

maxStrokeWeight number

noiseFidelity number

palette string

parent Object

pathFidelity number

preset string

snapCurveToLines bool

strokes bool

threshold Int32(range:1-256)

tracingColorTypeValue TracingColorType:TracingColorType.TRACINGLIMITEDCOLORTracingColorType.TRACINGFULLCOLOR

tracingColors Int32

tracingMethod TracingMethodType

Page 816: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TracingMethodType.TRACINGMETHODABUTTINGTracingMethodType.TRACINGMETHODOVERLAPPING

tracingMode TracingModeType:TracingModeType.TRACINGMODECOLORTracingModeType.TRACINGMODEGRAYTracingModeType.TRACINGMODEBLACKANDWHITE

typename string

viewMode ViewType:ViewType.TRACINGVIEWVECTORTRACINGRESULTViewType.TRACINGVIEWVECTOROUTLINESWITHTRACINGViewType.TRACINGVIEWVECTOROUTLINESViewType.TRACINGVIEWVECTORWITHTRANSPARENTIMAGEViewType.TRACINGVIEWIMAGE

Methods InstancesboolloadFromPreset(presetName:string)Loadoptionsfrompreset.Parameter Type

presetName string

boolstoreToPreset(presetName:string)StoreoptionstoapresetkAiVectorizeSuite.Willoverwriteanexisting(unlocked)presetifnamesmatch.Parameter Type

presetName string

Elementof TracingObject.tracingOptions

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 817: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 818: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ViewType Controlsthetypeofvectorview.

Value Name

ViewType.TRACINGVIEWIMAGE

ViewType.TRACINGVIEWVECTOROUTLINES

ViewType.TRACINGVIEWVECTOROUTLINESWITHTRACING

ViewType.TRACINGVIEWVECTORTRACINGRESULT

ViewType.TRACINGVIEWVECTORWITHTRANSPARENTIMAGE

Usage AspropertyTracingOptions.viewMode

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 819: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 820: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ArtStyles Acollectionofartstyles.

SeealsoArtStyle.

QuickLinks getByName,removeAll

Hierarchy Object

ArtStyles

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesArtStylegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.graphicStyles

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 821: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 822: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Artboards Acollectionofartboards.

SeealsoArtboard.

QuickLinks add,getActiveArtboardIndex,getByName,getByName,insert,remove,removeAll,setActiveArtboardIndex

Hierarchy Object

Artboards

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassArtboardadd(artboardRect:Rectangle)Addartboardobject.Parameter Type Description

artboardRect Rectangle Sizeandpositionofartboard.

InstancesInt32getActiveArtboardIndex()Retrievestheindexpositionoftheactiveartboardinthedocument'slist.

ArtboardgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.

Page 823: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type Description

name string

ArtboardgetByName(artboardName:string)GetthefirstArtboardwithspecifiedname.Parameter Type Description

artboardName string Thenameoftheartboard.

voidinsert(artboardRect:Rectangle,index:Int32)InsertanArtboardatspecifiedlocation.Parameter Type Description

artboardRect Rectangle Sizeandpositionofartboard.

index Int32 Indexpositionwhereartboardshouldbeinserted.

voidremove(index:Int32)Deleteartboardobject.Parameter Type Description

index Int32 Indexofthecropareatobedeleted.

voidremoveAll()Deletesallelements.

voidsetActiveArtboardIndex(index:Int32)Makesaspecificartboardactive,andmakesitcurrentintheiterationorder.Parameter Type Description

index Int32 The0-basedindexpositionoftheartboardinthedocumentlist.

Elementof Document.artboards

Jongware,25-Nov-2012 Contents::Index

Page 824: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

v3.0.3i

Page 825: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 826: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Brushes Acollectionofbrushes.

QuickLinks getByName

Hierarchy Object

Brushes

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesBrushgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof Document.brushes

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 827: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 828: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CharacterStyles Acollectionofcharacterstyles.

SeealsoCharacterStyle.

QuickLinks add,getByName,removeAll

Hierarchy Object

CharacterStyles

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassCharacterStyleadd(name:string)Createanamedcharacterstyle.Parameter Type Description

name string Thecharacterstylename.

InstancesCharacterStylegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

Page 829: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

name string

voidremoveAll()Deletesallelements.

Elementof Document.characterStylesTextRange.characterStyles

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 830: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 831: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Characters Acollectionofcharacters.

QuickLinks add,addBefore,getByName,removeAll

Hierarchy Object

Characters

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassTextRangeadd(contents:string)Createacharacter.Parameter Type Description

contents string Thetextstring.

TextRangeaddBefore(contents:string)Parameter Type Description

contents string Thetextstring.

InstancesTextRangegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Page 832: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidremoveAll()Deletesallelements.

Elementof InsertionPoint.charactersStory.charactersTextFrameItem.charactersTextRange.characters

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 833: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 834: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

CompoundPathItems Acollectionofcompoundpathitems.

SeealsoCompoundPathItem.

QuickLinks add,getByName,removeAll

Hierarchy Object

CompoundPathItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassCompoundPathItemadd()Createacompoundpathitem.

InstancesCompoundPathItemgetByNamestring)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()

Page 835: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Deletesallelements.

Elementof Document.compoundPathItemsGroupItem.compoundPathItemsLayer.compoundPathItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 836: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 837: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DataSets Acollectionofdatasets.

SeealsoDataSet.

QuickLinks add,getByName,removeAll

Hierarchy Object

DataSets

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassDataSetadd()Createadataset.

InstancesDataSetgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.dataSets

Jongware,25-

Page 838: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Nov-2012v3.0.3i Contents::Index

Page 839: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 840: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Documents Acollectionofdocuments.

SeealsoDocument.

QuickLinks add,addDocument,getByName

Hierarchy Object

Documents

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassDocumentadd([documentColorSpace:DocumentColorSpacenumber=612.0][,height:number=792.0][,numArtboardsDocumentArtboardLayout=DocumentArtboardLayout.GridByRowartboardRowsOrCols:Int32=1])Adocument.Parameter Type

documentColorSpace DocumentColorSpace:DocumentColorSpace.RGBDocumentColorSpace.CMYK

width number

height number

numArtboards Int32

Page 841: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

artboardLayout DocumentArtboardLayout:DocumentArtboardLayout.GridByRowDocumentArtboardLayout.GridByColDocumentArtboardLayout.RowDocumentArtboardLayout.ColumnDocumentArtboardLayout.RLGridByRowDocumentArtboardLayout.RLGridByColDocumentArtboardLayout.RLRow

artboardSpacing number

artboardRowsOrCols Int32

DocumentaddDocument(startupPreset:string,presetSettingsCreateadocumentfromthepreset.Parameter Type Description

startupPreset string Thenameofstartupdocumentpreset.

presetSettings DocumentPreset Thecustomdocumentpresetsettings.

InstancesDocumentgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type

name string

Elementof Application.documents

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 842: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 843: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GradientStops Acollectionofgradientstops.

SeealsoGradientStop.

QuickLinks add,getByName,removeAll

Hierarchy Object

GradientStops

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassGradientStopadd()Createagradientstop.

InstancesGradientStopgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Page 844: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Elementof Gradient.gradientStops

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 845: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 846: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Gradients Acollectionofgradients.

SeealsoGradient.

QuickLinks add,getByName,removeAll

Hierarchy Object

Gradients

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassGradientadd()Createagradient.

InstancesGradientgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.gradients

Jongware,25-

Page 847: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Nov-2012v3.0.3i Contents::Index

Page 848: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 849: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GraphItems SeealsoGraphItem.

QuickLinks getByName,removeAll

Hierarchy Object

GraphItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesGraphItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.graphItemsGroupItem.graphItemsLayer.graphItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 850: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some
Page 851: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 852: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

GroupItems Acollectionofgroupitems.

SeealsoGroupItem.

QuickLinks add,createFromFile,getByName,removeAll

Hierarchy Object

GroupItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassGroupItemadd()Createagroupitem.

GroupItemcreateFromFile(imageFile:File)Createagroupitemfromavectorgraphicsfile.Parameter Type Description

imageFile File Thevectorgraphicsfiletobeembedded.

InstancesGroupItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.

Page 853: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.groupItemsGroupItem.groupItemsLayer.groupItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 854: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 855: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

InsertionPoints Acollectionofinsertionpoints.

SeealsoInsertionPoint.

QuickLinks getByName

Hierarchy Object

InsertionPoints

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesInsertionPointgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof Story.insertionPointsTextFrameItem.insertionPointsTextRange.insertionPoints

Jongware,25-Nov-2012 Contents::Index

Page 856: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

v3.0.3i

Page 857: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 858: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Layers Acollectionoflayers.

SeealsoLayer.

QuickLinks add,getByName,removeAll

Hierarchy Object

Layers

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassLayeradd()Createalayer.

InstancesLayergetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.layersLayer.layers

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 859: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 860: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LegacyTextItems Acollectionoflegacytextitems.

SeealsoLegacyTextItem.

QuickLinks convertToNative,getByName

Hierarchy Object

LegacyTextItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesboolconvertToNative()Createtextframesfromalllegacytextitems.Theoriginallegacytextitemswillbedeleted.

LegacyTextItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Page 861: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Elementof Document.legacyTextItemsGroupItem.legacyTextItemsLayer.legacyTextItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 862: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 863: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Lines Acollectionoflines.

QuickLinks getByName

Hierarchy Object

Lines

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesTextRangegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof InsertionPoint.linesStory.linesTextFrameItem.linesTextRange.lines

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 864: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 865: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

MeshItems SeealsoMeshItem.

QuickLinks getByName,removeAll

Hierarchy Object

MeshItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesMeshItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.meshItemsGroupItem.meshItemsLayer.meshItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 866: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 867: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

NonNativeItems SeealsoNonNativeItem.

QuickLinks getByName

Hierarchy Object

NonNativeItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesNonNativeItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof Document.nonNativeItemsGroupItem.nonNativeItemsLayer.nonNativeItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 868: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 869: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PageItems Acollectionofpageitems.

SeealsoPageItem.

QuickLinks getByName

Hierarchy Object

PageItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesPageItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof Document.pageItemsGroupItem.pageItemsLayer.pageItemsVariable.pageItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 870: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 871: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ParagraphStyles Acollectionofparagraphstyles.

SeealsoParagraphStyle.

QuickLinks add,getByName,removeAll

Hierarchy Object

ParagraphStyles

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassParagraphStyleadd(name:string)Createanamedparagraphstyle.Parameter Type Description

name string Theparagraphstylename.

InstancesParagraphStylegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

Page 872: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

name string

voidremoveAll()Deletesallelements.

Elementof Document.paragraphStylesTextRange.paragraphStyles

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 873: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 874: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Paragraphs AcollectionofParagraphs.

QuickLinks add,addBefore,getByName,removeAll

Hierarchy Object

Paragraphs

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassTextRangeadd(contents:string)Createatextartitem.Parameter Type Description

contents string Thetextstring.

TextRangeaddBefore(contents:string)Parameter Type Description

contents string Thetextstring.

InstancesTextRangegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

Page 875: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

name string

voidremoveAll()Deletesallelements.

Elementof InsertionPoint.paragraphsStory.paragraphsTextFrameItem.paragraphsTextRange.paragraphs

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 876: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 877: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PathItems Acollectionofpathitems.

SeealsoPathItem.

QuickLinks add,ellipse,getByName,polygon,rectangle,removeAll,roundedRectangle,star

Hierarchy Object

PathItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassPathItemadd()Createapath.

PathItemellipse([top:number=100][,left:number=100][,width:number=50][,height:number=100][,reversed:bool=false][,inscribed:bool=true])Createanellipticalpathitem.Parameter Type Description

top number Theellipse'sbounds.(default:100)(Optional)

left number Theellipse'sbounds.(default:100)(Optional)

width number Theellipse'sbounds.(default:

Page 878: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

50)(Optional)

height number Theheightoftheellipse.(default:100)(Optional)

reversed bool Istheellipsepathreversed?(default:false)(Optional)

inscribed bool Istheellipsepathinscribed?(default:true)(Optional)

PathItempolygon([centerX:number=200][,centerY:number=300][,radius:number=50][,sides:Int32=8][,reversed:bool=false])Usedtocreatearegularpolygonpathitem.Notforpathitemaccess.Parameter Type Description

centerX number (default:200)(Optional)

centerY number (default:300)(Optional)

radius number Theradiusofthepolygonpoints.(default:50)(Optional)

sides Int32 Thenumberofsidesonthepolygon.(default:8)(Optional)

reversed bool Isthepolygonpathreversed?(default:false)(Optional)

PathItemrectangle(top:number,left:number,width:number,height:number[,reversed:bool=false])Usedtocreatearectangularpathitem.Notforpathitemaccess.Parameter Type Description

top number Thetopcoordinateoftherectangle'sbounds.

left number Theleftcoordinateoftherectangle'sbounds.

Page 879: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

width number Thewidthoftherectangle.

height number Theheightoftherectangle.

reversed bool Istherectanglepathreversed?(default:false)(Optional)

PathItemroundedRectangle(top:number,left:number,width:number,height:number[,horizontalRadius:number=15][,verticalRadius:number=20][,reversed:bool=false])Usedtocreatearounded-cornerrectangularpathitem.Notforpathitemaccess.Parameter Type Description

top number

left number

width number

height number

horizontalRadius number Horizontalcornerradius.(default:15)(Optional)

verticalRadius number Verticalcornerradius.(default:20)(Optional)

reversed bool Istherectanglepathreversed?(default:false)(Optional)

PathItemstar([centerX:number=200][,centerY:number=300][,radius:number=50][,innerRadius:number=20][,points:Int32=5][,reversed:bool=false])Usedtocreateastar-shapedpathitem.Notforpathitemaccess.Parameter Type Description

centerX number (default:200)(Optional)

centerY number (default:300)(Optional)

Page 880: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

radius number Theoutsideradiusofthestarpoints.(default:50)(Optional)

innerRadius number Theinsideradiusofthestarpoints.(default:20)(Optional)

points Int32 Thenumberofpointsonthestar.(default:5)(Optional)

reversed bool Isthestarpathreversed?(default:false)(Optional)

InstancesPathItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof CompoundPathItem.pathItemsDocument.pathItemsGroupItem.pathItemsLayer.pathItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 881: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 882: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PathPoints Acollectionofpathpoints.

SeealsoPathPoint.

QuickLinks add,getByName,removeAll

Hierarchy Object

PathPoints

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassPathPointadd()Createapathpoint.

InstancesPathPointgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof PathItem.pathPointsTextPath.pathPoints

Page 883: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 884: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 885: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Patterns Acollectionofpatterns.

SeealsoPattern.

QuickLinks add,getByName,removeAll

Hierarchy Object

Patterns

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassPatternadd()Createapattern.

InstancesPatterngetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.patterns

Jongware,25-

Page 886: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Nov-2012v3.0.3i Contents::Index

Page 887: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 888: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PlacedItems SeealsoPlacedItem.

QuickLinks add,getByName,removeAll

Hierarchy Object

PlacedItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassPlacedItemadd()Createaplaceditem.

InstancesPlacedItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.placedItemsGroupItem.placedItems

Page 889: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Layer.placedItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 890: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 891: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

PluginItems SeealsoPluginItem.

QuickLinks getByName,removeAll

Hierarchy Object

PluginItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesPluginItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.pluginItemsGroupItem.pluginItemsLayer.pluginItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 892: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 893: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RasterItems SeealsoRasterItem.

QuickLinks getByName,removeAll

Hierarchy Object

RasterItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesRasterItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.rasterItemsGroupItem.rasterItemsLayer.rasterItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 894: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some
Page 895: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 896: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Spots Acollectionofcustomspotcolors.

SeealsoSpot.

QuickLinks add,getByName,removeAll

Hierarchy Object

Spots

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassSpotadd()Createaspotcolor.

InstancesSpotgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.spots

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 897: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 898: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Stories Acollectionofstories.

SeealsoStory.

QuickLinks getByName

Hierarchy Object

Stories

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesStorygetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof Document.stories

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 899: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 900: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SwatchGroups AcollectionofSwatchgroups.

SeealsoSwatchGroup.

QuickLinks add,getByName,removeAll

Hierarchy Object

SwatchGroups

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassSwatchGroupadd()CreateaSwatchgroup.

InstancesSwatchGroupgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Page 901: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Elementof Document.swatchGroups

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 902: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 903: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Swatches Acollectionofswatches.

QuickLinks add,getByName,getSelected,removeAll

Hierarchy Object

Swatches

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassSwatchadd()Createaswatch.

InstancesSwatchgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

ArrayofSwatchgetSelected()Getselectedswatchesinthedocument.

voidremoveAll()Deletesallelements.

Elementof Document.swatches

Page 904: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 905: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 906: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

SymbolItems Acollectionofsymbolitems.

SeealsoSymbolItem.

QuickLinks add,getByName,removeAll

Hierarchy Object

SymbolItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassSymbolItemadd(symbol:Symbol)Aninstanceofasymbolitem.Parameter Type Description

symbol Symbol Thesymboltomakeaninstanceof.

InstancesSymbolItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Page 907: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidremoveAll()Deletesallelements.

Elementof Document.symbolItemsGroupItem.symbolItemsLayer.symbolItems

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 908: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 909: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Symbols Acollectionofsymbols.

SeealsoSymbol.

QuickLinks add,getByName,removeAll

Hierarchy

Properties Property Type Access

length int readonly

parent Object readonly

typename string readonly

Methods ClassSymboladd(sourceArt:PageItem[,registrationPoint:SymbolRegistrationPointCreateasymbol.Parameter Type

sourceArt PageItem

registrationPoint SymbolRegistrationPoint:SymbolRegistrationPoint.SYMBOLTOPLEFTPOINTSymbolRegistrationPoint.SYMBOLTOPMIDDLEPOINTSymbolRegistrationPoint.SYMBOLTOPRIGHTPOINTSymbolRegistrationPoint.SYMBOLMIDDLELEFTPOINTSymbolRegistrationPoint.SYMBOLCENTERPOINTSymbolRegistrationPoint.SYMBOLMIDDLERIGHTPOINTSymbolRegistrationPoint.SYMBOLBOTTOMLEFTPOINTSymbolRegistrationPoint.SYMBOLBOTTOMMIDDLEPOINTSymbolRegistrationPoint.SYMBOLBOTTOMRIGHTPOINT

InstancesSymbolgetByName(name:string)

Page 910: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type

name string

voidremoveAll()Deletesallelements.

Elementof Document.symbols

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 911: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 912: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Tags Thecollectionoftagsassociatedwithapageitem.

SeealsoTag.

QuickLinks add,getByName,removeAll

Hierarchy Object

Tags

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassTagadd()Createatag.

InstancesTaggetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.tagsPageItem.tags

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 913: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 914: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextFonts Acollectionoffonts.

SeealsoTextFont.

QuickLinks getByName

Hierarchy Object

TextFonts

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesTextFontgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof Application.textFonts

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 915: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 916: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextFrameItems Acollectionoftextframeitems.

SeealsoTextFrameItem.

QuickLinks add,areaText,getByName,pathText,pointText

Hierarchy Object

TextFrameItems

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassTextFrameItemadd()Createapointtextframeitem.

TextFrameItemareaText(textPath:PathItemTextOrientation=TextOrientation.HORIZONTAL[,postFix:bool=true])Createanareatextframeitem.Parameter Type

textPath PathItem

orientation TextOrientation:TextOrientation.HORIZONTALTextOrientation.VERTICAL

baseFrame TextFrameItem

Page 917: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

postFix bool

TextFrameItempathText(textPath:PathItemendTValue:number=0.0][,orientation:TextOrientation=TextOrientation.HORIZONTAL[,postFix:bool=true])Createanon-pathtextframeitem.Parameter Type

textPath PathItem

startTValue number

endTValue number

orientation TextOrientation:TextOrientation.HORIZONTALTextOrientation.VERTICAL

baseFrame TextFrameItem

postFix bool

TextFrameItempointText(anchor:Point[,orientationTextOrientation=TextOrientation.HORIZONTALCreateapointtextframeitem.Parameter Type

anchor Point

Page 918: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

orientation TextOrientation:TextOrientation.HORIZONTALTextOrientation.VERTICAL

InstancesTextFrameItemgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type

name string

voidremoveAll()Deletesallelements.

Elementof Document.textFramesGroupItem.textFramesLayer.textFramesStory.textFrames

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 919: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 920: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextRanges Acollectionoftextrangeitems.

SeealsoTextRange.

QuickLinks getByName

Hierarchy Object

TextRanges

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesTextRangegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof InsertionPoint.textRangesStory.textRangesTextFrameItem.textRangesTextRange.textRanges

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 921: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 922: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Variables Acollectionofvariables.

SeealsoVariable.

QuickLinks add,getByName,removeAll

Hierarchy Object

Variables

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassVariableadd()Createavariable.

InstancesVariablegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()Deletesallelements.

Elementof Document.variables

Jongware,25-

Page 923: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Nov-2012v3.0.3i Contents::Index

Page 924: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 925: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Views Acollectionofviews.

SeealsoView.

QuickLinks getByName

Hierarchy Object

Views

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods InstancesViewgetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

Elementof Document.views

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 926: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 927: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Words Acollectionofwords.

QuickLinks add,addBefore,getByName,removeAll

Hierarchy Object

Words

Properties Property Type Access Description

length int readonly Numberofelementsinthecollection.

parent Object readonly Theobject'scontainer.

typename string readonly Theclassnameoftheobject.

Methods ClassTextRangeadd(contents:string)Createaword.Parameter Type Description

contents string Thetextstring.

TextRangeaddBefore(contents:string)Parameter Type Description

contents string Thetextstring.

InstancesTextRangegetByName(name:string)Getthefirstelementinthecollectionwiththeprovidedname.Parameter Type Description

name string

voidremoveAll()

Page 928: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Deletesallelements.

Elementof InsertionPoint.wordsStory.wordsTextFrameItem.wordsTextRange.words

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 929: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 930: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Point Describesapoint.Thisclassisalsoatwo-elementcollection.

Properties Property Type Access Description

left number r/w Theleftcoordinate.

length number readonly Thearraylength.(default:2)

top number r/w Thetopcoordinate.

x number r/w Theleftcoordinate.

y number r/w Thetopcoordinate.

Elementof

Artboard.rulerOriginButton.locationCheckbox.locationDocument.pageOriginDocument.rulerOriginDropDownList.locationEditText.locationFlashPlayer.locationGradientColor.originGroup.locationIconButton.locationListBox.locationPageItem.positionPanel.locationPathPoint.anchorPathPoint.leftDirectionPathPoint.rightDirectionPatternColor.scaleFactorProgressbar.locationRadioButton.locationScriptUIGraphics.currentPointScrollbar.locationSlider.locationStaticText.location

Page 931: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TextFrameItem.anchorTextPath.positionTreeView.locationView.centerPointWindow.frameLocationWindow.location

Usedin: PointDocument.convertCoordinate(coordinate:Point,source:CoordinateSystem,destination:CoordinateSystem)

voidDocument.windowCapture(imageFile:File,windowSize:Point)

TextFrameItemTextFrameItems.pointText(anchor:Point[,orientation:TextOrientation=TextOrientation.HORIZONTAL])

Return PointDocument.convertCoordinate(coordinate:Point,source:CoordinateSystem,destination:CoordinateSystem)

PointScriptUIGraphics.ellipsePath(left:Number,top:Number,width:Number,height:Number)

PointScriptUIGraphics.lineTo(x:Number,y:Number)PointScriptUIGraphics.moveTo(x:Number,y:Number)PointScriptUIGraphics.rectPath(left:Number,top:Number,

width:Number,height:Number)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 932: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 933: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Rectangle Describesarectangle.Thisclassisalsoafour-element

collection.

Properties Property Type Access Description

bottom number r/w Thebottomcoordinate.

height number r/w Theheight.

left number r/w Theleftcoordinate.

length number readonly Thearraylength.(default:4)

right number r/w Therightcoordinate.

top number r/w Thetopcoordinate.

width number r/w Thewidth.

x number r/w Theleftcoordinate.

y number r/w Thetopcoordinate.

Elementof Artboard.artboardRectDocument.cropBoxDocument.geometricBoundsDocument.visibleBoundsPDFSaveOptions.bleedOffsetRectPageItem.controlBoundsPageItem.geometricBoundsPageItem.visibleBoundsPaperInfo.imageableAreaPlacedItem.boundingBoxPrintPageMarksOptions.bleedOffsetRectPrintPageMarksOptions.marksOffsetRectRasterItem.boundingBoxView.bounds

Usedin: ArtboardArtboards.add(artboardRect:Rectangle)

Page 934: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidArtboards.insert(artboardRect:Rectangle,index:Int32)

voidDocument.imageCapture(imageFile:File[,clipBounds:Rectangle][,options:ImageCaptureOptions])

PageItemDocument.rasterize(sourceArt:any[,clipBounds:Rectangle][,options:RasterizeOptions])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 935: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 936: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Bounds Definestheboundariesofawindowwithinthescreen's

coordinatespace,orofaUIelementwithinthecontainer'scoordinatespace.ABoundsobjectiscreatedwhenyousetanelement'sboundsproperty.YoucansetthepropertyusingaJavaScriptobjectwithpropertiesnamedleft,top,right,bottomorx,y,width,height,oranarraywith4valuesintheorder[x,y,wd,ht].

Properties Property Type Access Description

bottom Number r/w Theverticalcoordinate,apixeloffsetfromtheoriginoftheelement'scoordinatespace.

height Number r/w Theheightinpixels.

left Number r/w Thehorizontalcoordinate,apixeloffsetfromtheoriginoftheelement'scoordinatespace.

length Number readonly Thearraylength.(default:4)

right Number r/w Thewidthinpixels.

top Number r/w Theheightinpixels.

width Number r/w Thewidthinpixels.

x Number r/w Thehorizontalcoordinate,apixeloffsetfromtheoriginoftheelement'scoordinatespace.

y Number r/w Theverticalcoordinate,apixeloffsetfromtheoriginoftheelement'scoordinatespace.

Page 937: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Elementof Button.boundsButton.windowBoundsCheckbox.boundsCheckbox.windowBoundsDropDownList.boundsDropDownList.windowBoundsEditText.boundsEditText.windowBoundsFlashPlayer.boundsFlashPlayer.windowBoundsGroup.boundsGroup.windowBoundsIconButton.boundsIconButton.windowBoundsListBox.boundsListBox.windowBoundsPanel.boundsPanel.windowBoundsProgressbar.boundsProgressbar.windowBoundsRadioButton.boundsRadioButton.windowBoundsScrollbar.boundsScrollbar.windowBoundsSlider.boundsSlider.windowBoundsStaticText.boundsStaticText.windowBoundsTreeView.boundsTreeView.windowBoundsWindow.boundsWindow.frameBoundsWindow.windowBounds

Usedin: ObjectGroup.add(type:String[,bounds:Bounds][,text:String][,properties:Object])

ObjectPanel.add(type:String[,bounds:Bounds][,text:String][,properties:Object])

Page 938: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidWindow.Window(type:String[,title:String][,bounds:Bounds][,properties:Object])

ObjectWindow.add(type:String[,bounds:Bounds][,text:String][,properties:Object])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 939: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 940: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Button(SUI) Apushbuttonelementcontainingamouse-sensitivetextstring.

CallstheonClick()callbackifthecontrolisclickedorifitsnotify()methodiscalled.

QuickLinks addEventListener,dispatchEvent,hide,notify,onActivate,onClickonDeactivate,onDraw,onShortcutKey,removeEventListener,show

Hierarchy Object

Button(SUI)

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrensettingfortheparentcontainer.Thiscanbeasingle

Page 941: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

string,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,left,rightfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

characters Number(min:0) r/w Anumberofcharactersforwhichtoreservespacewhencalculatingthe

Page 942: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

preferredsizeoftheelement.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelpstringthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

justify String r/w Thetextjustification

Page 943: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

style.(default:leftOneofleft,centerright.Justificationonlyworksifthisvalueissetoncreationoftheelement.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,

Page 944: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer(propertiesusedonlywhentheelementiscreated).AButtonobjecthasnocreationproperties,butthethirdargumenttotheadd()methodthatcreatesitcanbetheinitialtextvalue.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrentdimensionsofthiselement.

Page 945: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

text String r/w Thetexttodisplay,alocalizablestring.

type String readonly Theelementtype;"button".

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

Page 946: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonClick()Anevent-handlercallbackfunction,calledwhentheelementhasbeenclicked

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesBooleanaddEventListener(eventName:String,handler:FunctioncapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringin

Page 947: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

thiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.(Optional)

BooleanremoveEventListener(eventName:String,handler:

Page 948: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Function[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 949: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 950: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Checkbox(SUI) Adual-statecontrolshowingaboxthathasacheckmarkwhenthe

valueistrue,andisemptywhenthevalueisfalse.CallstheonClick()callbackifthecontrolisclickedorifitsmethodiscalled.

QuickLinks addEventListener,dispatchEvent,hide,notify,onActivateonDeactivate,onDraw,onShortcutKey,removeEventListener

Hierarchy Object

Checkbox(SUI)

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrenfortheparentcontainer.

Page 951: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right•Fororientation=stack:bottom,leftfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

characters Number(min:0) r/w Anumberofcharactersforwhichtoreservespacewhen

Page 952: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

calculatingthepreferredsizeoftheelement.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

Page 953: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

justify String r/w Thedefaulttextjustificationstyleforchildtextelements.(default:leftOneofleftright.Justificationonlyworksifthisvalueissetoncreationoftheelement.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueis

Page 954: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

establishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesoftheitem(propertiesusedonlywhentheelementiscreated).ACheckBoxobjecthasnocreationproperties.Thethirdargumenttothemethodthatcreatesitisthetexttobedisplayed.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrent

Page 955: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

dimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

text String r/w Thetexttodisplay,alocalizablestring.

type String readonly Theelementtype;"checkbox".

value Boolean r/w Theselectionstateofthecontrol.Whentrue,thecontrolisintheselectedorsetstateanddisplaysthecheckmark.Whenfalse,showsanemptybox.

Page 956: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonClick()Anevent-handlercallbackfunction,calledwhentheelementhasbeenclicked.

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.

Page 957: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesBooleanaddEventListener(eventName:String,handler:capturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()

Page 958: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.(Optional)

BooleanremoveEventListener(eventName:String,handlerFunction[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 959: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 960: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Dimension DefinesthesizeofawindoworUIelement.Contains

a2-elementarray.Specifiestheheightandwidthofanelementinpixels.ADimensionobjectiscreatedwhenyousetanelement'ssizeproperty.YoucansetthepropertyusingaJavaScriptobjectwithnamedproperties{width:wd,height:ht},oranarraywith2valuesintheorder[wd,ht].

Properties Property Type Access Description

height Number r/w Theheightinpixels.

length Number readonly Thearraylength.(default:2)

width Number r/w Thewidthinpixels.

Elementof Button.maximumSizeButton.minimumSizeButton.preferredSizeButton.sizeCheckbox.maximumSizeCheckbox.minimumSizeCheckbox.preferredSizeCheckbox.sizeDropDownList.itemSizeDropDownList.maximumSizeDropDownList.minimumSizeDropDownList.preferredSizeDropDownList.sizeEditText.maximumSizeEditText.minimumSizeEditText.preferredSizeEditText.sizeFlashPlayer.maximumSizeFlashPlayer.minimumSize

Page 961: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashPlayer.preferredSizeFlashPlayer.sizeGroup.maximumSizeGroup.minimumSizeGroup.preferredSizeGroup.sizeIconButton.maximumSizeIconButton.minimumSizeIconButton.preferredSizeIconButton.sizeListBox.itemSizeListBox.maximumSizeListBox.minimumSizeListBox.preferredSizeListBox.sizePanel.maximumSizePanel.minimumSizePanel.preferredSizePanel.sizeProgressbar.maximumSizeProgressbar.minimumSizeProgressbar.preferredSizeProgressbar.sizeRadioButton.maximumSizeRadioButton.minimumSizeRadioButton.preferredSizeRadioButton.sizeScriptUIImage.sizeScrollbar.maximumSizeScrollbar.minimumSizeScrollbar.preferredSizeScrollbar.sizeSlider.maximumSizeSlider.minimumSizeSlider.preferredSizeSlider.sizeStaticText.maximumSizeStaticText.minimumSizeStaticText.preferredSize

Page 962: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

StaticText.sizeTreeView.itemSizeTreeView.maximumSizeTreeView.minimumSizeTreeView.preferredSizeTreeView.sizeWindow.frameSizeWindow.maximumSizeWindow.minimumSizeWindow.preferredSizeWindow.size

Return DimensionScriptUIGraphics.measureString(text:String[,font:ScriptUIFont][,boundingWidth:Number])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 963: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 964: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DrawState Describesaninputstateatthetimeofthetriggering

ScriptUIGraphics.onDraw()event.Containspropertiesthatreportwhetherthecurrentcontrolhastheinputfocus,andtheparticularmousebuttonandkeypressstate.PassedinasargumenttoScriptUIGraphics.onDraw().

Properties Property Type Access Description

altKeyPressed Boolean readonly TrueiftheAltkeyisbeingpressed(inWindowsonly).

capsLockKeyPressed Boolean readonly TrueiftheCapsLockkeyisbeingpressed.

cmdKeyPressed Boolean readonly TrueiftheCommandkeyisbeingpressed(inMacOSonly).

ctrlKeyPressed Boolean readonly TrueiftheCtrlkeyisbeingpressed.

hasFocus Boolean readonly Trueiftheelementhastheinputfocus.

Page 965: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

leftButtonPressed Boolean readonly Trueiftheleftmousebuttonisbeingpressed.

middleButtonPressed Boolean readonly Trueifthemiddlemousebuttonisbeingpressed.

mouseOver Boolean readonly Trueifthecursorishoveringoverthiselement.

numLockKeyPressed Boolean readonly TrueiftheNumLockkeyisbeingpressed.

optKeyPressed Boolean readonly TrueiftheOptionkeyisbeingpressed(inMacOSonly).

rightButtonPressed Boolean readonly Trueiftherightmousebuttonisbeingpressed.

shiftKeyPressed Boolean readonly TrueiftheShiftkeyisbeingpressed.

Page 966: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 967: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 968: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

DropDownList Displaysasinglevisibleitem.Whenyouclickthecontrol,alistdrops

downorpopsup,andallowsyoutoselectoneoftheotheritemsinthelist.Drop-downlistscanhavenonselectableseparatoritemsforvisuallyseparatinggroupsofrelateditems,asinamenu.Youcanspecifytheitemsoncreationofthelistobject,orafterwardusingthelistobject'sadd()method.Youcanremoveitemsprogrammaticallywiththelistobject'sremove()andremoveAll()methods.Callsthecallbackiftheitemselectionischangedorifitscalled.

QuickLinks add,addEventListener,dispatchEvent,find,hideonChange,onDeactivate,onDraw,onShortcutKeyremoveAll,removeEventListener,show

Hierarchy Object

DropDownList

Properties Property Type Access

active Boolean r/w

alignment String r/w

Page 969: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

bounds Bounds r/w

Page 970: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

children ArrayofObject readonly

enabled Boolean r/w

graphics ScriptUIGraphics readonly

helpTip String r/w

indent Number(min:0) r/w

itemSize Dimension r/w

Page 971: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

items ArrayofListItem readonly

Page 972: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

location Point r/w

maximumSize Dimension r/w

minimumSize Dimension r/w

parent Object readonly

preferredSize Dimension r/w

Page 973: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

properties Object r/w

selection ListItem r/w

Page 974: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

shortcutKey String r/w

size Dimension r/w

Page 975: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

type String readonly

visible Boolean r/w

window Window(SUI) readonly

windowBounds Bounds readonly

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

Page 976: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidonChange()Anevent-handlercallbackfunction,calledwhenthecontentoftheelementhasbeenchanged

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesListItemadd(type:String[,text:String])Addsanitemorseparatortothechoicesinthislist.Returnstheitemcontrolobjectfortype="item",ornullfortype="separator".Parameter Type Description

type String Thetypeofthechildelement.Eitheritem(abasic,selectableitemwithatextlabel)orseparator

text String Thelocalizabletextlabelfortheitem.(Optional)

BooleanaddEventListener(eventName:StringcapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

Page 977: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

eventName String Thenameoftheevent.EventnamesarelistedintheToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

ListItemfind(text:String)Retrievesanitemobjectfromthelistthathasagiventextlabel.Parameter Type Description

text String Thetextstringtomatch.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChangedefault,simulatestheonChange

Page 978: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

edittextcontrol,anonClickthatsupportthatevent.(Optional)

voidremove(what:Any)Removesachilditemfromthelist.Parameter Type Description

what Any Theitemorchildtoremove,specifiedby0-basedindex,textvalue,orasaListItemobject.

voidremoveAll()Removesallchilditemsfromthelist.

BooleanremoveEventListener(eventName:StringFunction[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 979: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 980: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

EditText Aneditabletextfieldthattheusercanselectandchange.

CallstheonChange()callbackifthetextischangedandtheusertypesEnterorthecontrollosesfocus,orifitsnotify()methodiscalled.CallstheonChanging()callbackwhenanychangeismadetothetext.Thetextselectionpropertycontainscurrentlyselectedtext.

QuickLinks addEventListener,dispatchEvent,hide,notify,onActivate,onChangeonChanging,onDeactivate,onDraw,onShortcutKey,removeEventListenershow

Hierarchy Object

EditText

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrenparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththe

Page 981: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

horizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,left,

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

characters Number(min:0) r/w Anumberofcharactersforwhichtoreservespacewhencalculatingthepreferredsizeoftheelement.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheevent.

Page 982: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

justify String r/w Thetextjustificationstyle.(default:left)Oneofleft,centerJustificationonlyworksifthisvalueissetoncreationoftheelement.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.

Page 983: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer(propertiesusedonlywhentheelementiscreated).CreationpropertiesofanEditTextobjectcaninclude:•multiline:Whenfalse(thedefault),thecontroldisplaysasinglelineoftext.Whentrue,thecontroldisplaysmultiplelines,inwhichcasethetextwrapswithinthewidthofthecontrol.•readonly:Whenfalse(thedefault),thecontrolacceptstextinput.Whentrue,thecontroldoesnotacceptinputbutonlydisplaysthecontentsofthetextproperty.•noecho:Whenfalse(thedefault),thecontroldisplaysinputtext.Whentrue,thecontroldoesnotdisplayinput

Page 984: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

text(usedforpasswordinputfields).•enterKeySignalsOnChangeWhenfalse(thedefault),thecontrolsignalsaneventwhentheeditabletextischangedandthecontrollosesthekeyboardfocus(thatis,theusertabstoanothercontrol,clicksoutsidethecontrol,ortypesEnter).Whentrue,thecontrolonlysignalsanonChange()eventwhentheeditabletextischangedandtheusertypesEnter;otherchangestothekeyboardfocusdonotsignaltheevent.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizesize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settingan

Page 985: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

element'ssizechangesitsboundsproperty,andvice-versa.

text String r/w Thecurrenttextdisplayedinthefield,alocalizablestring.

textselection String r/w Thecurrentlyselectedtext,ortheemptystringifthereisnotextselected.Settingthevaluereplacesthecurrenttextselectionandmodifiesthevalueoftheproperty.Ifthereisnocurrentselection,insertsthenewvalueintothetextstringatthecurrentinsertionpoint.Thetextselectionvalueisresettoanemptystringafteritmodifiesthetextvalue.Notethatsettingthetextselectionpropertybeforetheelement'sparentWindowexistsisanundefinedoperation.

type String readonly Theelementtype;"edittext".

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

Page 986: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonChange()Anevent-handlercallbackfunction,calledwhenthecontentoftheelementhasbeenchangedThehandleriscalledonlywhenthechangeiscomplete–thatis,whenfocusmovestoanothercontrol,ortheusertypesEnter.TheexactbehaviordependsonthecreationparameterenterKeySignalsOnChange;seetheproperty.

voidonChanging()Anevent-handlercallbackfunction,calledwhenthecontentoftheelementisintheprocessofchangingThehandleriscalledforeachkeypresswhilethiscontrolhastheinputfocus.

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'ssequenceistypedintheactivewindow.InWindowsonly.

Page 987: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

InstancesBooleanaddEventListener(eventName:String,handler:FunctioncapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingsimulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.

Page 988: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

(Optional)

BooleanremoveEventListener(eventName:String,handlercapturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 989: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 990: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Environment DefinesattributesoftheScriptUIenvironment.

AccessthroughtheScriptUI.environmentproperty.

Properties Property Type Access Description

keyboardState KeyboardState readonly Anobjectthatreportstheactivestateofthekeyboardatanytime.Providesaccesstothekeystateindependentoftheevent-handlingframework.

Elementof ScriptUI.environment

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 991: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 992: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Event(SUI) BaseclassforUIEvent.

Encapsulatesinputeventinformationforaneventthatpropagatesthroughacontainerandcontrolhierarchy.ImplementsW3Cstandardeventhandling.

QuickLinks preventDefault,stopPropagation

Properties Property Type Access Description

bubbles Boolean readonly Trueiftheeventisofatypethatbubbles.

cancelable Boolean readonly TrueifthedefaultactionassociatedwiththeeventcanbecanceledwithpreventDefault().

captures Boolean readonly Trueifthiseventcanbecaptured.

currentTarget Boolean readonly Theeventtargetobjectwhichiscurrentlyhandlingtheevent.Duringcapturingandbubbling,thisisdifferentfromthepropertytarget.

eventPhase String readonly Thecurrentphaseofeventpropagation;oneofnone,target,capture,bubble.

target Object readonly Theeventtargetobjectforthisevent.

timeStamp Date readonly Thedateandtimeatwhichtheeventoccurred.

Page 993: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

type String readonly Thenameoftheeventthatthisobjectrepresents.EventtypesarelistedintheJavaScriptToolsGuide.

Class Property Type Access Description

AT_TARGET any readonly

BUBBLING_PHASE any readonly

CAPTURING_PHASE any readonly

NOT_DISPATCHING any readonly

Methods InstancesvoidpreventDefault()Preventsthedefaultactionassociatedwiththiseventfrombeingcalled.

voidstopPropagation()Stopsthepropagationofthisevent.

Return EventEvents(SUI).createEvent(eventType:String)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 994: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 995: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Events(SUI) ProvidesaccesstoobjectsusedintheScriptUIeventsystem.

AccessthroughtheScriptUI.eventsproperty.

QuickLinks createEvent

Methods InstancesEventcreateEvent(eventType:String)CreatesaninstanceofthespecifiedEventsubclass.TheEventreturnedisaUIEvent,KeyboardEventorMouseEventobject,dependingontherequestedtype.Thisobjectcanbepassedasaparametertoanelement'sdispatchEventfunctioninordertosimulateauser-interactionevent.Parameter Type Description

eventType String Thenameofaneventtype:oneof"UIEvent","KeyboardEvent",or"MouseEvent".

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 996: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 997: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

FlashPlayer AcontrolthatcontainsaFlashPlayer,whichcanloadandplay

FlashmoviesstoredinSWFfiles.TheScriptUIFlashPlayerelementrunstheFlashapplicationwithinanAdobeapplication.TheFlashapplicationrunsActionScript,adifferentimplementationofJavaScriptfromtheExtendScriptversionofJavaScriptthatAdobeapplicationsrun.AcontrolobjectofthistypecontainsfunctionsthatallowyourscripttoloadSWFfiles,controlmovieplayback,andcommunicatewiththeActionScriptenvironment.

QuickLinks addEventListener,callback,dispatchEvent,hide,invokePlayerFunction,loadMovie,notify,playMovieremoveEventListener,show,stopMovie

Hierarchy Object

FlashPlayer

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalue

Page 998: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

overridesthealignChildrenfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,left,fill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-

Page 999: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

versa.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0)

r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheight

Page 1000: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

andwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer

Page 1001: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

(propertiesusedonlywhentheelementiscreated).AFlashPlayerobjecthasnocreationproperties.

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

type String readonly Theelementtype,"flashplayer".

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildren

Page 1002: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

arealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI)

readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods Eventsvoidcallback()AfunctiondefinitionforacallbackfromtheFlashActionScriptenvironment.TheFlashActionScriptcodecancallanycallbackfunctiondefinedontheExtendScriptsideoftheFlashPlayerobject,invokingitbynameasapropertyofthecontrolobject.Thefunctioncantakeanyargumentsofasupporteddatatypes,andcanreturnanyvalueofasupporteddatatype.datatypes:Number,String,Boolean,null,undefined,Object,Array.

InstancesBooleanaddEventListener(eventName:String,handlerFunction[,capturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunction

Page 1003: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

definedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:falseDefaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

AnyinvokePlayerFunction(name:String[,argumentInvokesanActionScriptfunctiondefinedintheFlashapplication.Returnstheresultoftheinvokedfunction,whichmustbeoneoftheallowedtypes.TheActionScriptclassanddateobjectsarenotsupportedasreturnvalues.Parameter Type Description

name String ThenameofaFlashActionScriptfunctionthathasbeenregisteredwiththeExternalInterfaceobjectbythecurrentlyloadedSWFfile.

argument Any Anargumenttopassthroughtothefunction.Therecanbeanynumberofarguments.Anargumentmustbeoneofthesedata

Page 1004: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

types:Number,String,Boolean,null,undefined,Object,Array.Nootherdatatypesaresupported.(Optional)

voidloadMovie(file:File)LoadsamovieintotheFlashPlayer,andbeginsplayingit.Parameter Type Description

file File TheFileobjectfortheSWFfiletoload.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChanging.Bydefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.(Optional)

voidplayMovie([rewind:Boolean=false])Restartsamoviethathasbeenstopped.Donotuseonamoviethatiscurrentlyplaying.ThestopMovie()-playMovie()sequencedoesnotworkforSWFfilesproducedbyFlex,orforsomefilesproducedbyFlashAuthoring(dependingonhowtheywereimplemented).Parameter Type Description

rewind Boolean Whentrue,restartsthemoviefromthebeginning;otherwise,startsplayingfromthepointwhereitwasstopped.(default:false)

BooleanremoveEventListener(eventName:String,Function[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.

Page 1005: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

voidstopMovie()Haltsplaybackofthecurrentmovie.ThestopMovie()-playMovie()sequencedoesnotworkforSWFfilesproducedbyFlex,orforsomefilesproducedbyFlashAuthoring(dependingonhowtheywereimplemented).UsingstopMovie()fromtheplayer'shostingenvironmenthasnoeffectonanSWFfileplayinginaScriptUIFlashPlayerelement.Itis,however,possibletoproduceanSWFusingFlashAuthoringthatcanstopitselfinresponsetouserinteraction.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1006: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1007: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Group(SUI) Acontainerforothercontrolswithinawindow.

Agroupcanspecifylayoutoptionsforitschildelements.Hidingagrouphidesallitschildren.Makingitvisiblemakesvisiblethosechildrenthatarenotindividuallyhidden.

QuickLinks add,addEventListener,dispatchEvent,hide,onDraw,remove,removeEventListener,show

Hierarchy Object

Group(SUI)

Properties Property Type Access Description

alignChildren String r/w Tellsthelayoutmanagerhowunlike-sizedchildrenofthiscontainershouldbealignedwithinacolumnorrow.Orderofcreationdetermineswhichchildrenareatthetopofacolumnortheleftofarow;theearlierachildiscreated,thecloseritistothetoporleftofitscolumnorrow.Ifdefined,alignmentforachildelementoverridesthealignChildrensettingfortheparentcontainer.See

Page 1008: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

alignmentpropertyforvalues.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrensettingfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,left,rightfill

bounds Bounds r/w Theboundariesoftheelement,inparent-

Page 1009: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orrow

Page 1010: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

orientationandtopalignment.

layout LayoutManager r/w Thelayoutmanagerforthiscontainer.Thefirsttimeacontainerobjectismadevisible,ScriptUIinvokesthislayoutmanagerbycallingitslayout()function.DefaultisaninstanceoftheLayoutManagerclassthatisautomaticallycreatedwhenthecontainerelementiscreated.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

margins Number r/w Thenumberofpixelsbetweentheedgesofacontainerandtheoutermostchildelements.Youcanspecifydifferentmarginsforeachedgeofthecontainer.Thedefaultvalueisbasedonthe

Page 1011: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

typeofcontainer,andischosentomatchthestandardAdobeUIguidelines.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

orientation String r/w Thelayoutorientationofchildreninacontainer.Interpretedbythelayoutmanagerforthecontainer.ThedefaultLayoutManagerObjectacceptsthe(case-insensitive)valuesrow,columnorstack.Forwindowandpanel,thedefaultiscolumn,andforgroupthedefaultisrow.Theallowedvaluesforthecontainer'salignChildrenanditschildren'salignmentpropertiesdependontheorientation.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,

Page 1012: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontrol(propertiesusedonlywhentheelementiscreated).AGroupobjecthasnocreationproperties.

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itis

Page 1013: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

definedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

spacing Number r/w Thenumberofpixelsseparatingonechildelementfromitsadjacentsiblingelement.Becauseeachcontainerholdsonlyasingleroworcolumnofchildren,onlyasinglespacingvalueisneededforacontainer.Thedefaultvalueisbasedonthetypeofcontainer,andischosentomatchstandardAdobeUIguidelines.

type String readonly Theelementtype;"group".

Page 1014: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonDraw()Anevent-handlercallbackfunction,calledwhenthegroupisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

InstancesObjectadd(type:String[,bounds:Bounds][,text:String][,propertiesObject])Addsachildelementtothiscontainer.Createsandreturnsanewcontrolorcontainerobjectandaddsittothechildrenofthisgroup.Parameter Type Description

type String Thetypeofthechildelement,asspecifiedforthetypeproperty.ControltypesarelistedintheJavaScript

Page 1015: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ToolsGuide.

bounds Bounds Aboundsspecificationthatdescribesthesizeandpositionofthenewcontrolorcontainer,relativetoitsparent.Ifsupplied,thisvaluecreatesanewBoundsobjectwhichisassignedtothenewobject'sboundsproperty.(Optional)

text String Thetextorlabel,alocalizablestring.Initialtexttobedisplayedinthecontrolasthetitle,label,orcontents,dependingonthecontroltype.Ifsupplied,thisvalueisassignedtothenewobject'stextproperty.(Optional)

properties Object Anobjectthatcontainsoneormorecreationpropertiesofthenewchild(propertiesusedonlywhentheelementiscreated).Thecreationpropertiesdependontheelementtype.Seepropertyofeachcontroltype.(Optional)

BooleanaddEventListener(eventName:String,handler:FunctioncapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.

Page 1016: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidremove(what:Any)Removesthespecifiedchildcontrolfromthisgroup'schildrenarray.Noerrorresultsifthechilddoesnotexist.Parameter Type Description

what Any Thechildcontroltoremove,specifiedby0-basedindex,textpropertyvalue,orasacontrolobject.

BooleanremoveEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,

Page 1017: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1018: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1019: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

IconButton Amouse-sensitivepushbuttonthatdisplaysanimageinsteadoftext.

CallstheonClick()callbackifthecontrolisclickedorifitsmethodiscalled.

QuickLinks addEventListener,dispatchEvent,hide,notify,onActivateonDeactivate,onDraw,onShortcutKey,removeEventListener

Hierarchy Object

IconButton

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrenfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthe

Page 1020: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

alignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom•Fororientation=column:left,right•Fororientation=stack:bottomfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelement

Page 1021: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

canacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

image ScriptUIImage r/w Theimageobjectthatdefinestheimagetobedrawn.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settingan

Page 1022: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

element'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthe

Page 1023: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

default.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer(propertiesusedonlywhentheelementiscreated).CreationpropertiesofanIconButtonobjectcaninclude:•style:thevisualstyle,either"button",whichhasavisibleborderwitharaisedor3Dappearance,or"toolbutton",whichhasaflatappearance,appropriateforinclusioninatoolbar.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.Ascriptcanexplicitlysetsizebeforethe

Page 1024: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

layoutmanagerisinvokedtoestablishanelementsizeotherthantheorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

type String readonly Theelementtype;"iconbutton".

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()

Page 1025: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonClick()Anevent-handlercallbackfunction,calledwhentheelementhasbeenclicked.

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesBooleanaddEventListener(eventName:String,handlercapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhenthe

Page 1026: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

eventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.(Optional)

BooleanremoveEventListener(eventName:String,handlerFunction[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

Page 1027: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1028: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1029: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

KeyboardState Reportstheactivestateofthekeyboard.

AccessthroughtheScriptUI.environment.keyboardStateproperty.Querythepropertiesofthisobjectatanytimetodeterminethecurrentkeythatisdownandanymodifiersthatarepressed.

Properties Property Type Access Description

altKey Boolean readonly TrueiftheAltorOptionkeyispressed.

ctrlKey Boolean readonly TrueiftheCtrlkeyispressed.

keyName String readonly Astringcontainingthenameofthecurrentlypressedkey,suchas"a",oranemptystring.

metaKey Boolean readonly TrueiftheCmdkey(inMacOS)orWindowskey(inWindows)ispressed.

shiftKey Boolean readonly TrueiftheShiftkeyispressed.

Page 1030: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Elementof Environment.keyboardState

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1031: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1032: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

LayoutManager Controlstheautomaticlayoutbehaviorfor

awindoworcontainer.ThesubclassAutoLayoutManagerimplementsthedefaultautomaticlayoutbehavior.

QuickLinks layout,resize

Methods Instancesvoidlayout()Invokestheautomaticlayoutbehaviorforthemanagedcontainer.Adjustssizesandpositionsofthechildelementsofthiswindoworcontaineraccordingtotheplacementandalignmentpropertyvaluesintheparentandchildren.Invokedautomaticallythefirsttimethewindowisdisplayed.Thereafter,thescriptmustinvokeitexplicitlytochangethelayoutincaseofchangesinthesizeorpositionoftheparentorchildren.

voidresize()PerformsalayoutafteraWindowisresized,basedonthenewsize.Resizesthechildelementsofthemanagedcontainerwithagivenalignmenttype,afterthewindowhasbeenresizedbytheuser.

Elementof Group.layoutPanel.layoutWindow.layout

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1033: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1034: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ListBox(SUI) Displaysalistofchoices,representedbyListItemobjects.

Whenyoucreatetheobject,youspecifywhetheritallowstheusertoselectonlyoneormultipleitems.Ifalistcontainsmoreitemsthancanbedisplayedintheavailablearea,ascrollbarmayappearthatallowstheusertoscrollthroughallthelistitems.Youcanspecifytheitemsoncreationofthelistobject,orafterwardusingthelistobject'sadd()method.Youcanremoveitemsprogrammaticallywiththelistobject'sremove()andremoveAll()methods.Youcancreatealistboxwithmultiplecolumns;inthiscase,eachrowisaselectablechoice,andeachListItemrepresentsonerow.

QuickLinks add,addEventListener,dispatchEvent,find,hide,notify,onActivateonChange,onDeactivate,onDoubleClick,onDraw,onShortcutKeyremove,removeAll,removeEventListener,show

Hierarchy Object

ListBox(SUI)

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

Page 1035: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrensettingfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,left,rightfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement's

Page 1036: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

sizeorlocationchangesitsboundsproperty,andvice-versa.

children ArrayofObject readonly AnarrayofchildListItemelements.

columns Object readonly Foramulti-columnlistbox,thecolumnproperties.AJavaScriptobjectwithtworead-onlypropertieswhosevaluesaresetbythecreationparameters:•titles:Anarrayofcolumntitlestrings,whoselengthmatchesthenumberofcolumnsspecifiedatcreation.•preferredWidthsAnarrayofcolumnwidths,whoselengthmatchesthenumberofcolumnsspecifiedatcreation.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

Page 1037: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

itemSize Dimension r/w Thewidthandheightinpixelsofeachiteminthelist.Usedbyauto-layouttodeterminethepreferredSizeofthelist,ifnototherwisespecified.Ifnotsetexplicitly,thesizeofeachitemissettomatchthelargestheightandwidthamongallitemsinthelist

items ArrayofListItem readonly Thearrayofchoiceitemsdisplayedinthelist.

Page 1038: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Accessthisarraywitha0-basedindex.Toobtainthenumberofitemsinthelist,useitems.length.Theobjectsarecreatedwhenitemsarespecifiedoncreationoftheparentlistobject,orafterwardusingthelistcontrol'sadd()method.Eachitemhasaselectedpropertythatistruewhenitisintheselectedstate.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,

Page 1039: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontrol(propertiesusedonlywhentheelementiscreated).CreationpropertiesofaListBoxobjectcaninclude:•multiselect:Whenfalse(thedefault),onlyoneitemcanbeselected.Whentrue,multipleitemscanbeselected.

Page 1040: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

•items:Anarrayofstringsforthetextofeachlistitem.Anitemobjectiscreatedforeachitem.Anitemwiththetextstring"-"createsaseparatoritem.Supplythisproperty,ortheitemsargumenttotheadd()method,notboth.ThisformismostusefulforelementsdefinedusingResourceSpecifications.•numberOfColumnsAnumberofcolumnsinwhichtodisplaytheitems;defaultis1.Whentherearemultiplecolumns,eachListItemobjectrepresentsaselectablerow.Itstextandimagevaluesspecifythelabelinthefirstcolumn,andthesubitemspropertyspecifiesthelabelsintheadditionalcolumns.•showHeadersTruetodisplaycolumntitles.•columnWidthsarrayofnumbersfor

Page 1041: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

thepreferredwidthinpixelsofeachcolumn.•columnTitlescorrespondingarrayofstringsforthetitleofeachcolumn,tobeshownifshowHeadersistrue.

selection ListItem r/w Thecurrentlyselecteditemforasingle-selectionlist,oranarrayofitemsforcurrentselectioninamulti-selectionlist.Settingthisvaluecausestheselecteditemtobehighlightedandtobescrolledintoviewifnecessary.Ifnoitemsareselected,thevalueisnull.Settonulltodeselectallitems.Youcansetthevalueusingtheindexofanitemoranarrayofindices,ratherthanobjectreferences.Ifsettoanindexvaluethatisoutofrange,theoperationisignored.Whensetwithindexvalues,thepropertystillreturnsobjectreferences.•Ifyousetthevaluetoanarrayforasingle-selectionlist,

Page 1042: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

onlythefirstiteminthearrayisselected.•Ifyousetthevaluetoasingleitemforamulti-selectionlist,thatitemisaddedtothecurrentselection.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

Page 1043: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

type String readonly Theelementtype;"listbox".

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonChange()Anevent-handlercallbackfunction,calledwhenthecontentoftheelementhasbeenchanged

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivecontroltoanothercontrol.

voidonDoubleClick()

Page 1044: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Anevent-handlercallbackfunction,calledwhenaniteminthelistboxisdouble-clickedChecktheselectionpropertytoidentifytheitemthatwasdouble-clicked.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesListItemadd(type:String[,text:String])Addsanitemtothechoicesinthislist.Returnstheitemcontrolobject.Ifthisisamulti-columnlistbox,eachaddedListItemrepresentsoneselectablerow.Itstextandimagevaluesspecifythelabelinthefirstcolumn,andthesubitemspropertyspecifiesthelabelsintheadditionalcolumns.Parameter Type Description

type String Thetypeofthechildelement,thestring"item".

text String Thelocalizabletextlabelfortheitem.(Optional)

BooleanaddEventListener(eventName:String,handler:FunctioncapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

Page 1045: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

ListItemfind(text:String)Retrievesanitemobjectfromthelistthathasagiventextlabel.Parameter Type Description

text String Thetextstringtomatch.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.(Optional)

voidremove(what:Any)

Page 1046: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Removesachilditemfromthelist.Parameter Type Description

what Any Theitemorchildtoremove,specifiedby0-basedindex,textvalue,orasaListItemobject.

voidremoveAll()Removesallchilditemsfromthelist.

BooleanremoveEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1047: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1048: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ListItem Aniteminalistbox,drop-downlist,ortreeview.

Youcanspecifyinitialitemsinthecreationparameterswhencreatingtheparentlist.Createnewitemsusingtheadd()method(ListBox.add(),DropDownList.add(),TreeView.add())intheparentlistwithcontroltype="item",or,forDropDownListcontrols,type="separator".Foramulti-columnlistbox,theobjectrepresentsoneselectablerow.Itstextandimagevaluesspecifythelabelinthefirstcolumn,andthesubitemspropertyspecifiesthelabelsintheadditionalcolumns.

Hierarchy Object

ListItem

Properties Property Type Access Description

checked Boolean r/w Thecheckedstateofaniteminalist.Whentrue,theitemismarkedwiththeplatform-appropriatecheckmark.Whenfalse,nocheckmarkisdrawn,butspaceisreservedforitintheleftmargin,sothattheitemlinesupwithothercheckableitems.Whenundefined,nospaceisreservedforacheckmark.

Page 1049: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

expanded Boolean r/w TheexpansionstateofanitemoftypenodethatisachildofaTreeViewlistcontrol.Whentrue,theitemisintheexpandedstateanditschildrenareshown,whenfalse,itiscollapsedandchildrenarehidden.

image ScriptUIImage r/w Animageobjectforanicontodisplayintheitem.Whenspecified,theimageappropriatetotheselectionsstateisdrawntotheleftofthetextlabel.Iftheparentisamulti-columnlistbox,thisdescribesthelabelinthefirstcolumn.Labelsinadditionalcolumnsaredescribedbythesubitemsproperty.

index Number readonly The0-basedindexofthisitemintheitemscollectionofitsparentlistcontrol.

Page 1050: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

parent Object readonly Theparentelement,alistcontrol.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesoftheitem(propertiesusedonlywhentheelementiscreated).AListItemobjecthasnocreationproperties.

selected Boolean r/w Theselectionstateofthisitem.Whentrue,theitemispartoftheselectionforitsparentlist.Whenfalse,theitemisnotselected.Settotruetoselectthisiteminasingle-selectionlist,ortoaddittotheselectionarrayforamulti-selectionlist.

subItems Array readonly Whentheparentisamulti-columnListBox,thisdescribesthelabelsforthisselectablerowinadditionalcolumns.Aarrayof

Page 1051: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

JavaScriptobjectswhoselengthisonelessthanthenumberofcolumns.Thefirstmemberdescribesthelabelinthesecondcolumn.Eachmemberobjecthastwoproperties,ofwhichyoucanspecifyoneorboth:•text:Adisplaystringforthecorrespondinglabel.•image:AnScriptUIImageobjectforthecorrespondinglabel.

text String r/w Thelabeltexttodisplayfortheitem,alocalizablestring.Iftheparentisamulti-columnlistbox,thisdescribesthelabelinthefirstcolumn.Labelsinadditionalcolumnsaredescribedbythesubitemsproperty.

type String readonly Theelementtype.

Page 1052: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Normally"item",butanitemwhoseparentisaDropDownListcontrolcanhavetype"separator".Aseparatoritemisnotmouse-sensitiveandisdrawnasahorizontallineacrossthedrop-downorpop-upmenu.

Elementof DropDownList.itemsDropDownList.selectionListBox.itemsListBox.selectionTreeView.itemsTreeView.selection

Usedin: voidTreeView.onCollapse(item:ListItem)voidTreeView.onExpand(item:ListItem)

Return ListItemDropDownList.add(type:String[,text:String])ListItemDropDownList.find(text:String)ListItemListBox(SUI).add(type:String[,text:String])ListItemListBox(SUI).find(text:String)ListItemTreeView.add(type:String[,text:String])ListItemTreeView.find(text:String)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1053: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1054: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Panel(SUI) Acontainerforothertypesofcontrols,withanoptionalframe.

Apanelcanspecifylayoutoptionsforitschildelements.Hidingapanelhidesallitschildren.Makingitvisiblemakesvisiblethosechildrenthatarenotindividuallyhidden.

QuickLinks add,addEventListener,dispatchEvent,hide,onDraw,remove,removeEventListener,show

Hierarchy Object

Panel(SUI)

Properties Property Type Access Description

alignChildren String r/w Specifieshowtoalignthechildelements.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrensettingfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependonthe

Page 1055: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

orientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,left,right

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

characters Number(min:0) r/w Reservespaceforthespecifiednumberofcharacters;affectscalculationofpreferredSize.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshavea

Page 1056: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

dimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

justify String r/w Thedefaulttextjustificationstyleforchildtextelements.(default:left)Oneofleft,centerright.Justificationonlyworksifthisvalueissetoncreationoftheelement.

layout LayoutManager r/w Thelayoutmanagerforthiscontainer.Thefirsttimeacontainerobjectismadevisible,ScriptUIinvokesthislayoutmanagerbycallingits

Page 1057: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

layout()function.DefaultisaninstanceoftheLayoutManagerclassthatisautomaticallycreatedwhenthecontainerelementiscreated.

location Point r/w Theupperleftcornerofthiselement'sframerelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

margins Number r/w Thenumberofpixelsbetweentheedgesofacontainerandtheoutermostchildelements.Youcanspecifydifferentmarginsforeachedgeofthecontainer.Thedefaultvalueisbasedonthetypeofcontainer,andischosentomatchthestandardAdobeUIguidelines.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichthe

Page 1058: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

elementcanberesized.

orientation String r/w Thelayoutorientationofchildreninacontainer.Interpretedbythelayoutmanagerforthecontainer.ThedefaultLayoutManageracceptsthe(case-insensitive)valuesrow,column,orstack.Forwindowandpanel,thedefaultiscolumn,andforgroupthedefaultisrow.Theallowedvaluesforthecontainer'salignChildrenanditschildren'salignmentpropertiesdependontheorientation.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUI

Page 1059: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

framework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontrol(propertiesusedonlywhentheelementiscreated).CreationpropertiesofaPanelobjectcaninclude:•borderStyle:Astringthatspecifiestheappearanceoftheborderdrawnaroundthepanel.Oneofblack,etched,grayraised,sunken.Defaultisetched•su1PanelCoordinatesPhotoshoponly.Whentrue,thispanelautomaticallyadjuststhepositionsofitschildrenforcompatabilitywithPhotoshopCS.Defaultisfalse,meaningthatthepaneldoesnotadjustthepositionsofitschildren,evenifthe

Page 1060: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

parentwindowhasautomaticadjustmentenabled.

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

spacing Number r/w Thenumberofpixelsseparatingonechildelementfromitsadjacentsiblingelement.Becauseeachcontainerholdsonlyasingleroworcolumnofchildren,onlyasinglespacingvalueisneededforacontainer.Thedefaultvalueis

Page 1061: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

basedonthetypeofcontainer,andischosentomatchstandardAdobeUIguidelines.

text String r/w Thetitleorlabeltext,alocalizablestring.

type String readonly Theelementtype;"panel".

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonDraw()Anevent-handlercallbackfunction,calledwhenthepanelisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

Page 1062: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

InstancesObjectadd(type:String[,bounds:Bounds][,text:String][,propertiesObject])Addsachildelementtothiscontainer.Createsandreturnsanewcontrolorcontainerobjectandaddsittothechildrenofthisgroup.Parameter Type Description

type String Thetypeofthechildelement,asspecifiedforthetypeproperty.ControltypesarelistedintheJavaScriptToolsGuide.

bounds Bounds Aboundsspecificationthatdescribesthesizeandpositionofthenewcontrolorcontainer,relativetoitsparent.Ifsupplied,thisvaluecreatesanewBoundsobjectwhichisassignedtothenewobject'sboundsproperty.(Optional)

text String Thetextorlabel,alocalizablestring.Initialtexttobedisplayedinthecontrolasthetitle,label,orcontents,dependingonthecontroltype.Ifsupplied,thisvalueisassignedtothenewobject'stextproperty.(Optional)

properties Object Anobjectthatcontainsoneormorecreationpropertiesofthenewchild(propertiesusedonlywhentheelementiscreated).Thecreationpropertiesdependontheelementtype.Seepropertyofeachcontroltype.(Optional)

BooleanaddEventListener(eventName:String,handler:FunctioncapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.

Page 1063: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidremove(what:Any)Removesthespecifiedchildcontrolfromthisgroup'schildrenarray.Noerrorresultsifthechilddoesnotexist.Parameter Type Description

what Any Thechildcontroltoremove,specifiedby0-basedindex,textpropertyvalue,orasacontrolobject.

BooleanremoveEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

Page 1064: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1065: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1066: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Point(SUI) DefinesthelocationofawindoworUIelement.Containsa2-

elementarray.Specifiestheoriginpointofanelementashorizontalandverticalpixeloffsetsfromtheoriginoftheelement'scoordinatespace.APointobjectiscreatedwhenyousetanelement'slocationproperty.YoucansetthepropertyusingaJavaScriptobjectwithpropertiesnamedxandy,oranarraywith2valuesintheorder[x,y].

Properties Property Type Access Description

left Number r/w Theleftcoordinate.

length Number readonly Thearraylength.(default:2)

top Number r/w Thetopcoordinate.

x Number r/w Thehorizontalcoordinate,apixeloffsetfromtheoriginoftheelement'scoordinatespace.

y Number r/w Theverticalcoordinate,apixeloffsetfromtheoriginoftheelement'scoordinatespace.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1067: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1068: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Progressbar Ahorizontalbarwithanindicatorthatshowstheprogressofan

operation.Allprogressbarcontrolshaveahorizontalorientation.Thepropertycontainsthecurrentpositionoftheprogressindicator;thedefaultis0.Thereisaminvalueproperty,butitisalways0;attemptstosetittoadifferentvaluearesilentlyignored.

QuickLinks addEventListener,dispatchEvent,hide,onDraw,removeEventListener,show

Hierarchy Object

Progressbar

Properties Property Type Access Description

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrenfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueof

Page 1069: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

theparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom•Fororientation=column:left,right•Fororientation=stack:bottomfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedto

Page 1070: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

customizetheelement'sappearance,inresponsetotheonDraw()

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

maxvalue Number r/w Themaximumvalueintherange.Defaultis100.

minimumSize Dimension r/w Theminimumheight

Page 1071: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

andwidthtowhichtheelementcanberesized.

minvalue Number r/w Theminimumvalueintherange;always0.Ifsettoadifferentvalue,itisignored.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer

Page 1072: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

(propertiesusedonlywhentheelementiscreated).AProgressBarobjecthasnocreationproperties.Thethirdargumentofthemethodthatcreatesitistheinitialvalue(default0),andthefourthargumentisthemaximumvalueoftherange(default100).

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.Ascriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthantheorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

Page 1073: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

type String readonly Theelementtype,"progessbar".

value Number r/w Thecurrentpositionoftheindicator.Ifsettoavalueoutsidetherangespecifiedby0tomaxvalueautomaticallyresettotheclosestboundary.

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

Page 1074: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

InstancesBooleanaddEventListener(eventName:String,handlercapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

BooleanremoveEventListener(eventName:String,Function[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.

Page 1075: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1076: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1077: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

RadioButton(SUI) Adual-statecontrol,groupedwithotherradiobuttons,ofwhichonly

onecanbeintheselectedstate.Showstheselectedstatewhenvalue=true,emptywhenCallstheonClick()callbackifthecontrolisclickedorifitsmethodiscalled.

QuickLinks addEventListener,dispatchEvent,hide,notify,onActivateonDeactivate,onDraw,onShortcutKey,removeEventListener

Hierarchy Object

RadioButton(SUI)

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButtonwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrenfortheparent

Page 1078: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

container.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom•Fororientation=column:left,•Fororientation=stack:bottomfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

characters Number(min:0) r/w Anumberofcharactersforwhich

Page 1079: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

toreservespacewhencalculatingthepreferredsizeoftheelement.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

Page 1080: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

justify String r/w Thedefaulttextjustificationstyleforchildtextelements.(default:Oneofrightonlyworksifthisvalueissetoncreationoftheelement.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueis

Page 1081: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

establishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer(propertiesusedonlywhentheelementiscreated).ARadioButtonobjecthasnocreationproperties.Thethirdargumentofthemethodthatcreatescanbethelabeltext.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrent

Page 1082: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

dimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.Ascriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthantheorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

text String r/w Thelabeltextforthisbutton,alocalizablestring.

type String readonly Theelementtype;"radiobutton".

value Boolean r/w Theselectionstateofthisbutton,selectedwhentrue.

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildren

Page 1083: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

arealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonClick()Anevent-handlercallbackfunction,calledwhentheelementhasbeenclicked.

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement's

Page 1084: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

shortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesBooleanaddEventListener(eventName:String,handlercapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

Page 1085: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.(Optional)

BooleanremoveEventListener(eventName:StringFunction[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1086: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1087: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUI AglobalclasscontainingcentralinformationaboutScriptUI.Notinstantiable.

QuickLinks getResourceText,newFont,newImage

Class Property Type Access Description

Alignment String readonly Collectstheenumeratedvaluesthatcanbeusedinthealignmentpropertiesofcontrolsandcontainers.Predefinedalignmentvaluesare:TOP,BOTTOM,LEFT,RIGHT,FILL,CENTER

FontStyle Object readonly CollectstheenumeratedvaluesthatcanbeusedasthestyleargumenttotheScriptUI.newFont()PredefinedstylesareREGULAR,BOLD,ITALIC,BOLDITALIC.

applicationFonts Object readonly Thefontconstantsdefinedbythehostapplication.

compatibility Object readonly Anobjectwhosepropertiesarethenamesofcompatabilitymodessupportedbythehostapplication.ThepresenceofScriptUI.compatability.su1PanelCoordinatesmeansthattheapplicationallowsbackwardcompatibilitywiththecoordinatesystemofPanelelementsinScriptUIversion1.

coreVersion String readonly AstringcontainingtheinternalversionnumberoftheScriptUImodule.

environment Environment readonly AnobjectwhosepropertiesdefineattributesoftheenvironmentinwhichScriptUIoperates.

events Events readonly AnobjectwhosepropertiesandmethodsprovideaccesstoobjectsusedintheScriptUIeventsystem.

Page 1088: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Itcontainsonefunction,allowsyoutocreateeventobjectsinordertosimulateuser-interactionevent

frameworkName String readonly AstringcontainingthenameoftheUIcomponentframeworkwithwhichthisversionofScriptUIiscompatible.

version Any readonly AstringcontainingtheversionnumberoftheScriptUIcomponentframework

Methods StringgetResourceText(text:String)Findsandreturnstheresourceforagiventextstringfromthehostapplication'sresourcedata.Ifnostringresourcematchesthegiventext,thetextitselfisreturned.Parameter Type Description

text String Thetexttomatch.

ScriptUIFontnewFont(name:String,style:String|NumberCreatesanewfontobjectforuseintextcontrolsandtitles.Parameter Type Description

name String Thefontname,orthefontfamilyname.

style String|Number

Thefontstyle;canbestring,oroneofthevaluesofScriptUI.FontStyle.

size Number Thefontsizeinpoints.

ScriptUIImagenewImage(normal:String[,disabled:String][,String])Loadsanewimagefromresourcesordiskfilesintoanimageobject.Createsanewglobalimageobjectforuseincontrolsthatcandisplayimages,loadingtheassociatedimagesfromthespecifiedresourcesorimagefiles.Parameter Type Description

normal String Theresourcenameorthediskfilepathtotheimageusedforthenormalstate.

disabled String Theresourcename,orthediskfilepathtotheimageusedforthedisabledstate.(Optional)

Page 1089: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

pressed String Theresourcename,orthefile-systempathtotheimageusedforthepressedstate.(Optional)

rollover String Theresourcename,orthefile-systempathtotheimageusedfortherolloverstate.(Optional)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1090: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1091: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUIBrush Apaintingbrushthatencapsulatesacolororpatternusedtofillpaths.

CreatewithScriptUIGraphics.newBrush().Useasavalueofproperties,andpassasanargumenttothefillPath()

Properties Property Type Access Description

color ArrayofNumber

readonly Thebrushcolor.ThepaintcolortousewhenthetypeisSOLID_COLOR.Anarrayintheform[R,B,G,A]specifyingthered,green,bluevaluesofthecolorandtheopacity(alphachannel)valueasnumbersintherange[0.0..1.0].Anopacityof0isfullytransparent,andanopacityof1isfullyopaque.

theme String readonly Thethemename.ThenameofacolorthemetousefordrawingwhenthetypeisTHEME_COLOR.Themecolorsaredefinedbythehostapplication.

type Number readonly Thebrushtype,solidortheme.Oneoftheseconstants:ScriptUIGraphics.BrushType.SOLID_COLORorScriptUIGraphics.BrushType.THEME_COLOR

Elementof ScriptUIGraphics.backgroundColorScriptUIGraphics.disabledBackgroundColor

Usedin: voidScriptUIGraphics.fillPath(brush:ScriptUIBrush

Return ScriptUIBrushScriptUIGraphics.newBrush(typeNumber|String)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1092: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1093: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUIFont Encapsulatesthequalitiesofafontusedtodrawtextintoa

control.CreatewiththenewFont()method.UsedasavalueofPassedasanargumenttodrawString()andmeasureString()

Properties Property Type Access Description

family String readonly Thefontfamilyname.

name String readonly Thecompletefontname,consistingofthefamilyandstyle,ifspecified.

size Number readonly Thefontpointsize.

style Object readonly Thefontstyle.OneoftheconstantsinScriptUIGraphics.FontStyle

substitute String readonly Thenameofasubstitutionfont,afallbackfonttosubstituteforthisfontiftherequestedfontfamilyorstyleisnotavailable.

Elementof ScriptUIGraphics.font

Usedin: voidScriptUIGraphics.drawString(text:String,penScriptUIPen,x:Number,y:Number[,font:ScriptUIFont])

DimensionScriptUIGraphics.measureString(text:font:ScriptUIFont][,boundingWidth:Number

Return ScriptUIFontScriptUI.newFont(name:String,style|Number,size:Number)

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1094: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1095: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUIGraphics Anobjectusedtodrawcustomgraphics,foundinthe

ofwindow,container,andcontrolobjects.Allowsascripttocustomizeaspectsoftheelement'sappearance,suchasthecolorandfont.UseanonDrawcallbackfunctiontosetthesepropertiesorcallthefunctions.Allmeasurementsareinpixels.

QuickLinks closePath,drawFocusRing,drawImage,drawOSControlellipsePath,fillPath,lineTo,measureStringnewPath,newPen,rectPath,strokePath

Properties Property Type

backgroundColor ScriptUIBrush

currentPath ScriptUIPath

currentPoint Point

disabledBackgroundColor ScriptUIBrush

Page 1096: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

disabledForegroundColor ScriptUIPen

font ScriptUIFont

foregroundColor ScriptUIPen

Class Property Type Access Description

BrushType Object readonly ContainstheenumeratedconstantsforthetypeargumentofTypeconstantsare:SOLID_COLOR,THEME_COLOR.

PenType Object readonly ContainstheenumeratedconstantsforthetypeargumentofTypeconstantsare:SOLID_COLOR,

Page 1097: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

THEME_COLOR.

Methods InstancesvoidclosePath()Closesthecurrentpath.Definesalinefromthecurrentpostion(currentPointofthecurrentpath(thevalueofcurrentPath

voiddrawFocusRing(left:Number,topheight:Number)Drawsafocusringwithinaregionofthiselement.Parameter Type Description

left Number Theleftcoordinateoftheregion.Valueisrelativetotheoriginofthiselement.

top Number Thetopcoordinateoftheregion.Valueisrelativetotheoriginofthiselement.

width Number Thewidthoftheregioninpixels.

height Number Theheightoftheregioninpixels.

voiddrawImage(image:ScriptUIImagewidth:Number][,height:Number])Drawsanimagewithinagivenregionoftheelement.Usestheversionoftheimagethatisappropriatetotheelement'scurrentstate.Parameter Type Description

image ScriptUIImage Theimagetodraw.Thisobjectcontainsdifferentversionsofanimageappropriatetovariouselementstates,suchasadimmedversionforthedisabledstate.

left Number Theleftcoordinateoftheregion,relativetotheoriginofthiselement.

top Number Thetopcoordinateoftheregion,relativetotheoriginofthiselement.

Page 1098: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

width Number Thewidthinpixels.Ifprovided,theimageisstretchedorshrunktofit.Ifomitted,usestheoriginalimagewidth.(Optional)

height Number Theheightinpixels.Ifprovided,theimageisstretchedorshrunktofit.Ifomitted,usestheoriginalimageheight.(Optional)

voiddrawOSControl()Drawtheplatform-specificcontrolassociatedwiththiselement.

voiddrawString(text:String,pen:ScriptUIPenNumber[,font:ScriptUIFont])Drawastringoftextstartingatagivenpointinthiselement,usingagivendrawingpenandfont.Parameter Type Description

text String Thetextstring.

pen ScriptUIPen Thedrawingpentouse.

x Number Theleftcoordinate,relativetotheoriginofthiselement.

y Number Thetopcoordinate,relativetotheoriginofthiselement.

font ScriptUIFont Thefonttouse.Defaultisthethisobject.(Optional)

PointellipsePath(left:Number,top:NumberNumber)DefinesanellipticalpathwithinagivenrectangularareainthecurrentPathobject,whichcanbefilledusingstrokePath().ReturnsaPointobjectfortheupperleftcornerofthearea,whichisthenewcurrentPoint.Parameter Type Description

left Number Theleftcoordinateoftheregion,relativetothe

Page 1099: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

originofthiselement.

top Number Thetopcoordinateoftheregion,relativetotheoriginofthiselement.

width Number Thewidthoftheregioninpixels.

height Number Theheightoftheregioninpixels.

voidfillPath(brush:ScriptUIBrush[,pathFillsapathusingagivenpaintingbrush.Parameter Type Description

brush ScriptUIBrush Thebrushobjectthatdefinesthefillcolor.

path ScriptUIPath Thepathobject.DefaultisthecurrentPath.

PointlineTo(x:Number,y:Number)AddsapathsegmenttothecurrentPath.ThelineisdefinedfromthecurrentPointpoint.ReturnsthePointobjectforthedestinationpoint,whichbecomesthenewvalueofcurrentPoint.Parameter Type Description

x Number TheXcoordinateforthedestinationpoint,relativetotheoriginofthiselement.

y Number TheYcoordinateforthedestinationpoint,relativetotheoriginofthiselement.

DimensionmeasureString(text:String[,boundingWidth:Number])Calculatesthesizeneededtodisplayastringusingthegivenfont.ReturnsaDimensionobjectthatcontainstheheightandwidthofthestringinpixels.Parameter Type Description

text String Thetextstringtomeasure.

font ScriptUIFont Thefonttouse.Defaultisthefont

Page 1100: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

valueinthisobject.

boundingWidth Number Theboundingwidth.(Optional)

PointmoveTo(x:Number,y:Number)AddsagivenpointtothecurrentPath,andmakesitthecurrentdrawingposition.ReturnsthePointobjectwhichisthenewvalueofParameter Type Description

x Number TheXcoordinateforthenewpoint,relativetotheoriginofthiselement.

y Number TheYcoordinateforthenewpoint,relativetotheoriginofthiselement.

ScriptUIBrushnewBrush(type:NumberString)Createsanewpaintingbrushobject.Parameter Type Description

type Number Thebrushtype,solidortheme.OneoftheconstantsScriptUIGraphics.BrushType.SOLID_COLORorScriptUIGraphics.BrushType.THEME_COLOR

color ArrayofNumber|String

Thebrushcolor.

•IftypeisSOLID_COLOR,thecolorexpressedasanarrayofthreeorfourvalues,intheform[R,B,G,A]specifyingthered,green,andbluevaluesofthecolorand,optionally,theopacity(alphachannel).Allvaluesarenumbersintherange[0.0..1.0].Anopacityof0isfullytransparent,andanopacityof1isfullyopaque.•IfthetypeisTHEME_COLOR,thenamestringofthetheme.Themecolorsaredefinedbythehostapplication.

ScriptUIPathnewPath()

Page 1101: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Createsanew,emptypathobject.ReplacesanyexistingpathincurrentPath

ScriptUIPennewPen(type:Number,colorwidth:Number)Createsanewdrawingpenobject.Parameter Type Description

type Number Thepentype,solidortheme.OneoftheconstantsScriptUIGraphics.PenType.SOLID_COLORScriptUIGraphics.PenType.THEME_COLOR

color ArrayofNumber|String

Thepencolor.

•IftypeisSOLID_COLOR,thecolorexpressedasanarrayofthreeorfourvalues,intheform[R,B,G,A]specifyingthered,green,andbluevaluesofthecolorand,optionally,theopacity(alphachannel).Allvaluesarenumbersintherange[0.0..1.0].Anopacityof0isfullytransparent,andanopacityof1isfullyopaque.•IfthetypeisTHEME_COLOR,thenamestringofthetheme.Themecolorsaredefinedbythehostapplication.

width Number Thewidthofthepenlineinpixels.Thelineiscenteredaroundthecurrentpoint.Forexample,ifthevalueis2,drawingalinefrom(0,10)to(5,10)paintsthetworowsofpixelsdirectlyaboveandbelowy-position10.

PointrectPath(left:Number,top:NumberNumber)DefinesarectangularpathinthecurrentPathTherectanglecanbefilledusingfillPath()ReturnsthePointobjectfortheupperleftcorneroftherectangle,whichbecomesthenewvalueofcurrentPoint.Parameter Type Description

left Number Theleftcoordinaterelativetotheoriginofthis

Page 1102: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

element.

top Number Thetopcoordinaterelativetotheoriginofthiselement.

width Number Thewidthinpixels.

height Number Theheightinpixels.

voidstrokePath(pen:ScriptUIPen[,pathStrokesthepathsegmentsofapathwithagivendrawingpen.Parameter Type Description

pen ScriptUIPen Thedrawingpenthatdefinesthecolorandlinewidth.

path ScriptUIPath Thepathobject.DefaultisthecurrentPath.(Optional)

Elementof Button.graphicsCheckbox.graphicsDropDownList.graphicsEditText.graphicsGroup.graphicsIconButton.graphicsListBox.graphicsPanel.graphicsProgressbar.graphicsRadioButton.graphicsScrollbar.graphicsSlider.graphicsStaticText.graphicsTreeView.graphicsWindow.graphics

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1103: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1104: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUIImage Encapsulatesasetofimagesthatcanbedrawn

intoacontrol.Differentimagescanreflectthecurrentstate,suchasadimmedversionforadisabledcontrol.CreatewiththenewImage()method.PassedasanargumenttodrawImage().

Properties Property Type Access Description

format String readonly Theimageformat.Oneof:resource,JPEG,GIF,TIFF,PNG,orPICT(Macintosh).

name String readonly Theimagename.Eitherthefilename,ortheresourcename.

pathname String readonly Thefullpathtothefilethatcontainstheimage.

size Dimension readonly Theimagesizeinpixels.

Elementof IconButton.imageListItem.image

Usedin: voidScriptUIGraphics.drawImage(image:

Page 1105: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUIImage,left:Number,top:Number[,width:Number][,height:Number])

Return ScriptUIImageScriptUI.newImage(normal:String[,disabled:String][,pressed:String][,rollover:String])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1106: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1107: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUIPath Ahelperobjectthatencapsulatesadrawingpath

forafiguretobedrawnintoawindoworcontrol.CreatewiththenewPath(),moveto(),lineto(),rectPath(),andellipsePath()methods.UsedasvalueofcurrentPath,whereitisacteduponbymethodssuchasclosePath().PassasoptionalargumenttofillPath()andstrokePath(),whichotherwiseactuponthecurrentpath.

Elementof ScriptUIGraphics.currentPath

Usedin: voidScriptUIGraphics.fillPath(brush:ScriptUIBrush[,path:ScriptUIPath])

voidScriptUIGraphics.strokePath(pen:ScriptUIPen[,path:ScriptUIPath])

Return ScriptUIPathScriptUIGraphics.newPath()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1108: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1109: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ScriptUIPen Adrawingpenthatdefinesacolorandlinewidthusedtostrokepaths.

CreatewithScriptUIGraphics.newPen().Useasavalueofproperties,andpassasanargumenttodrawString()and

Properties Property Type Access Description

color ArrayofNumber

readonly Thepencolor.ThepaintcolortousewhenthetypeisSOLID_COLOR.Anarrayintheform[R,B,G,A]specifyingthered,green,bluevaluesofthecolorandtheopacity(alphachannel)valueasnumbersintherange[0.0..1.0].Anopacityof0isfullytransparent,andanopacityof1isfullyopaque.

lineWidth Number(min:1)

r/w Thepixelwidthofthedrawingline.

theme String readonly Thethemename.ThenameofacolorthemetousefordrawingwhenthetypeisTHEME_COLOR.Themecolorsaredefinedbythehostapplication.

type String readonly Thepentype,solidortheme.Oneoftheseconstants:ScriptUIGraphics.PenType.SOLID_COLORorScriptUIGraphics.PenType.THEME_COLOR

Elementof ScriptUIGraphics.disabledForegroundColorScriptUIGraphics.foregroundColor

Usedin: voidScriptUIGraphics.drawString(text:String,pen:y:Number[,font:ScriptUIFont])

voidScriptUIGraphics.strokePath(pen:ScriptUIPen

Return ScriptUIPenScriptUIGraphics.newPen(type:NumberNumber|String,width:Number)

Page 1110: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1111: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1112: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Scrollbar Ascrollbarwithadraggablescrollindicatorandstepperbuttonsto

movetheindicator.Thescrollbarcontrolhasahorizontalorientationifthewidthisgreaterthantheheightatcreationtime,orverticalifitsheightisgreaterthanitswidth.CallstheonChange()callbackafterthepositionoftheindicatorischangedorifitsnotify()methodiscalled.CallstheonChanging()callbackrepeatedlywhiletheuserismovingtheindicator.ScrollbarsareoftencreatedwithanassociatedEditTextfieldtodisplaythecurrentvalueofthescrollbar,andtoallowsettingthescrollbar'spositiontoaspecificvalue.

QuickLinks addEventListener,dispatchEvent,hide,notify,onActivate,onChanging,onDeactivate,onDraw,onShortcutKey,removeEventListener,show

Hierarchy Object

Scrollbar

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.If

Page 1113: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

defined,thisvalueoverridesthealignChildrenfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,leftfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsbounds

Page 1114: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

property,andvice-versa.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

jumpdelta Number(min:0) r/w Theamountto

Page 1115: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

incrementordecrementascrollbarindicator'spositionwhentheuserclicksaheadorbehindthemoveableelement.Defaultis20%oftherangebetweenthemaxvalueandminvaluepropertyvalues.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

maxvalue Number r/w Themaximumvalueallowedintheproperty.Togetherwithminvalue,setsthescrollingrange.Defaultis100.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

Page 1116: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

minvalue Number r/w Theminimumvalueallowedintheproperty.Togetherwithmaxvalue,setsthescrollingrange.Defaultis0.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer(propertiesusedonly

Page 1117: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

whentheelementiscreated).AScrollbarobjecthasnocreationproperties.Thethirdargumentofthemethodthatcreatesitistheinitialvalue,andthefourthandfifthargumentsaretheminimumandmaximumvaluesoftherange.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,

Page 1118: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

stepdelta Number(min:0) r/w Theamountbywhichtoincrementordecrementascrollbarelement'spositionwhentheuserclicksastepperbutton.

type String readonly Theelementtype,"scrollbar".

value Number r/w Thecurrentpositionoftheindicator.Ifsettoavalueoutsidetherangespecifiedbyminvalueandmaxvalue,itisautomaticallyresettotheclosestboundary.

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthis

Page 1119: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

elementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonChange()Anevent-handlercallbackfunction,calledwhentheuserhasfinisheddraggingthepositionindicator,orhasclickedthecontrol.

voidonChanging()Anevent-handlercallbackfunction,calledwhenthecontentoftheelementisintheprocessofchangingThehandleriscalledforanymotionofthepositionindicatorwhilethiscontrolhastheinputfocus.

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesBooleanaddEventListener(eventName:String,handler:Function

Page 1120: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

capturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrols

Page 1121: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

thatsupportthatevent.(Optional)

BooleanremoveEventListener(eventName:String,handlerFunction[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1122: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1123: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Slider Asliderbarthatindicatesanumericvaluewithamoveableposition

indicator.Allslidercontrolshaveahorizontalorientation.CallstheonChange()callbackafterthepositionoftheindicatorischangedorifitsnotify()methodiscalled.CallstheonChanging()callbackrepeatedlywhiletheuserismovingtheindicator.Thevaluepropertycontainsthecurrentpositionoftheindicatorwithintherangeofminvaluetomaxvalue.

QuickLinks addEventListener,dispatchEvent,hide,notify,onActivate,onChangeonChanging,onDeactivate,onDraw,onShortcutKey,removeEventListener,show

Hierarchy Object

Slider

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthe

Page 1124: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

alignChildrensettingfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,left,rightfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

Page 1125: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationis

Page 1126: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

definedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

maxvalue Number r/w Themaximumvalueallowedinthevalueproperty.Togetherwithminvalue,setstherange.Defaultis100.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

minvalue Number r/w Theminimumvalueallowedinthevalueproperty.Togetherwithmaxvalue,setstherange.Defaultis0.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUI

Page 1127: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

frameworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer(propertiesusedonlywhentheelementiscreated).ASliderobjecthasnocreationproperties.Thethirdargumentoftheadd()methodthatcreatesitistheinitialvalue,andthefourthandfifthargumentsaretheminimumandmaximumvaluesoftherange.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindows

Page 1128: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

only).

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

type String readonly Theelementtype,"slider".

value Number r/w Thecurrentpositionoftheindicator.Ifsettoavalueoutsidetherangespecifiedbyminvalueandmaxvalue,itisautomaticallyresettotheclosestboundary.

visible Boolean r/w Trueifthiselementis

Page 1129: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

shown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonChange()Anevent-handlercallbackfunction,calledwhentheuserhasfinisheddraggingthepositionindicator,orhasclickedthecontrol.

voidonChanging()Anevent-handlercallbackfunction,calledwhenthecontentoftheelementisintheprocessofchangingThehandleriscalledforanymotionofthepositionindicatorwhilethiscontrolhastheinputfocus.

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviously

Page 1130: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

activecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesBooleanaddEventListener(eventName:String,handler:FunctioncapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()

Page 1131: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.(Optional)

BooleanremoveEventListener(eventName:String,handler:Function[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012 Contents::Index

Page 1132: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

v3.0.3i

Page 1133: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1134: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

StaticText(SUI) Atextlabelthattheusercannotchange.

QuickLinks addEventListener,dispatchEvent,hide,notify,onDraw,onShortcutKey,removeEventListener,show

Hierarchy Object

StaticText(SUI)

Properties Property Type Access Description

active Boolean r/w Alwaysfalse.Thiselementcannothaveinputfocus.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrenfortheparentcontainer.Thiscanbeasinglestring,which

Page 1135: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

indicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right•Fororientation=stack:bottom,leftfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

characters Number(min:0) r/w Anumberofcharactersforwhichtoreservespacewhencalculatingthepreferredsizeofthe

Page 1136: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

element.

children ArrayofObject readonly Anarrayofchildelements.

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

justify String r/w Thetextjustificationstyle.(default:

Page 1137: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Oneofleftright.Justificationonlyworksifthisvalueissetoncreationoftheelement.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuch

Page 1138: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

attributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer(propertiesusedonlywhentheelementiscreated).CreationpropertiesofaStaticTextobjectcaninclude:•multiline:Whenfalse(thedefault),thecontroldisplaysasinglelineoftext.Whentrue,thecontroldisplaysmultiplelines,inwhichcasethetextwrapswithinthewidthofthecontrol.•scrolling:Whenfalse(thedefault),thedisplayedtextcannotbescrolled.Whentrue,thedisplayed

Page 1139: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

textcanbeverticallyscrolledusingtheUpArrowandDownArrow;thiscaseimpliesmultiline=true.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

text String r/w Thetexttodisplay,a

Page 1140: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

localizablestring.

type String readonly Theelementtype,"statictext".

visible Boolean r/w Trueifthiselementisshown,falseifitishidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesBooleanaddEventListener(eventName:String,handler:

Page 1141: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

capturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrols

Page 1142: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

thatsupportthatevent.(Optional)

BooleanremoveEventListener(eventName:String,handlerFunction[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1143: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1144: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

TreeView Ahierarchicallistwhoseitemscancontainchilditems.

TheListItemchildrenofthiscontrol(intheitemsarray)canbeoftypenode,whichmeansthattheycancontainchilditems.Anitemwithchilditemscanexpanded,sothatthechilditemsaredisplayed,orcollapsed,sothatthechilditemsarehiddenIndividualitemscanbeselectedatanylevelofthetree.

QuickLinks add,addEventListener,dispatchEvent,find,hide,notify,onActivateonChange,onCollapse,onDeactivate,onDraw,onExpand,onShortcutKey,remove,removeAll,removeEventListener,

Hierarchy Object

TreeView

Properties Property Type Access Description

active Boolean r/w Trueifthiselementisactive.Anactivecontrolistheonewithkeyboardfocus–thatis,theonethatacceptskeystrokes,orinthecaseofaButton,isselectedwhentheusertypesReturnorEnterinWindows,orthespacebarinMacOS.

alignment String r/w Thealignmentstyleforthiselement.Ifdefined,thisvalueoverridesthealignChildrenfortheparent

Page 1145: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

container.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependontheorientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,•Fororientation=stack:bottom,leftfill

bounds Bounds r/w Theboundariesoftheelement,inparent-relativecoordinates.Settinganelement'ssizeorlocationchangesitsboundsproperty,andvice-versa.

children ArrayofObject readonly Anarrayofchildelements.

Page 1146: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizetheelement'sappearance,inresponsetotheonDraw()event.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelementduringautomaticlayout.Appliesforcolumnorientationandleftalignment,orroworientationandtopalignment.

itemSize Dimension r/w Thewidthandheightinpixelsofeachiteminthelist.Usedbyauto-layouttodeterminethepreferredSize

Page 1147: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

list,ifnototherwisespecified.Ifnotsetexplicitly,thesizeofeachitemissettomatchthelargestheightandwidthamongallitemsinthelist

items ArrayofListItem readonly Thearrayoftop-levelitemsdisplayedinthelist.Accessthisarraywitha0-basedindex.Toobtainthenumberofitemsinthelist,useitems.lengthobjectsarecreatedwhenitemsarespecifiedoncreationoftheparentlistobject,orafterwardusingthelistcontrol'sadd()method.

location Point r/w Theupperleftcornerofthiselementrelativetoitsparent.Thelocationisdefinedas[bounds.x,bounds.y].Settinganelement'slocationchangesitsboundsproperty,andvice-versa.

maximumSize Dimension r/w Themaximumheightandwidthtowhichtheelementcanberesized.

Page 1148: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

minimumSize Dimension r/w Theminimumheightandwidthtowhichtheelementcanberesized.

parent Object readonly Theparentelement.

preferredSize Dimension r/w Thepreferredsize,usedbylayoutmanagerstodeterminethebestsizeforeachelement.Ifnotexplicitlysetbyascript,valueisestablishedbytheUIframeworkinwhichScriptUIisemployed,andisbasedonsuchattributesoftheelementasitstext,font,fontsize,iconsize,andotherUIframework-specificattributes.Ascriptcanexplicitlysetthisvaluebeforethelayoutmanagerisinvokedinordertoestablishanelementsizeotherthanthedefault.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontrol(propertiesusedonlywhentheelementiscreated).CreationpropertiesofaListBoxobjectcan

Page 1149: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

include:•items:Anarrayofstringsforthetextofeachtop-levellistitem.Anitemobjectiscreatedforeachitem.Anitemwiththetextstring"-"createsaseparatoritem.Supplythisproperty,ortheargumenttothemethod,notboth.ThisformismostusefulforelementsdefinedusingResourceSpecifications.

selection ListItem r/w Thecurrentlyselectedlistitem.Settingthisvaluecausestheselecteditemtobehighlightedandtobescrolledintoviewifnecessary.Ifnoitemsareselected,thevalueisnull.Settonulltodeselectallitems.Youcansetthevalueusingtheindexofanitem,ratherthananobjectreference.Ifsettoanindexvaluethatisoutofrange,theoperationisignored.Whensetwithanindexvalue,thepropertystill

Page 1150: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

returnsanobjectreference.

shortcutKey String r/w ThekeysequencethatinvokestheonShortcutKey()callbackforthiselement(inWindowsonly).

size Dimension r/w Thecurrentdimensionsofthiselement.Initiallyundefined,andunlessexplicitlysetbyascript,itisdefinedbyaLayoutManager.AscriptcanexplicitlysetsizebeforethelayoutmanagerisinvokedtoestablishanelementsizeotherthanthepreferredSizeorthedefaultsize,butthisisnotrecommended.Definedas[bounds.width,bounds.height].Settinganelement'ssizechangesitsboundsproperty,andvice-versa.

type String readonly Theelementtype,"treeview".

visible Boolean r/w Trueifthiselementisshown,falseifitis

Page 1151: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

hidden.Whenacontainerishidden,itschildrenarealsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiselementrelativetothetop-levelparentwindow.

Methods EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhentheelementacquiresthekeyboardfocus.Calledwhentheusergivesthecontrolthekeyboardfocusbyclickingitortabbingintoit.

voidonChange()Anevent-handlercallbackfunction,calledwhenthecontentoftheelementhasbeenchanged

voidonCollapse(item:ListItem)Anevent-handlercallbackfunction,calledwhentheusercollapses(closes)anexpandednodeinthetreeview.Parameter Type Description

item ListItem TheListItemnodethatcollapsed.

voidonDeactivate()Anevent-handlercallbackfunction,calledwhentheelementlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviously

Page 1152: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

activecontroltoanothercontrol.

voidonDraw()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobedrawn.Allowsthescripttomodifyorcontroltheappearance,usingthecontrol'sassociatedScriptUIGraphicsobject.Handlertakesoneargument,aDrawStateobject.

voidonExpand(item:ListItem)Anevent-handlercallbackfunction,calledwhentheuserexpands(opens)acollapsednodeinthetreeview.Parameter Type Description

item ListItem TheListItemnodethatexpanded.

voidonShortcutKey()Anevent-handlercallbackfunction,calledwhentheelement'sshortcutKeysequenceistypedintheactivewindow.InWindowsonly.

InstancesListItemadd(type:String[,text:String])Addsanitemtothetop-levelchoicesinthislist.Returnstheitemcontrolobject.Parameter Type Description

type String Thetypeofthechildelement,thestring"item".

text String Thelocalizabletextlabelfortheitem.(Optional)

BooleanaddEventListener(eventName:String,handler:FunctioncapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Parameter Type Description

eventName String Thenameoftheevent.EventnamesarelistedintheJavaScriptToolsGuide.

Page 1153: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.

EventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

ListItemfind(text:String)Retrievesanitemobjectfromthelistthathasagiventextlabel.Parameter Type Description

text String Thetextstringtomatch.

voidhide()Hidesthiselement.

voidnotify([eventName:String])Sendsanotificationmessage,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Thenameofthecontroleventhandlertocall.Oneof:onClick,onChange,onChangingdefault,simulatestheonChangeeventforanedittextcontrol,anonClickeventforcontrolsthatsupportthatevent.(Optional)

voidremove(what:Any)

Page 1154: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Removesachilditemfromthelist.Parameter Type Description

what Any Theitemorchildtoremove,specifiedby0-basedindexinthetop-levelitemlist,textvalue,orasaListItemobject.

voidremoveAll()Removesallchilditemsfromthelist.

BooleanremoveEventListener(eventName:String,handlerFunction[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiselement.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Showsthiselement.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1155: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1156: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

UIEvent Encapsulatesinputeventinformationforaneventthat

propagatesthroughacontainerandcontrolhierarchy.ImplementsW3Cstandardeventhandling.Thisobjectispassedtoafunctionthatyouregistertorespondtoeventsofacertaintypethatoccurinawindoworcontrol.UsewindowObj.addEventListener()orcontrolObj.addEventListener()toregisterahandlerfunction.

QuickLinks UIEvent,initEvent,initUIEvent,preventDefault,stopPropagation

Properties Property Type Access Description

bubbles Boolean readonly Trueiftheeventisofatypethatbubbles.

cancelable Boolean readonly TrueifthedefaultactionassociatedwiththeeventcanbecanceledwithpreventDefault().

captures Boolean readonly Trueifthiseventcanbecaptured.

currentTarget Boolean readonly Theeventtargetobjectwhichiscurrentlyhandlingtheevent.Duringcapturingandbubbling,thisisdifferentfromthepropertytarget.

detail Any readonly Theclickcountforamouse-clickevent.

eventPhase String readonly Thecurrentphaseofeventpropagation;one

Page 1157: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ofnone,target,capture,bubble.

target Object readonly Theeventtargetobjectforthisevent.

timeStamp Date readonly Thedateandtimeatwhichtheeventoccurred.

type String readonly Thenameoftheeventthatthisobjectrepresents.EventtypesarelistedintheJavaScriptToolsGuide.

view Any readonly TheScriptUIelementthatthiseventrelatesto.

Methods ConstructorUIEventUIEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])Createsanevent.TheUIEventobjectisnormallycreatedbyScriptUIandpassedtoyoureventhandler.However,youcansimulateauseractionbyconstructinganeventobjectandsendingittoatargetobject'sdispatchEvent()function.Parameter Type Description

type String Theeventtype.SeeUIEvent.typeproperty.

captures Boolean Settotrueifthiseventcanbecaptured.(default:false)

bubbles Boolean Settotrueiftheeventbubbles.(default:false)

Page 1158: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

view Object TheScriptUIelementthatthiseventrelatesto.(Optional)

detail Number Theclickcountforamouse-clickevent.(Optional)

InstancesvoidinitEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,cancelable:Boolean=false])InitializesaUIeventasacoreW3Cevent.Parameter Type Description

type String Theeventtype.

captures Boolean Settotrueifthiseventcanbecaptured.(default:false)

bubbles Boolean Settotrueiftheeventbubbles.(default:false)

cancelable Boolean Settotrueifthedefaultactioniscancelable.(default:false)

voidinitUIEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])Initializesanevent.Parameter Type Description

type String Theeventtype.

captures Boolean Settotrueifthiseventcanbecaptured.(default:false)

bubbles Boolean Settotrueiftheeventbubbles.(default:false)

view Object TheScriptUIelementthatthiseventrelatesto.(Optional)

detail Number Theclickcountforamouse-clickevent.(Optional)

Page 1159: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

voidpreventDefault()Preventsthedefaultactionassociatedwiththiseventfrombeingcalled.

voidstopPropagation()Stopsthepropagationofthisevent.

Return UIEventUIEvent.UIEvent(type:String[,captures:Boolean=false][,bubbles:Boolean=false][,view:Object][,detail:Number])

UIEventWindow(SUI).dispatchEvent()

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1160: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Class

Page 1161: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Window(SUI) Theinstancerepresentsatop-levelwindowordialogbox,which

containsuser-interfaceelements.ThegloballyavailableWindowobjectprovidesaccesstopredefinedandscript-definedwindows.

QuickLinks Window,add,addEventListener,alert,center,close,confirm,dispatchEvent,find,hide,notify,onActivate,onClose,onDeactivateonMove,onMoving,onResize,onResizing,onShortcutKey,onShowprompt,remove,removeEventListener,show

Hierarchy Object

Window(SUI)

Properties Property Type Access Description

active Boolean r/w Settotruetomakethiswindowactive.

•Amodaldialogthatisvisibleisbydefinitiontheactivedialog.•Anactivepaletteisthefront-mostwindow.•Anactivecontrolistheonewithfocus'thatis,theonethatacceptskeystrokes,orinthecaseofaButtonselectedwhentheusertypesReturnorEnter.

alignChildren String r/w Tellsthelayoutmanagerhowunlike-

Page 1162: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

sizedchildrenofthiscontainershouldbealignedwithinacolumnorrow.Orderofcreationdetermineswhichchildrenareatthetopofacolumnortheleftofarow;theearlierachildiscreated,thecloseritistothetoporleftofitscolumnorrow.Ifdefined,alignmentforachildelementoverridesthealignChildrenfortheparentcontainer.Seealignmentpropertyforvalues.

alignment String r/w Thealignmentstyleforchildelementsofacontainer.Ifdefined,thisvalueoverridesthealignChildrenfortheparentcontainer.Thiscanbeasinglestring,whichindicatesthealignmentfortheorientationspecifiedintheparentcontainer,oranarrayoftwostrings,indicatingboththehorizontalandverticalalignment(inthatorder).Allowedvaluesdependonthe

Page 1163: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

orientationvalueoftheparentcontainer.Theyarenotcasesensitive.•Fororientation=row:bottom,fill•Fororientation=column:left,right,fill•Fororientation=stack:bottom,left,

bounds Bounds r/w Theboundsofthewindow'sdrawablearea,excludingtheframe,inscreencoordinates.

cancelElement Object r/w Forwindowsoftypedialog,theUIelementtonotifywhentheuserpressesacancellationkeycombination.ThecancellationkeyistheEsckey.Bydefault,looksforabuttonwhosenameortextis"cancel"(casedisregarded).

characters Number(min:0) r/w Anumberofcharactersforwhichtoreservespacewhencalculatingthepreferredsizeofthewindow.

children ArrayofObject readonly ThecollectionofUIelementsthathave

Page 1164: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

beenaddedtothiscontainer.Anarrayindexedbynumberorbyastringcontaininganelement'sname.Thelengthpropertyofthisarrayisthenumberofchildelementsforcontainerelements,andiszeroforcontrols.

defaultElement Object r/w Forwindowsoftypedialog,theUIelementtonotifywhentheuserpressesaEnterkey.Bydefault,looksforabuttonwhosenameortextis"ok"(casedisregarded).

enabled Boolean r/w Trueifthiselementisenabled.Anenabledelementcanacceptinput,accordingtoitstype.Whenfalse,controlelementsdonotacceptinput,andalltypesofelementshaveadimmedappearance.

frameBounds Bounds readonly Theboundsofthewindowframeinscreencoordinates.Theframeconsistsofthetitlebarandbordersthatenclosethecontentregionofa

Page 1165: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

window,dependingonthewindowingsystem.

frameLocation Point r/w Thetopleftcornerofthewindowframeinscreencoordinates.Thesameas[frameBounds.x,frameBounds.y].Setthisvaluetomovethewindowframetothespecifiedlocationonthescreen.TheframeBoundschangesaccordingly.

frameSize Dimension readonly Thesizeandlocationofthewindow'sframeinscreencoordinates.

graphics ScriptUIGraphics readonly Thegraphicsobjectthatcanbeusedtocustomizethewindow'sappearance,inresponsetotheonDrawevent.

helpTip String r/w Thehelptextthatisdisplayedwhenthemousehoversovertheelement.

indent Number(min:0) r/w Thenumberofpixelstoindenttheelement.

justify String r/w Thedefaulttextjustificationstyleforchildtextelements.(default:left)Oneofleft,centerright.Justification

Page 1166: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

onlyworksifthisvalueissetoncreationoftheelement.

layout LayoutManager r/w Thelayoutmanagerforthiscontainer.Thefirsttimeacontainerobjectismadevisible,ScriptUIinvokesthislayoutmanagerbycallingitslayout()function.DefaultisaninstanceoftheLayoutManagerclassthatisautomaticallycreatedwhenthecontainerelementiscreated.

location Point r/w Theupperleftcornerofthewindow'sdrawablearea.Thesameas[bounds.x,bounds.y].

margins Number r/w Thenumberofpixelsbetweentheedgesofacontainerandtheoutermostchildelements.Youcanspecifydifferentmarginsforeachedgeofthecontainer.Thedefaultvalueisbasedonthetypeofcontainer,andischosentomatchthestandardAdobeUIguidelines.

Page 1167: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

maximized Boolean r/w Trueifthewindowisexpanded.

maximumSize Dimension r/w Thelargestrectangletowhichthewindowcanberesized.

minimized Boolean r/w Trueifthewindowisminimizedoriconified.

minimumSize Dimension r/w Thesmallestrectangletowhichthewindowcanberesized.

opacity Number r/w Theopacityofthewindow,intherange[0..1].(default:Avalueof1.0(thedefault)makesthewindowcompletelyopaque,avalueof0makesitcompletelytransparent.Intermediatevaluesmakeitpartiallytransparenttoanydegree.

orientation String r/w Thelayoutorientationofchildreninacontainer.Interpretedbythelayoutmanagerforthecontainer.ThedefaultLayoutManageracceptsthe(case-insensitive)valuesrow,column,orstack.Forwindowandpanel,thedefaultis

Page 1168: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

column,andforgroupthedefaultisrow.Theallowedvaluesforthecontainer'salignChildrenchildren'salignmentpropertiesdependontheorientation.

parent Object readonly Theimmediateparentelement.

preferredSize Dimension r/w Thepreferredsizeofthewindow.Usedinautomaticlayoutandresizing.Tosetaspecificvalueforonlyonedimension,specifytheotherdimensionas-1.

properties Object r/w Anobjectthatcontainsoneormorecreationpropertiesofthecontainer(propertiesusedonlywhentheelementiscreated).CreationpropertiesofaWindowobjectcaninclude:•resizeable:Whentrue,thewindowcanberesizedbytheuser.Defaultisfalse.•su1PanelCoordinates:Photoshoponly.Whentrue,thechildpanelsofthiswindowautomaticallyadjustthepositionsoftheir

Page 1169: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

childrenforcompatabilitywithPhotoshopCS(inwhichtheverticalcoordinatewasmeasuredfromoutsidetheframe).Defaultisfalse.Individualpanelscanoverridetheparentwindow'ssetting.•closeButton:Bridgeonly.Whentrue,thetitlebarincludesabuttontoclosethewindow,iftheplatformandwindowtypeallowit.Whenfalse,itdoesnot.Defaultistrue.Notusedfordialogs.•maximizeButton:Bridgeonly.Whentrue,thetitlebarincludesabuttontoexpandthewindowtoitsmaximumsize(typically,theentirescreen),iftheplatformandwindowtypeallowit.Whenfalse,itdoesnot.Defaultisfalsefortypepalette,truefortypewindow.Notusedfordialogs.

shortcutKey String r/w Thekeypresscombinationthatinvokesthiselement'sonShortcutKey()

Page 1170: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

callback.

size Dimension r/w Thecurrentsizeandlocationofthecontentareaofthewindowinscreencoordinates.

spacing Number r/w Thenumberofpixelsseparatingonechildelementfromitsadjacentsiblingelement.Becauseeachcontainerholdsonlyasingleroworcolumnofchildren,onlyasinglespacingvalueisneededforacontainer.Thedefaultvalueisbasedonthetypeofcontainer,andischosentomatchstandardAdobeUIguidelines.

text String r/w Thetitle,label,ordisplayedtext,alocalizeablestring.Doesnotapplytocontainersoftypegroup.

type String readonly Theelementtype;"dialog","palette",or"window".

visible Boolean r/w Whentrue,theelementisshown,whenfalseitishidden.Whenacontainerishidden,itschildrenare

Page 1171: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

alsohidden,buttheyretaintheirownvisibilityvalues,andareshownorhiddenaccordinglywhentheparentisnextshown.

window Window(SUI) readonly Thewindowthatthiselementbelongsto.

windowBounds Bounds readonly Theboundsofthiswindowrelativetothetop-levelparentwindow.

Class Property Type Access Description

frameworkName String readonly Deprecated.UseScriptUI.frameworkNameinstead.

version Any readonly Deprecated.UseScriptUI.versioninstead.

Methods ConstructorWindow(type:String[,title:String][,bounds:Bounds][,propertiesObject])Createsanewwindow.Parameter Type Description

type String Thewindowtype.Oneof:•window:Createsasimplewindowthatcanbeusedasamainwindowforanapplication.(NotsupportedbyPhotoshopCS3.)•palette:Createsamodelessdialog,alsocalledafloatingpalette.(NotsupportedbyPhotoshopCS3.)•dialog:Createsamodaldialog.This

Page 1172: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

argumentcanalsobeaScriptUIresourcespecification;inthatcase,allotherargumentsareignored.

title String Thewindowtitle,alocalizablestring.(Optional)

bounds Bounds Thewindow'spositionandsize.(Optional)

properties Object Anobjectcontainingcreation-onlyproperties.Cancontainanyoftheseproperties:•resizeable:Whentrue,thewindowcanberesizedbytheuser.Defaultisfalse.•su1PanelCoordinates:Photoshoponly.Whentrue,thechildpanelsofthiswindowautomaticallyadjustthepositionsoftheirchildrenforcompatabilitywithPhotoshopCS(inwhichtheverticalcoordinatewasmeasuredfromoutsidetheframe).Defaultisfalse.Individualpanelscanoverridetheparentwindow'ssetting.•:Whentrue,thetitlebarincludesabuttontoclosethewindow,iftheplatformandwindowtypeallowit.Whenfalse,itdoesnot.Defaultistrue.Notusedfordialogs.•maximizeButton:Whentrue,thetitlebarincludesabuttontoexpandthewindowtoitsmaximumsize(typically,theentirescreen),iftheplatformandwindowtypeallowit.Whenfalse,itdoesnot.Defaultisfalsefortypepalette,truefortypewindow.Notusedfordialogs.•minimizeButton:Whentrue,thetitlebarincludesabuttontominimizeoriconifythewindow,iftheplatformandwindowtypeallowit.Whenfalse,itdoesnot.Defaultisfalsefortypepalette,truefortypewindow.MainwindowscannothaveaminimizebuttoninMacOS.Notusedfordialogs.

Page 1173: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

•independent:Whentrue,awindowoftypewindowisindependentofotherapplicationwindows,andcanbehiddenbehindtheminWindows.InMacOS,hasnoeffect.Defaultisfalse.•borderless:Whentrue,thewindowhasnotitlebarorborders.Propertiesthatcontrolthosefeaturesareignored.(Optional)

Classvoidalert(message:String[,title:String][,errorIcon:BooleanDisplaysaplatform-standarddialogcontainingashortmessageandanOKbutton.Parameter Type Description

message String TThestringforthedisplayedmessage.

title String Astringtoappearasthetitleofthedialog,iftheplatformsupportsatitle.IgnoredinMacOS,whichdoesnotsupporttitlesforalertdialogs.Thedefaulttitlestringis"ScriptAlert".(Optional)

errorIcon Boolean Whentrue,theplatform-standardalerticonisreplacedbytheplatform-standarderroriconinthedialog.(default:false)IgnoredinMacOS,whichdoesnotsupporticonsforalertdialogs.

Booleanconfirm(message:String[,noAsDefault:Boolean=falsetitle:String])Displaysaplatform-standarddialogcontainingashortmessageandtwobuttonslabeledYesandNo.ReturnstrueiftheuserclickedYes,falseiftheuserclickedNo.Parameter Type Description

message String Thestringforthedisplayedmessage.

noAsDefault Boolean Whentrue,theNobuttonisthedefaultchoice,selectedwhentheusertypesEnter.

Page 1174: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

(default:false)Defaultisfalse,meaningthatYesisthedefaultchoice.

title String Astringtoappearasthetitleofthedialog,iftheplatformsupportsatitle.IgnoredinMacOS,whichdoesnotsupporttitlesforalertdialogs.Thedefaulttitlestringis"ScriptAlert".(Optional)

Windowfind(type:String,title:String)Usethismethodtofindanexistingwindow.ThisincludeswindowsdefinedbyScriptUIresourcestrings,windowsalreadycreatedbyascript,andwindowscreatedbytheapplication(iftheapplicationsupportsthiscase).Thisfunctionisnotsupportedbyallapplications.ReturnsaWindowobjectfoundorgeneratedfromtheresource,ornullifnosuchwindoworresourceexists.Parameter Type Description

type String ThenameofapredefinedresourceavailabletoJavaScriptinthecurrentapplication;orthewindowtype.Ifatitleisspecified,thetypeisusedifmorethanonewindowwiththattitleisfound.Canbenullortheemptystring.

title String Thewindowtitle.

Stringprompt(prompt:String[,default:String][,title:StringDisplaysamodaldialogthatreturnstheuser'stextinput.ReturnsthevalueofthetexteditfieldiftheuserclickedOK,nulliftheuserclickedCancel.Parameter Type Description

prompt String Thestringforthedisplayedmessage.

default String Theinitialvaluetobedisplayedinthetexteditfield.(Optional)

title String Astringtoappearasthetitleofthedialog.InWindows,thisappearsinthewindow'sframe;

Page 1175: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

inMacOSitappearsabovethemessage.Thedefaulttitlestringis"ScriptPrompt".(Optional)

EventsvoidonActivate()Anevent-handlercallbackfunction,calledwhenthewindowacquiresthekeyboardfocus.Calledwhentheusergivesthewindowthekeyboardfocusbyclickingitorotherwisemakingittheactivewindow.

BooleanonClose()Anevent-handlercallbackfunction,calledwhenthewindowisabouttobeclosed.Calledwhenarequestismadetoclosethewindow,eitherbyanexplicitcalltotheclose()functionorbyauseraction(clickingtheOS-specificcloseiconinthetitlebar).Thefunctioniscalledbeforethewindowactuallycloses;itcanreturnfalsetocancelthecloseoperation.

voidonDeactivate()Anevent-handlercallbackfunction,calledwhenthewindowlosesthekeyboardfocus.Calledwhentheusermovesthekeyboardfocusfromthepreviouslyactivewindowtoanotherwindow.

voidonMove()Anevent-handlercallbackfunction,calledwhenthewindowmoved

voidonMoving()Anevent-handlercallbackfunction,calledwhenthewindowisbeingmovedCalledwhileawindowinbeingmoved,eachtimethepositionchanges.Ahandlercanmonitorthemoveoperation.

voidonResize()Anevent-handlercallbackfunction,calledafterthewindowhasbeenresized

voidonResizing()Anevent-handlercallbackfunction,calledwhileawindowisbeingresizedCalledwhileawindowisbeingresized,eachtimetheheightorwidth

Page 1176: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

changes.Ahandlercanmonitortheresizeoperation.

voidonShortcutKey()InWindowsonly,anevent-handlercallbackfunction,calledashortcut-keysequenceistypedthatmatchestheshortcutKeyvalueforthiswindow.

voidonShow()Anevent-handlercallbackfunction,calledjustbeforethewindowisdisplayedCalledwhenarequestismadetoopenthewindowusingthemethod,beforethewindowismadevisible,butafterautomaticlayoutiscomplete.Ahandlercanmodifytheresultsoftheautomaticlayout.

InstancesObjectadd(type:String[,bounds:Bounds][,text:String][,propertiesObject])Createsandreturnsanewcontrolorcontainerobjectandaddsittothechildrenofthiswindow.Parameter Type Description

type String Thetypeofthechildelement,asspecifiedforthetypeproperty.ControltypesarelistedintheJavaScriptToolsGuide.

bounds Bounds Aboundsspecificationthatdescribesthesizeandpositionofthenewcontrolorcontainer,relativetoitsparent.Ifsupplied,thisvaluecreatesanewBoundsobjectwhichisassignedtothenewobject'sboundsproperty.(Optional)

text String Thetextorlabel,alocalizablestring.Initialtexttobedisplayedinthecontrolasthetitle,label,orcontents,dependingonthecontroltype.Ifsupplied,thisvalueisassignedtothenewobject'stextproperty.(Optional)

properties Object Anobjectthatcontainsoneormorecreationpropertiesofthenewchild(propertiesused

Page 1177: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

onlywhentheelementiscreated).Thecreationpropertiesdependontheelementtype.Seepropertyofeachcontroltype.(Optional)

BooleanaddEventListener(eventName:String,handler:FunctioncapturePhase:Boolean=false])Registersaneventhandlerforaparticulartypeofeventoccuringinthiswindow.Parameter Type Description

eventName String Thenameoftheevent.Predefinedeventnamesare:change,changing,move,moving,resize,resizing,show,enterKey,focus,blur,keydown,keyup,mousedown,mouseup,mousemove,mouseover,mouseout,click(detail=1forsingle,2fordouble).

handler Function Thefunctionthathandlestheevent.Thiscanbethenameofafunctiondefinedintheextension,oralocallydefinedhandlerfunctiontobeexecutedwhentheeventoccurs.Ahandlerfunctiontakesoneargument,theUIEventobject.

capturePhase Boolean Whentrue,thehandleriscalledonlyinthecapturingphaseoftheeventpropagation.(default:false)Defaultisfalse,meaningthatthehandleriscalledinthebubblingphaseifthisobjectisanancestorofthetarget,orintheat-targetphaseifthisobjectisitselfthetarget.(Optional)

voidcenter([window:Window])Centersthiswindowonscreenorwithrepecttoanotherwindow.Parameter Type Description

window Window Therelativewindow.Ifnotspecified,centers

Page 1178: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

(SUI) onthescreen.(Optional)

voidclose([return:Any])Closesthiswindow..IfanonClose()callbackisdefinedforthewindow,callsthatfunctionbeforeclosingthewindow.Parameter Type Description

return Any Anumbertobereturnedfromtheshow()methodthatinvokedthiswindowasamodaldialog.(Optional)

UIEventdispatchEvent()Simulatestheoccurrenceofaneventinthistarget.AscriptcancreateaUIEventobjectforaspecificeventandpassittothismethodtostarttheeventpropagationfortheevent.

voidhide()Hidesthiswindows.Whenawindowishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.•Foramodaldialog,closesthedialogandsetsitsresultto0.

voidnotify([eventName:String])Sendsanotificationmessagetoalllisteners,simulatingthespecifieduserinteractionevent.Parameter Type Description

eventName String Theeventname;ifomitted,thedefaulteventissent.Oneof:onClose,onMove,onMoving,onResize,onResizing,onShow(Optional)

voidremove(what:Any)Removesthespecifiedchildcontrolfromthiswindow'schildrenNoerrorresultsifthechilddoesnotexist.Parameter Type Description

what Any Thechildcontroltoremove,specifiedby0-basedindex,textpropertyvalue,orasacontrolobject.

Page 1179: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

BooleanremoveEventListener(eventName:String,handlerFunction[,capturePhase:Boolean=false])Unregistersaneventhandlerforaparticulartypeofeventoccuringinthiswindow.Allargumentsmustbeidenticaltothosethatwereusedtoregistertheeventhandler.Parameter Type Description

eventName String Thenameoftheevent.

handler Function Thefunctionthathandlestheevent.

capturePhase Boolean Whethertocallthehandleronlyinthecapturingphaseoftheeventpropagation.(default:false)

voidshow()Makesthiswindowvisible.IfanonShow()callbackisdefinedforawindow,callsthatfunctionbeforeshowingthewindow.Whenawindoworcontainerishidden,itschildrenarealsohidden,butwhenitisshownagain,thechildrenretaintheirownvisibilitystates.•Foramodaldialog,opensthedialoganddoesnotreturnuntilthedialogisdismissed.Ifitisdismissedviatheclose()method,thismethodreturnsanyresultvaluepassedtothatmethod.Otherwise,returns0.

Elementof Button.windowCheckbox.windowDropDownList.windowEditText.windowFlashPlayer.windowGroup.windowIconButton.windowListBox.windowPanel.windowProgressbar.windowRadioButton.windowScrollbar.windowSlider.window

Page 1180: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

StaticText.windowTreeView.windowWindow.window

Usedin: voidWindow.center([window:Window])

Jongware,25-Nov-2012v3.0.3i

Contents::Index

Page 1181: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

Enumeration

Page 1182: Adobe Illustrator CS6 Type Library - documentation.help · Adobe's XML files.) So I wrote an XSLT stylesheet to read, parse, split ... installation of InDesign is upgraded with some

ColorType Thecolormodel.

Value Name Description Value

ColorType.CMYK int1

ColorType.GRADIENT int4

ColorType.GRAY int0

ColorType.None int6

ColorType.PATTERN int2

ColorType.RGB int5

ColorType.SPOT int3

Usage

Jongware,25-Nov-2012v3.0.3i

Contents::Index