EDOBE XDOM TPC Informações Técnicas

Consulte online ou descarregue Informações Técnicas para Software de publicação eletrónica EDOBE XDOM TPC. EDOBE XDOM TPC System information Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - SCRIPTING GUIDE

ADOBE® ILLUSTRATOR® CS5ADOBE ILLUSTRATOR CS5SCRIPTING GUIDE

Página 2

CHAPTER 1: Introduction Executing scripts 10Viewing the VBScript object modelVBScript provides a type library you can use to view Illustrator obje

Página 3 - Contents

CHAPTER 1: Introduction Executing scripts 11Executing scripts from the Other Scripts menu itemThe Other Scripts item at the end of the Scripts men

Página 4 - Contents 4

CHAPTER 1: Introduction Changes in CS5 12For details, see JavaScript Tools Guide.Changes in CS5This section lists changes made to the scripting ob

Página 5 - Contents 5

CHAPTER 1: Introduction Changes in CS5 13ZJavaScript — SymbolRegistrationPoint Z VBScript — AiSymbolRegistrationPoint X A new enumeration for pers

Página 6 - Introduction

CHAPTER 1: Introduction Changes in CS5 14ruler origin of artboard 1 of document 1 name of artboard 1 of document 1Z JavaScriptactiveDocument.artbo

Página 7 - Script file extensions

CHAPTER 1: Introduction Changes in CS5 15ZVBScriptApp.ActiveDocument.ImportPerspectiveGridPreset()App.ActiveDocument.ExportPerspectiveGridPreset()

Página 8 - Viewing the object model

CHAPTER 1: Introduction Known issues 16version: from FXGVersion.VERSION1PT0 to FXGVersion.VERSION2PT0textPolicy: from textPolicy.KEEPTEXTEDITABLE

Página 9

CHAPTER 1: Introduction Known issues 17The ESTK debugger uses BridgeTalk to communicate with Illustrator. A single global, persistent, ExtendScrip

Página 10 - Executing scripts

182The Illustrator Scripting Object ModelA good understanding of the Illustrator object model will improve your scripting abilities. The followin

Página 11

CHAPTER 2: The Illustrator Scripting Object Model Object-naming conventions 19Object-naming conventionsThere is one object model for the Illustrat

Página 12 - Changes in CS5

© 2010 Adobe Systems Incorporated. All rights reserved.Adobe Illustrator CS5 Scripting GuideIf this guide is distributed with software that includes a

Página 13

CHAPTER 2: The Illustrator Scripting Object Model The artwork tree 20DocumentThe document object, which your scripts can create or access through

Página 14

CHAPTER 2: The Illustrator Scripting Object Model The artwork tree 21X mesh item X non native itemX path item X placed item X plugin item X raster

Página 15 - Data class

CHAPTER 2: The Illustrator Scripting Object Model Text objects 22Color objectsYour script can apply a color, pattern or gradient to a path item ob

Página 16 - Known issues

CHAPTER 2: The Illustrator Scripting Object Model Text objects 23To create a specific kind of text frame, use the kind property of the text frames

Página 17

CHAPTER 2: The Illustrator Scripting Object Model Text objects 24Both text frame and story objects have insertion point and text selection propert

Página 18

CHAPTER 2: The Illustrator Scripting Object Model Dynamic objects 25Dynamic objectsBy creating dynamic objects, you can create data-driven graphic

Página 19 - Object-naming conventions

263Scripting IllustratorThis chapter is an overview of how to use scripting objects to program Illustrator CS5. Specific examples for the support

Página 20 - The artwork tree

CHAPTER 3: Scripting Illustrator Working with objects 27XUse the New operator if you added a reference to the Illustrator type library to the proj

Página 21 - Art styles

CHAPTER 3: Scripting Illustrator Working with objects 28The following objects must be created explicitly:The file and folder objects are Adobe Ext

Página 22 - Text objects

CHAPTER 3: Scripting Illustrator Working with objects 29VBScriptTo refer to a path items object in a document:Documents(1).PathItems(1)To refer to

Página 23 - Text geometry

3Contents1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 24 - Text styles

CHAPTER 3: Scripting Illustrator Measurement units 30Measurement unitsIllustrator uses points as the unit of measurement for almost all distances.

Página 25 - Transformations

CHAPTER 3: Scripting Illustrator Page-item positioning and dimensions 31You can see these coordinates in the Info panel when you select or create

Página 26 - Scripting Illustrator

CHAPTER 3: Scripting Illustrator Paths and shapes 32Paths and shapesPaths are represented in the Illustrator DOM by the path item object. Path ite

Página 27 - Working with objects

CHAPTER 3: Scripting Illustrator Printing Illustrator documents 33The four values allow you to control interaction based on the source of the scri

Página 28 - Collection objects

344Scripting with AppleScriptThis chapter uses script examples and explanations to help you to become familiar with Illustrator scripting using A

Página 29 - Selected objects

CHAPTER 4: Scripting with AppleScript Object references 35Adding features to “Hello World”Next, we create a new script that makes changes to the I

Página 30 - Measurement units

CHAPTER 4: Scripting with AppleScript Object references 36each consecutive make command. (Choose Event Log at the bottom of the Script Editor wind

Página 31 - Art item bounds

CHAPTER 4: Scripting with AppleScript Working with text frames 37Depending on what is selected, the selection property value can be an array of an

Página 32 - User-interaction levels

CHAPTER 4: Scripting with AppleScript Creating paths and shapes 38Threaded frames make one story objectThreaded frames make a single story object.

Página 33 - VBScript

CHAPTER 4: Scripting with AppleScript Creating paths and shapes 39-- set stroked to true so we can see the pathset lineRef to make new path item i

Página 34 - Scripting with AppleScript

Contents 43 Scripting Illustrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Página 35 - Object references

CHAPTER 4: Scripting with AppleScript Working with the perspective grid 40Creating a rectangleConsider the following sample:tell application "

Página 36 - Working with selections

CHAPTER 4: Scripting with AppleScript Working with the perspective grid 41Use perspective presetsIllustrator provides default grid-parameter prese

Página 37 - Working with text frames

CHAPTER 4: Scripting with AppleScript Working with the perspective grid 42For a one-point perspective grid, only the left and floor plane are vali

Página 38 - Creating paths and shapes

CHAPTER 4: Scripting with AppleScript Working with the perspective grid 43set starRef to make new star with properties {center point:{135, 135}, r

Página 39 - Write-once access

445Scripting with JavaScriptThis chapter uses script examples and explanations to help you to become familiar with Illustrator scripting using Ja

Página 40 - Creating a polygon

CHAPTER 5: Scripting with JavaScript Working with methods in JavaScript 45Adding features to “Hello World”Next, we create a new script that makes

Página 41 - Set the active plane

CHAPTER 5: Scripting with JavaScript Accessing and referencing objects 46Accessing and referencing objects When you write a script, you must first

Página 42 - Draw on a perspective grid

CHAPTER 5: Scripting with JavaScript Accessing and referencing objects 47The following statements assign the name of the first graphic style in th

Página 43

CHAPTER 5: Scripting with JavaScript Working with text frames 48Working with selectionsWhen the user makes a selection in a document, the selected

Página 44 - Scripting with JavaScript

CHAPTER 5: Scripting with JavaScript Creating paths and shapes 49Threaded frames make a single story objectThreaded frames make a single story obj

Página 45

Contents 5Accessing objects in collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Página 46

CHAPTER 5: Scripting with JavaScript Creating paths and shapes 50//set stroked to true so we can see the pathmyLine.stroked = true;var newPoint =

Página 47

CHAPTER 5: Scripting with JavaScript Working with the perspective grid 51Creating a rectangleConsider the following sample var myDocument = app.do

Página 48

CHAPTER 5: Scripting with JavaScript Working with the perspective grid 52Use perspective presetsIllustrator provides default grid-parameter preset

Página 49

CHAPTER 5: Scripting with JavaScript Working with the perspective grid 53//Set left plane as the active planeapp.activeDocument.setPerspectiveActi

Página 50

CHAPTER 5: Scripting with JavaScript Working with the perspective grid 54Bring objects into perspective If an art object is not in perspective, us

Página 51

556Scripting with VBScriptThis chapter uses script examples and explanations to help you to become familiar with Illustrator scripting using VBSc

Página 52

CHAPTER 6: Scripting with VBScript Accessing and referencing objects 56Adding features to “Hello World”Next, we create a new script that makes cha

Página 53

CHAPTER 6: Scripting with VBScript Accessing and referencing objects 57In the script below, the variable pageItemRef will not necessarily refer to

Página 54

CHAPTER 6: Scripting with VBScript Working with text frames 58Working with text framesTo create a text frame of a specific type in VBScript, use t

Página 55 - Scripting with VBScript

CHAPTER 6: Scripting with VBScript Creating paths and shapes 59Using x-y coordinates limits the path to straight segments. To created a curved pat

Página 56

61IntroductionThis guide describes the scripting interface to Adobe® Illustrator® CS5.If you are new to scripting or want basic information about

Página 57

CHAPTER 6: Scripting with VBScript Creating paths and shapes 60Combining path-point typesThe following script sample creates a path with three poi

Página 58

CHAPTER 6: Scripting with VBScript Working with enumeration values 61Creating a polygonConsider the following sample:Set appRef = CreateObject(&qu

Página 59 - Using path point objects

CHAPTER 6: Scripting with VBScript Working with the perspective grid 62Working with the perspective gridThe Perspective Grid is a new feature in I

Página 60 - Combining path-point types

CHAPTER 6: Scripting with VBScript Working with the perspective grid 63Set docRef = appRef.Documents.Add()Rem Show the Perspective Grid defined in

Página 61

CHAPTER 6: Scripting with VBScript Working with the perspective grid 64call pathItemRect.Resize(200, 200, True, False, False, False, 100, 2)call p

Página 62

CHAPTER 6: Scripting with VBScript Working with the perspective grid 65Rem Bring the star to the floor planeCall pathItemStar.BringInPerspective(1

Página 63

66IndexAactions, about, 6Adobe IllustratorPlug-in Software Development Kit Function Reference, 32aki properties, 30anchor points, 32AppleScriptdi

Página 64

Index 67measurement values, 30methods, using, 45millimeters, conversion, 30Oobject modelchanges in Illustrator CS2, 16diagram, 18text, 22object r

Página 65

Index 68deleting, 25using, 25VBScriptenumeration values, 61file extension, 7naming conventions, 19type library, 10versions of Illustrator, specif

Página 66

CHAPTER 1: Introduction Scripting language support in Adobe Illustrator CS5 7Scripting language support in Adobe Illustrator CS5Illustrator script

Página 67 - Index 67

CHAPTER 1: Introduction Viewing sample scripts 8see the Creative Suite SDK documentation, which is accessible from within the Flash Builder or Ecl

Página 68 - Index 68

CHAPTER 1: Introduction Viewing the object model 9Viewing the JavaScript object modelTo view the JavaScript object model for Illustrator, follow t

Comentários a estes Manuais

Sem comentários