81
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
502
Adobe Photoshop Help
Automating Tasks
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
502
To define variables:
1 In the Layers palette, select a layer for which you want to define variables.
Note: You cannot define variables for the Background layer.
2 Choose Image > Variables > Define, or choose Variables from the Layers palette menu.
3 Select one or more types of variables:
•
Visibility to show or hide the content of the layer.
•
Pixel Replacement to replace the pixels in the layer with pixels from another image file.
Note: You specify the replacement image when you define a data set. (See “
U
sing data
sets
”
on page
503
.)
•
Text Replacement to replace a string of text in a type layer.
4 If desired, enter names for the variables. Variable names must begin with a letter, under-
score, or colon and cannot contain spaces or special characters (except for periods,
hyphens, underscores, and colons).
5 For Pixel Replacement variables, click Pixel Replacement Options, and do the following:
•
Choose a method for scaling the replacement image: Fit to scale the image to fit within
the bounding box (which may leave parts of the bounding box empty); Fill to scale the
image to entirely fill the bounding box (which may cause the image to extend beyond
the bounding box); As Is to not scale the image; Conform to scale the image non-
proportionally to fit within the bounding box.
•
Click a handle on the alignment icon to choose an alignment for placing the image
inside the bounding box.
•
Select Clip to Bounding Box to clip areas of the image that do not fit within the
bounding box. This option is only available when the Fill replacement method or As Is
replacement method is selected.
6 To define variables for an additional layer, choose a layer from the Layer pop-up menu.
Repeat Steps 3 through 5.
7 Click OK.
To rename a variable:
1 Choose Image > Variables > Define, or choose Variables from the Layers palette menu.
2 Choose the layer which contains the variable from the Layer pop-up menu.
3 Enter a name in the Name text box. Variable names must begin with a letter, under-
score, or colon and cannot contain spaces or special characters (except for periods,
hyphens, underscores, and colons).
Note: If you are using data sets and want to rename a variable globally (in all layers),
change the name in the Data Sets section of the Variable dialog box. (See “
U
sing data sets
”
on page
503
.)
77
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
503
Adobe Photoshop Help
Automating Tasks
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
503
To remove variables:
1 Choose Image > Variables > Define, or choose Variables from the Layers palette menu.
2 Choose a layer from the Layer pop-up menu.
3 Deselect one or more variables.
4 Repeat Steps 2 and 3 to remove variables from additional layers, then click OK.
Using data sets
A data set is a collection of variables and associated data. You can switch between data
sets to upload different data into your template.
To edit the default data set:
1 Do one of the following:
•
Choose Image > Variables > Data Sets.
•
If the Variables dialog box is open, choose Data Sets from the pop-up menu at the top
of the dialog box, or click Next.
•
Choose Variables from the Layers palette menu. Then choose Data Sets from the
pop-up menu at the top of the dialog box, or click Next.
Note: You must define at least one variable before you can edit the default data set.
2 Select a variable from the Name pop-up menu or the list at the bottom of the dialog
box.
3 Edit the variable data:
•
For Visibility variables , select Visible to show the layer’s content or Invisible to hide
the layer’s content.
•
For Pixel Replacement variables , click Browse (Windows) or Choose (Mac OS) and
select a replacement image file.
•
For Text Replacement variables , enter a text string in the Value text box.
4 Repeat Steps 2 and 3 for every variable in the template.
5 Do one of the following:
•
Click the Save Data Set button .
•
Click OK.
To create a new data set:
1 Click the New Data Set button .
2 Edit the variable data, and click the Save Data Set button.
To rename a data set:
Enter a name in the Data Set text box.
To select a data set:
Do one of the following:
•
Choose a data set from the Data Set pop-up menu.
•
Click the Previous Data Set button to select the previous set in the list.
•
Click the Next Data Set button to select the next set in the list.
57
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
504
Adobe Photoshop Help
Automating Tasks
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
504
To change the data in a data set:
Select the data set you want to modify, edit the variable data, and click the Save Data Set
button.
To delete a data set:
Select the data set you want to delete, and click the Trash button .
Previewing data-driven graphics
Preview Document mode lets you preview how a template will look when it is rendered
using different sets of data.
To enable or disable Preview Document mode:
Do one of the following:
•
Choose Image > Preview Document. A check mark appears next to the command when
Preview Document mode is enabled.
•
Click the Preview Document button in the tool box.
To preview data-driven graphics:
1 Enable Preview Document mode.
2 In the options bar, choose a data set from the Data Set pop-up menu, click the Previous
Data Set button , or click the Next Data Set button .
The data changes in the document window.
Saving templates for use with other Adobe products
You can save a template in PSD format for use with other Adobe products, such as Adobe
AlterCast (available only in English) and Adobe GoLive 6.0. For example, a GoLive user can
place a PSD template in a page layout, bind its variables to a database using dynamic links,
and then use AlterCast to generate iterations of the artwork. Likewise, a developer
working with AlterCast can bind the variables in the PSD file directly to a database or
another data source.
For more information on using PSD templates to create data-driven graphics, see the
Adobe GoLive User Guide, GoLive online Help, and the Adobe AlterCast Developer Guide.
76
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
505
Adobe Photoshop Help
Macintosh Shortcuts
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
505
Macintosh Shortcuts
Viewing
†
Hold down to scroll left (Page Up) or right (Page Down)
*
Not in ImageReady
Command Shift Option Key
Selecting and moving objects
Result
Action
Fits image in window
Double-click , or + Ø (zero)
100% magnification
Double-click , or + + Ø (zero)
Zooms in or out
+ or
or
+ spacebar, or + spacebar
Applies zoom percentage, and keeps
zoom percentage box active*
+ Return in Navigator palette
Zooms in on specified area of an image*
+ drag over preview in Navigator
palette
Scrolls image with hand tool*
Spacebar + drag, or drag view area box in
Navigator palette
Scrolls up or down 1 screen
Page Up or Page Down
†
Scrolls up or down 10 units
+ Page Up or Page Down
†
Moves view to upper left corner or lower
right corner
Home or End
Toggles layer mask on/off as rubylith*
\
Result
Action
Repositions marquee while selecting
‡
Any marquee tool (except single column
and single row) + spacebar + drag
Adds to or subtracts from selection
Any selection tool + or + drag
Intersects a selection
Any selection tool + + + drag
95
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
506
Adobe Photoshop Help
Macintosh Shortcuts
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
506
†
Hold down to move 10 pixels
‡
Applies to shape tools
*
Not in ImageReady
§
ImageReady only
Command Shift Option Key
Painting
Constrains marquee to square or circle
(if no other selections are active)
‡
+ drag
Draws marquee from center (if no other
selections are active)
‡
+ drag
Constrains shape and draws marquee
from center
‡
+ + drag
(except when , or any pen tool*, slice,
path tool*, shape tool*, rectangle image
map
§
, circle image map
§
, or polygon
image map
§
is selected)
Switches from to *
+ drag
Switches from to *
+ click
Moves copy of selection
+ + drag selection
‡
Moves selection area 1 pixel
Any selection +
†
Moves selection 1 pixel
+
†‡
Moves layer 1 pixel when nothing selected
on layer
+
†
Decreases or increases detection width*
+ [ or ]
Accepts cropping or exits cropping
+ Return or Esc
Makes protractor *
+ + drag end point
Snaps guide to ruler ticks
+ drag guide
Toggles guide orientation
+ drag guide
Result
Action
Any painting tool + (also any shape
tool + )
Selects background color
+ + click
*
+
86
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
507
Adobe Photoshop Help
Macintosh Shortcuts
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
507
†
Hold down to preserve transparency
*
Not in ImageReady
Command Shift Option Key
Editing
Deletes *
+ + click
Sets opacity, tolerance, strength,
or exposure for painting mode
Any painting or editing tool + number
keys (e.g., 0 = 100%, 1 = 10%, 4 then 5 in
quick succession = 45%)
(For Airbrush, use + number keys)
Sets flow for painting mode
Any painting or editing tool + + number
keys (e.g., 0 = 100%, 1 = 10%, 4 then 5 in
quick succession = 45%)
(For Airbrush, omit )
Cycles through blending modes
+
Fills selection/layer with foreground or
background color
+ Delete, or + Delete
†
Fills from history*
+ + Delete
†
Displays Fill dialog box
+ Delete
Lock transparent pixels on/off
/
Connects points with a straight line
Any painting tool + + click
Result
Action
Moves type in image
+ drag type when Type layer is selected
Aligns left, center, or right*
+ + + L, C, or R
Aligns top, center, or bottom*
+ + + L, C, or R
Selects 1 character left/right, or 1 line
down/up, or 1 word left/right
+ , or + +
Selects characters from insertion point to
mouse click point
+ click
Moves 1 character left/right, 1 line down/
up, or 1 word left/right
, , or +
Designates new origin over existing type
+ click or click + drag
Selects word, line, paragraph, or story
Double-click, triple-click, quadruple-click,
or quintuple-click
Shows/Hides selection on selected type
+ H (OS 9); Control + + H (OS X)
87
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
508
Adobe Photoshop Help
Macintosh Shortcuts
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
508
†
Hold down to decrease/increase 10x
††
Hold down to decrease/increase 10x
*
Not in ImageReady
Command Shift Option Key
Path editing*
Toggles Underlining on/off*
+ + U
Toggles Strikethrough on/off*
+ + /
Toggles All Uppercase on/off*
+ + K
Toggles Small Caps on/off*
+ + H
Toggles Superscript on/off*
+ + +
Toggles Subscript on/off*
+ + + +
Chooses 100% horizontal scale*
+ + X
Chooses 100% vertical scale*
+ + + X
Chooses Auto leading*
+ + + A
Chooses 0 for tracking*
+ + Q (OS 9)
or + + Control + Q (OS X)
Justifies paragraph; left aligns last line*
+ + J
Justifies paragraph; forces last line*
+ + F
Toggles paragraph hyphenation on/off*
+ + + H
Toggles single/every-line composer on/
off*
+ + + T
Decreases/increases type size of selected
text 2 pts/px
+ + < >
†
Decreases/increases leading 2 pts/px
+
††
Decreases/increases baseline shift 2 pts/
px
+ +
††
Decreases/increases kerning/tracking 20/
1000 ems
+
††
Result
Action
Selects multiple anchor points
+ + click
Selects entire path
+ + click
75
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
509
Adobe Photoshop Help
Macintosh Shortcuts
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
509
*
Not in ImageReady
Command Shift Option Key
Slicing and Optimizing
§
ImageReady only
Command Shift Option Key
Duplicates a path (works with any pen
tool)
+ + + drag (for all pen tools)
Switches from or to
Switches from to when over path
Switches from to when pointer is over
anchor point or direction point
+
Switches from or to when pointer is
over anchor or direction point
Closes path
+ double-click
Closes path with straight-line segment
+ + double-click
Result
Action
Toggles browser dither for selected image
pane in Optimized view
§
+ + Y
Toggles through gamma previews in
selected image pane
§
+ + Y
Toggles through Optimized/2up/4up/
Original views
§
+ Y
Toggles between slice tool and slice
selection tool
Draws square slice
+ drag
Draws from center outward
+ drag
Draws square slice from center outward
+ + drag
Repositions slice while creating slice
Spacebar + drag
Opens context-sensitive menu
Control + click on slice
76
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
510
Adobe Photoshop Help
Windows Shortcuts
U
sing H
elp
| C
on
t
en
ts
| Inde
x
B
ack
510
Windows Shortcuts
Viewing
†
Hold down Ctrl to scroll left (Page Up) or right (Page Down)
*
Not in ImageReady
Shift Key
Selecting and moving objects
Result
Action
Fits image in window
Double-click , or Ctrl + Ø (zero)
100% magnification
Double-click , or Alt + Ctrl + Ø (zero)
Zooms in or out
Ctrl + or
or
Ctrl + spacebar, or Alt + spacebar
Applies zoom percentage, and keeps
zoom percentage box active*
+ Enter in Navigator palette
Zooms in on specified area of an image*
Ctrl + drag over preview in Navigator
palette
Scrolls image with hand tool*
Spacebar + drag, or drag view area box in
Navigator palette
Scrolls up or down 1 screen
Page Up or Page Down
†
Scrolls up or down 10 units
+ Page Up or Page Down
†
Moves view to upper left corner or lower
right corner
Home or End
Toggles layer mask on/off as rubylith*
\
Result
Action
Repositions marquee while selecting
‡
Any marquee tool (except single column
and single row) + drag
Adds to or subtracts from selection
Any selection tool + or Alt + drag
Intersects a selection
Any selection tool + + Alt + drag
Documents you may be interested
Documents you may be interested