Layer Comp Class; Channel Class; Selection Class; History State Class - Adobe 65014912 Manual

Photoshop cs4 extended
Table of Contents

Advertisement

C
2: Photoshop Scripting Basics
HAPTER
A
Layer Set
can contain other folders, a layer set is recursive. That is, one layer set may call another layer set in the
Object Model hierarchy.
For more information on layers, see

Layer Comp class

The
Layer Comp
document.

Channel class

The
Channel
number of channels available. An RGB image, for example, has four default channels: one for each primary
color and one for editing the entire image. You could have the red channel active in order to manipulate
just the red pixels in the image, or you could choose to manipulate all the channels at once.
These kinds of channels are related to the document mode and are called component channels. In addition
to the component channels, Photoshop lets you to create additional channels. You can create a spot color
channel, a masked area channel, and a selected area channel.
Using the commands or methods of a
can also retrieve a channel's histogram, change its kind or change the current channel selection.
For more information on channels, see

Selection class

The
Selection
active document) that you want to work with. For more information on selections, see
Selection objects" on page

History State class

The
History State
you apply a change to an image, the new state of that image is added to the palette. These states are
accessible from document object and can be used to reset the document to a previous state. A history
state can also be used to fill a selection. For more information on history objects, see
objects" on page
N
: In AppleScript, if you create a document and then immediately try to get history state, Photoshop
OTE
returns an error. You must first activate Photoshop—make it the front-most application—before you can
access history states.

Document Info class

The
Document Info
the content or characteristics of a file. For more information on document info, see
Info object" on page
is a class that comprises multiple layers. Think of it as a folder on your desktop. Since folders
class allows you to create, manage, and view multiple versions of a layout within a single
class is used to store pixel information about an image's color. Image color determines the
class is used to specify an area of pixels in the active document (or in a selected layer of the
42.
class is a palette object that keeps track of changes made to a document. Each time
47.
class stores metadata about a document. Metadata is any data that helps to describe
47.
"Working with layer objects" on page
object, you can create, delete and duplicate channels. You
Channel
"Working with Channel objects" on page
Photoshop Object Model 13
36.
46.
"Working with
"Using history state
"Using the Document

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents