Working With Selection Objects - Adobe 23102480 - Photoshop CS3 - PC Programming Manual

Scripting guide
Table of Contents

Advertisement

Adobe Photoshop CS3 Scripting Guide
(psParagraphText/TextType.PARAGRAPHTEXT
property is automatically set to
The
property is set to
To familiarize yourself with this objects, properties, and commands in the scripting references, do the
following:
In the Adobe Photoshop CS3 AppleScript Scripting Reference or in the Photoshop CS3 AppleScript
Dictionary, look up the
In the Adobe Photoshop CS3 Visual Basic Scripting Reference, or in the Visual Basic Object Browser
look up the
use with a text layer, look up the
In the Adobe Photoshop CS3 JavaScript Scripting Reference, or in the ExtendScript Object Model
Viewer, look up the
you can use with a text layer, look up the

Working with Selection Objects

You use a
document or a layer within a document. For example, you can apply effects to a selection or copy the
current selection to the clipboard.
The
Selection
In the Adobe Photoshop CS3 AppleScript Scripting Reference or in the Photoshop CS3 AppleScript
Dictionary, look up the command
object, and the
In the Adobe Photoshop CS3 Visual Basic Scripting Reference, or in the Visual Basic Object Browser, look
up
Selection
Selection
In the Adobe Photoshop CS3 JavaScript Scripting Reference, or in the ExtendScript Object Model Viewer,
look up
Selection
Note:
You cannot create a new
the
(Select/select)
Creating and Defining a Selection
To create a selection, you use the
You define a selection by specifying the coordinates on the screen that describe the selection's corners.
Since your document is a 2-dimensional object, you specify coordinates using the x-and y-axes as follows:
You use the x-axis to specify the horizontal position on the canvas.
You use the y-axis to specify the vertical position on the canvas.
The origin point in Photoshop CS3, that is, x-axis = 0 and y-axis = 0, is the upper left corner of the screen.
The opposite corner, the lower right, is the extreme point of the canvas. For example, if your canvas is 1000
x 1000 pixels, then the coordinate for the lower right corner is x-axis = 1000 and y-axis = 1000.
You specify coordinate points that describe the shape you want to select as an array, which then becomes
the argument or parameter value for the
properties
text-object
paragraph text
text-object
property of the
TextItem
textItem
object to allow your scripts to act only on a specific, selected section of your
Selection
object is a property of the
selection-object
as a property of the
object.
as a property of the
selection
object.
Selection
object contains a pre-existing selection object for the document. Use the
Document
command to specify the area for the selection.
Photoshop CS3
. ) When a new
.
point text
,
, and
height
width
leading
.
properties and methods.
object. To find the properties and methods you can
ArtLayer
object.
TextItem
property of the
ArtLayer
TextItem
object. Look up the following for more information:
Document
. Also, look up the
select
.
object. Also, look up the
Document
object. Also, look up the
Document
object. The property
select/Select/select()
select/Select/select()
Scripting Photoshop CS3
text-object
are valid only when the text item's
object. To find the properties and methods
object.
property of the
selection
as a method of the
Select
select
selection (Selection/selection)
command of the
Selection
command.
41
is created, its
kind
kind
Document
as a method of the
on
select
object.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 23102480 - Photoshop CS3 - PC and is the answer not in the manual?

This manual is also suitable for:

13102498 - photoshop cs3 - macPhotoshop cs3

Table of Contents