Adobe Photoshop CS3 Scripting Guide
Object Name
Application
Document
Selection
Path Item
Channel
Art Layer
Layer Set
Layer Comp
Document Info
Notifier
Preferences
History State
Photoshop CS3
Description
The Photoshop CS3 application.
The working object, in which you create layers,
channels, actions, and so on. In a script, you name,
open, or save a document as you would a file in the
application.
The selected area of a layer or document.
A drawing object, such as the outline of a shape or a
straight or curved line
Pixel information about an image's color.
A layer class within a document that allows you to
work on one element of an image without affecting
other elements in the image.
A collection of
Art Layer
A snapshot of a state of the layers in a document.
Metadata about a
Document
Note:
Metadata is any data that helps to describe
the content or characteristics of a file, such
filename, creation date and time, author
name, the name of the image stored in the
file, etc.
Notifies a script when an event occurs; the event
then triggers the script to execute. For example,
when a user clicks an OK button, the notifier object
tells the script what to do next.
The application preference settings.
Stores a version of the document in the state the
document was in each time you saved it.
Note:
You can use a
History State
object or to reset the document
Selection
to a previous state.
objects.
object.
object to fill a
Photoshop CS3 Scripting Basics
To create this object without
using a script:
Start the Photoshop CS3
application.
In Photoshop CS3, choose
File > New or File > Open.
Choose the marquee or lasso
tools and drag your mouse.
Choose the path selection or
pen tools and draw a path with
the mouse.
Choose Window > Channels.
Choose Layer > New > Layer
or Window > Layers.
Choose Layer > New >
Layer Set.
Choose Window > Layer
Comp. Then select the New
Layer Comp icon.
Choose File > File Info.
Choose File > Scripts > Script
Events Manager.
Choose Edit > Preferences in
Windows, or
Photoshop > Preferences in
Mac OS.
Choose Window > History,
and then choose a history
state from the History palette.
13
Need help?
Do you have a question about the 23102480 - Photoshop CS3 - PC and is the answer not in the manual?