EDOBE XDOM TPC Informacje Techniczne

Przeglądaj online lub pobierz Informacje Techniczne dla Oprogramowanie do publikowania EDOBE XDOM TPC. EDOBE XDOM TPC System information Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - SCRIPTING GUIDE

ADOBE® ILLUSTRATOR® CS5ADOBE ILLUSTRATOR CS5SCRIPTING GUIDE

Strona 2

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

Strona 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

Strona 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

Strona 5 - Contents 5

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

Strona 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

Strona 7 - Script file extensions

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

Strona 8 - Viewing the object model

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

Strona 9

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

Strona 10 - Executing scripts

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

Strona 11

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

Strona 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

Strona 13

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

Strona 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

Strona 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

Strona 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

Strona 17

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

Strona 18

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 23 - Text geometry

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

Strona 24 - Text styles

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

Strona 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

Strona 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

Strona 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

Strona 28 - Collection objects

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

Strona 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

Strona 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

Strona 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

Strona 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.

Strona 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

Strona 34 - Scripting with AppleScript

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

Strona 35 - Object references

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

Strona 36 - Working with selections

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

Strona 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

Strona 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

Strona 39 - Write-once access

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

Strona 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

Strona 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

Strona 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

Strona 43

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

Strona 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

Strona 45

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

Strona 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 =

Strona 47

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

Strona 48

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

Strona 49

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

Strona 50

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

Strona 51

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

Strona 52

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

Strona 53

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

Strona 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

Strona 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

Strona 56

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

Strona 57

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

Strona 58

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

Strona 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

Strona 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

Strona 61

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

Strona 62

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

Strona 63

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

Strona 64

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

Strona 65

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

Strona 66

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

Strona 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

Strona 68 - Index 68

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

Komentarze do niniejszej Instrukcji

Brak uwag