Adobe 26001360 Scripting Guide - Page 487
Changes Since Earlier Versions, Changes InThe Object Model for Illustrator CS, Macintosh / AppleScript
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 487 highlights
6 Changes Since Earlier Versions Changes InThe Object Model for Illustrator CS Macintosh / AppleScript • Properties and method return types which had been type 'string' are now 'Unicode text'. This should only affect code which formally checks the class of the returned value. Usability should be otherwise unaffected. • A new no color color class has been added which when assigned to a color property such as document or page item fill or stroke sets that attribute to not filled or stroked and the underlying color to "none". It is used in the same way as the other color types. Windows / COM (Visual Basic, et al) Object model changes for COM were more extensive, with the aim to remove some awkward contructs which were part of the initial design as well as to provide functionality such as targeted duplicate and move which already existed in the AppleScript implementation. As a result, some minor changes will be required to user and internal testing scripts. • Scripting Support for Illustrator CS is installed with a new set of guids identifying itself and its related type library and interfaces in the Windows registry. This allows scripting in Illustrator CS to function completely independently of scripting in Illustrator 10. Each has a unique ProgID (program ID) which, when used with the CreateObject() method in Visual Basic, provides for explicit referencing of their product version. • The Illustrator.Color class has been removed. Color object creation and assignment is now accomplished directly using the concrete color classes such as RGBColor, CMYKColor, etc. This significantly simplifies working with color in Illustrator. In addition, a new color class, NoColor, has been added which, when assigned to an item's stroke or fill color denotes no color is applicable. Assigning this will also toggle the item's Stroked or Filled property to false. 487