Adobe 65024872 - InDesign CS4 - Mac Manual page 22

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

Advertisement

Adobe InDesign CS4 Scripting Tutorial
Visual
To view the object model using Visual Basic.NET, follow these steps:
Basic.NET
1. Create a new Visual Basic project, then choose Project > Add Reference. Visual Basic displays the Add
Reference dialog box.
2. Select the COM tab.
3. From the list of available references, select Adobe InDesign CS4 Type Library, and click Select. Visual
Basic.NET adds the reference to the Selected Components list. If the library does not appear in the list
of available references, click Browse and locate and select the
usually is in
Data\Adobe\InDesign\Version 6.0\Scripting Support\
Once you find the file, click Open to add the reference to your project:
4. Click OK.
5. Choose View > Object Browser. Visual Basic displays the Object Browser tab.
6. From the list of open libraries in the Objects window, choose interop.indesign. Visual Basic.NET dis-
plays the objects that make up the InDesign object model.
7. Click an object class. Visual Basic.NET displays the properties and methods of the object. For more
information on a property or method, select the item; Visual Basic.NET displays the definition of the
item at the bottom of the Object Browser window:
~:\Documents and Settings\
Scripting and the InDesign object model 22
Resources for Visual .tlb
\Application
(where
file, which
is your user name).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Indesign cs4

Table of Contents