»
VBScript Scripting Reference

The active containment object for layers and all other objects in the script the basic canvas for the file. Note In Adobe Photoshop CS2, a document can also be referred to as an image or a canvas. The term image refers to the entire document and its contents. You can trim or crop an image. You resize an image using the ResizeImage() method. The term canvas refers to the space in which the document sits on the screen. You can rotate or flip the canvas. You resize the canvas using the...

The following script presents a progression of images as a PDF slide show. PDFPresentation.vbs ' use all the files in the Samples folder Dim appRef, inputFiles(), i, outputFile, options Set appRef ' get all the files found in this folder Set fsoRef CreateObject( Scripting.FileSystemObject ) Set folderRef fsoRef.GetFolder( appRef.Path &amp Samples ) ReDim inputFiles(folderRef.Files.Count) For Each f in folderRef.Files inputFiles(i) f.Path i i + 1 Next outputFile ' there are defaults but I like...

Indication of whether to save the alpha channels with the file. Read-write. Indication of whether to save comments with the file. Read-only. The application that the collection belongs to. Read-write. Indication of whether to convert the color profile to a destination profile. Read-write. Indication of whether to convert a 16-bit image to 8-bit for better compatibility with other applications. Read-write. Description of the save options to use. Read-write. Description of the final...

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....

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.

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...

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...

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...

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...

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...

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...