Sign In
Upload
Manuals
Brands
Adobe Manuals
Software
InDesign CS5
Adobe InDesign CS5 Manuals
Manuals and User Guides for Adobe InDesign CS5. We have
1
Adobe InDesign CS5 manual available for free PDF download: Manual
Adobe InDesign CS5 Manual (209 pages)
JAVASCRIPT
Brand:
Adobe
| Category:
Software
| Size: 1 MB
Table of Contents
Table of Contents
3
1 Introduction
9
How to Use the Scripts in this Document
9
About the Structure of the Scripts
9
For more Information
10
Other Javascript Development Options
10
2 Scripting Features
11
Script Preferences
11
Getting the Current Script
12
Script Versioning
12
Targeting
13
Compilation
13
Interpretation
13
Using the Doscript Method
13
Sending Parameters to Doscript
14
Returning Values from Doscript
14
Controlling Undo with Doscript
16
Working with Script Labels
16
Running Scripts at Startup
18
Session and Main Script Execution
18
3 Documents
19
Basic Document Operations
20
Creating a New Document
20
Opening a Document
20
Saving a Document
21
Closing a Document
21
Basic Page Layout
22
Defining Page Size and Document Length
22
Defining Bleed and Slug Areas
23
Setting Page Margins and Columns
24
Changing the Appearance of the Pasteboard
25
Guides and Grids
26
Setting Grid Preferences
27
Changing Measurement Units and Ruler
28
Defining and Applying Document Presets
29
Setting up Master Spreads
31
Adding XMP Metadata
32
Creating a Document Template
33
Creating Watermarks
37
Adjusting Page Sizes and Layout
38
Selecting Pages
38
Resizing and Reframing Pages
39
Transforming Pages
39
Master Page Overlay
40
Printing a Document
41
Printing Using Page Ranges
41
Setting Print Preferences
41
Printing with Printer Presets
44
Exporting a Document as PDF
44
Exporting to PDF
45
Setting PDF Export Options
45
Exporting a Range of Pages to PDF
46
Exporting Individual Pages to PDF
47
Exporting PDF with Interactive Features
48
Exporting Pages as EPS
48
Exporting All Pages to EPS
48
Exporting a Range of Pages to EPS
48
Exporting as EPS with File Naming
49
4 Working with Layers
50
Understanding the Layer Object Model
50
Scripting Layers
51
Creating Layers
51
Referring to Layers
51
Deleting Layers
53
Moving Layers
53
Duplicating Layers
53
Merging Layers
53
Assigning Page Items to Layers
54
Setting Layer Properties
54
5 Working with Page Items
56
Creating Page Items
56
Page-Item Geometry
57
Grouping Page Items
59
Duplicating and Moving Page Items
59
Creating Compound Paths
60
Using Pathfinder Operations
60
Converting Page-Item Shapes
61
Arranging Page Items
62
Transforming Page Items
62
Using the Transform Method
62
Working with Transformation Matrices
63
Coordinate Spaces
65
Transformation Origin
66
Resolving Locations
67
Transforming Points
68
Transforming Again
69
Resize and Reframe
69
6 Text and Type
71
Entering and Importing Text
71
Creating a Text Frame
71
Adding Text
72
Stories and Text Frames
72
Replacing Text
73
Inserting Special Characters
73
Placing Text and Setting Text-Import Preferences
74
Exporting Text and Setting Text-Export Preferences
77
Understanding Text Objects
81
Working with Text Selections
83
Moving and Copying Text
83
Text Objects and Iteration
85
Working with Text Frames
86
Linking Text Frames
86
Unlinking Text Frames
87
Removing a Frame from a Story
87
Splitting All Frames in a Story
89
Creating an Anchored Frame
89
Formatting Text
90
Setting Text Defaults
90
Working with Fonts
93
Applying a Font
94
Changing Text Properties
94
Changing Text Color
97
Creating and Applying Styles
97
Deleting a Style
99
Importing Paragraph and Character Styles
99
Finding and Changing Text
100
About Find/Change Preferences
100
Finding and Changing Text
101
Finding and Changing Text Formatting
101
Using Grep
102
Using Glyph Search
104
Working with Tables
104
Path Text
108
Autocorrect
108
Footnotes
108
Span Columns
109
Setting Text Preferences
109
7 User Interfaces
111
Dialog Overview
111
Your First Indesign Dialog
112
Adding a User Interface to "Hello World
113
Creating a more Complex User Interface
113
Working with Scriptui
116
Creating a Progress Bar with Scriptui
116
8 Events
118
Understanding the Event Scripting Model
118
About Event Properties and Event Propagation
118
Working with Event Listeners
119
Sample Afternew Event Listener
121
Sample Beforeprint Event Listener
122
Sample Selection Event Listeners
123
Sample Onidle Event Listener
124
9 Menus
128
Understanding the Menu Model
128
Localization and Menu Names
130
Running a Menu Action from a Script
131
Adding Menus and Menu Items
131
Menus and Events
132
Working with Scriptmenuactions
133
A more Complex Menu-Scripting Example
134
10 Working with Preflight
140
Exploring Preflight Profiles
140
Listing Preflight Profiles
140
Listing Preflight Rules
141
Listing Preflight Data Objects
141
Importing a Preflight Profile
142
Creating a Preflight Profile
143
Adding Rules
144
Processing a Profile
145
Custom Rules
146
Available Rules
146
Adbe_Blankpages
148
Adbe_Bleedslug
148
Adbe_Bleedtrimhazard
149
Adbe_Colorspace
149
Adbe_Crossreferences
149
Adbe_Fontusage
150
Adbe_Imagecolormanagement
150
Adbe_Imageresolution
150
Adbe_Pagesizeorientation
151
Adbe_Scaledgraphics
151
Adbe_Scaledtype
151
Adbe_Smalltext
152
Adbe_Spotcolorsetup
152
Adbe_Strokerequirements
152
Adbe_Textoverrides
152
Adbe_Transparencyblending
152
11 Creating Dynamic Documents
153
Importing Movies and Sounds
153
Creating Buttons
154
Creating Multistate Objects
156
Working with Animation
158
Basic Animation
158
Timingsettings
158
Animating Transformations
161
Motion Presets
162
Design Options
162
Key Frames
163
Adding Page Transitions
164
12 Xml
165
Overview
165
The Best Approach to Scripting XML in Indesign
165
Scripting XML Elements
166
Setting XML Preferences
166
Setting XML Import Preferences
166
Importing XML
167
Creating an XML Tag
167
Loading XML Tags
168
Saving XML Tags
168
Creating an XML Element
168
Moving an XML Element
168
Deleting an XML Element
168
Duplicating an XML Element
168
Removing Items from the XML Structure
169
Creating an XML Comment
169
Creating an XML Processing Instruction
169
Working with XML Attributes
169
Working with XML Stories
170
Exporting XML
170
Adding XML Elements to a Layout
171
Associating XML Elements with Page Items and Text
171
Marking up Existing Layouts
172
Applying Styles to XML Elements
174
Working with XML Tables
175
13 XML Rules
178
Overview
178
Why Use XML Rules
179
XML-Rules Programming Model
179
Error Handling
184
XML Rules Examples
185
Setting up a Sample Document
185
Getting Started with XML Rules
186
Changing the XML Structure Using XML Rules
190
Duplicating XML Elements with XML Rules
191
XML Rules and XML Attributes
192
Applying Multiple Matching Rules
194
Finding XML Elements
195
Extracting XML Elements with XML Rules
198
Applying Formatting with XML Rules
199
Creating Page Items with XML Rules
202
Creating Tables Using XML Rules
203
Scripting the XML-Rules Processor Object
204
14 Track Changes
206
Tracking Changes
206
Navigating Tracked Changes
206
Accepting and Reject Tracked Changes
207
Information about Tracked Changes
207
Preferences for Tracking Changes
208
Advertisement
Advertisement
Related Products
Adobe InDesign CS4
Adobe InDesign 2.0
Adobe InDesign CS3
Adobe InDesign CS PageMaker Edition
Adobe InDesign CS
Adobe InDesign CS2
Adobe InCopy CS3
Adobe InCopy CS4
ADOBE ILLUSTRATOR 10
ADOBE ILLUSTRATOR CS4
Adobe Categories
Software
Freezer
Plumbing Product
More Adobe Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL