Beyond The Basics - Adobe 65024872 - InDesign CS4 - Mac Manual

Scripting guide
Hide thumbs Also See for 65024872 - InDesign CS4 - Mac:
Table of Contents

Advertisement

Adobe InDesign CS4 Scripting Tutorial
myFrame.Move Array(myPageWidth - myGraphicWidth, myTopMargin)
Rem Apply a text wrap to the graphic frame.
myFrame.TextWrapPreferences.TextWrapType =
idTextWrapTypes.idBoundingBoxTextWrap
myFrame.TextWrapPreferences.TextWrapOffset = Array(24, 12, 24, 12)
End If

Beyond the basics

At this point, you know how to create a document, set up master page items, enter text, import text, create
and apply paragraph styles, create and apply object styles, import graphics, fit graphics to frames, and
apply a text wrap. While the document we created is not likely to win any design awards, you have learned
the basics of InDesign scripting. In each example, we created objects, set object properties, and used
object methods.
For your next step in learning about InDesign scripting, see the Adobe InDesign CS4 Scripting Guide. It offers
more advanced tutorials on constructing documents, formatting text, finding and changing text, building
user interfaces, adding menu items, and working with XML and XML rules.
For more information on InDesign scripting, you also can visit the InDesign Scripting User to User forum, at
http://www.adobeforums.com. In the forum, scripters can ask questions, post answers, and share their
newest scripts. The forum contains hundreds of sample scripts.
You also can find more information on InDesign scripting at the InDesign scripting home page,
http://www.adobe.com/products/indesign/scripting/index.html.
Beyond the basics 44

Advertisement

Table of Contents
loading

This manual is also suitable for:

Indesign cs4

Table of Contents