Properties

Indication of whether to use alternate ligatures. Note Alternate ligatures are the same as Discretionary Ligatures. Please refer to Adobe Photoshop CS2 Help for more information. Read-write. The method of anti aliasing to use. Read-only. The application that the collection belongs to. Read-write. The auto kerning option to use. Read-write. The percentage to use for auto. Default) leading (0.01 - 5000.00 in points). Note Valid only when UseAutoLeading true. See UseAutoLeading....

Methods

Note EventClass defines the class ID of the event four characters or a unique string . For a list of four-character codes, see Appendix A Event ID Codes. Tip Remember to omit the single quotes when including a four-character ID in your code. corresponds to the value you would type in the Descriptive Lable box when adding an event in the Script Events Manager in the Adobe Photoshop CS2 application. For more information on using the Script Events Manager, please refer to Adobe Photoshop CS2 help....

Appendix A: Event ID Codes

The following table lists events and their four-character ID codes or string identifiers for use with the Notifier object. Note Do not include single quotes 1 with four-character IDs in your code. The single quotes are used in this table to illustrate the placement of required spaces in codes that do not contain four letters. However, string identifiers, which are longer than four characters, require double quotes in the code.

Action List

The list of commands that comprise an Action such as an Action created using the Actions palette in the Adobe Photoshop CS2 application . Note The actionList object is part of the Action Manager functionality. For details on using the Action Manager, see 'Action Manager' on page 145. Read-only. The application that the collection belongs to. Read-only. The number of commands that comprise the action. Read-only. The class name of the referenced With the exception of the ciear method, you use the...

Installing Script Listener

The ScriptListener plug-in is located in the Adobe Photoshop CS2 Scripting Guide Utilities folder. gt To install the ScriptListener 1. Select the file ScriptListener.8li and then choose Edit gt Copy. 2. Paste the file copy to the following location Adobe Photoshop CS Plug-Ins Adobe Photoshop Only Automate Note If Adobe Photoshop CS2 is already open, close it and then start it again. gt To uninstall the ScriptListener 2. Verify that a copy of the file ScriptListener.8li still exists in the Adobe...

Running Java Script based Action Manager code from VBScript

You can also access JavaScript-based Action Manager code from a VBScript using the DoJavaScriptFile command. See 'DoJavaScriptFile' on page 18 for more information. gt To execute JavaScript-based Action Manager code from a VBScript 1. Save the following script in a file called C Emboss.jsx function emboss angle, height, amount var id3 2 charIDToTypeID Embs var desc7 new ActionDescriptor var id3 3 charIDToTypeID Angl desc7.putInteger id33, angle var id3 4 charIDToTypeID Hght desc7.putInteger...

Using the Action Manager from a VBS Script

The section demonstrates how to create the ScriptingListenerVB.log log file and use its contents to create your script. The procedures in this section uses the Action Manager to make the Emboss filter available to the scripting interface. By default, the Emboss filter is available only via the Adobe Photoshop CS2 interface. Note ScriptListener must be installed in the Automate folder before you begin the following procedure. See Installing ScriptListener. gt To make the Emboss filter scriptable...

Working with the Properties Tables

The Properties table for an object lists the following The properties you can use with the object The value type for each property When the value type is a constant or another object, the value is a hypertext link to the constant's or object's listing, as in the following Properties table sample. The property's input status Read-only or Read-write. A description that explains what the property is Descriptions are omitted for self-explanatory properties. Read-write. Controls whether or not Adobe...

Changes Since Earlier Versions

The following changes have been made to the VBScript object model and language support in Adobe Photoshop CS2 The emphasis has shifted from Visual Basic to VBScript with this version of Adobe Photoshop CS2. The following classes have been added to the VBScripting interface cameraRawOpenOptions, which you use to specify options when opening a document in Camera Raw format. ExportoptionsSaveForWeb, which you use to optimize documents for the Web. ContactSheetOptions, which you use to create and...

4 Scripting Constants

This section lists and describes the enumerations defined for use with Adobe Photoshop CS2 VBScript properties and methods. Method to use for interpreting selective color adjustment specifications 1 of the existing color amount 2 of the whole. The point on the object that does not move when the object is rotated or resized. Method to use to smooth edges by softening the color transition between edge pixels and background pixels. The type of kerning to use for characters. 2 Save changes and...