Working With Documents In Vbscript - Adobe 27510753 - InDesign CS2 - PC Manual

Scripting guide
Hide thumbs Also See for 27510753 - InDesign CS2 - PC:
Table of Contents

Advertisement

Adobe InDesign CS2 Scripting Guide
7

Working with Documents in VBScript

Most of the work that you do in InDesign revolves around documents—creating them, saving them, and
populating them with page items, colors, styles, and text. Documents are also important to InDesign
scripting, and almost every document-related task can be automated using scripting.
This chapter shows you how to:
Do basic document management, including
l
Create a new document
l
Open a document
l
Close a document
l
Save a document
l
Do basic page layout, including
l
Set the page size and document length
l
Define bleed and slug areas
l
Specify page columns and margins
l
Change the pasteboard's appearance
l
Use guides and grids
l
Change measurement units and ruler origin
l
Define and apply document presets
l
Set up master pages (master spreads)
l
Set text-formatting defaults
l
Add XMP metadata (information about a file)
l
Create a document template
l
Print a document
l
Export a document as PDF
l
Export pages of a document as EPS
l
Note:
If you have not already worked through Chapter 3, "Getting Started with InDesign Scripting," you might
want to do so before continuing with this chapter, which assumes that you have already read that chap-
ter and know how to create a script.
Working with Documents in VBScript
143

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Indesign cs2

Table of Contents