O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Power, Speed & Automation with Adobe Photoshop

Book Description

This is a must for the serious Photoshop user! Power, Speed & Automation explores how to customize and automate Photoshop to increase your speed and productivity.  With numerous step-by-step instructions, the authors-two of Adobe's own software developers!- walk you through the steps to best tailor Photoshop's interface to your personal workflow; write and apply Actions; and use batching and scripts to process large numbers of images quickly and automatically.  You will learn how to build your own dialogs and panels to improve your production workflows in Photoshop, the secrets of changing keyboard shortcuts and menus, and ways to tune your system for optimal performance.  Writing new processes using JavaScript is also covered, as well as leveraging Variables with data sets. Learn how to get more work done? more easily and quickly? with this essential guide!

*This book can be used with any version of Photoshop through CS6!*

Table of Contents

  1. Cover
  2. Title
  3. Copyright
  4. Contents
  5. Foreword
  6. Introduction
  7. Chapter 1 Customizing How You Work in Photoshop
    1. Keyboard Shortcuts
      1. Discovering Keyboard Shortcuts
      2. Useful Keyboard Shortcuts to Learn
      3. Changing and Creating Keyboard Shortcuts
    2. Menus
      1. Changing the Menus
    3. Frame, Docks, Bars, and Panels
      1. Menu Bar
      2. Application Frame
      3. Work Area
      4. Docks
      5. Application Bar
      6. Options Bar
      7. Tool Bar
      8. Tab Groups
      9. Panels
    4. Workspaces
      1. Useful Strategies with Workspaces
      2. Using More Than One Monitor
      3. Exposé and Spaces
    5. Document Windows
      1. Tabbed Document Windows
      2. Standard Screen Mode, Full Screen Mode, Full Screen Mode with Menus
      3. Changing the Background Color
      4. File Information Displays
    6. Preferences
      1. General
      2. Interface
  8. Chapter 2 Customizing How Photoshop Works for You
    1. Tools
      1. Tool Presets
      2. Tool Preset Picker
      3. Tool Presets Panel
      4. Preset Manager
      5. Swatches and Styles
      6. Gradients and Contours
      7. Patterns and Custom Shapes
    2. Brushes
      1. Brush Panel
      2. Brush Presets Panel
      3. Brush Preset Picker
      4. Define Brush Preset
      5. Brush Picker
    3. Documents
      1. New Document Presets
      2. Adobe Camera Raw Settings and Presets
      3. Document Metadata
    4. Color Settings
      1. Working Color Space
    5. Printing
      1. Proof Setup
      2. Print Settings
  9. Chapter 3 Optimizing Your System for Photoshop
    1. Hardware
      1. 64-Versus 32-Bit Architectures
      2. How to Run in 32-Bit
      3. RAM: Your Computer’s Short-Term Memory
      4. Hard Drives and Scratch Disks
      5. CPU: The Processor
      6. GPU and Video Cards
    2. Operating System
    3. Photoshop
      1. Number of History States
      2. History Cache
      3. Close Unused Files
      4. Clear Available Memory With Purge
      5. Run Photoshop Only
      6. Keep Photoshop Up-to-Date
      7. Don’t Overload Presets
      8. Turn Off Thumbnail Displays
  10. Chapter 4 Duplicating Your Tasks in Photoshop
    1. Introduction to Actions
      1. Examining the Actions Panel
      2. Organizing Actions
    2. Creating Actions
    3. Playing Actions
      1. Disabling Action Steps
      2. Using Playback Options
      3. Editing the Action Options
      4. Using Button Mode
    4. Editing Actions
      1. Changing the Settings of an Action Step
      2. Duplicating an Action
      3. Deleting Action Steps
      4. Adding Steps to an Action
      5. Reordering Action Steps
      6. Using Fit Image
      7. Adding More Steps
      8. Arranging Layers
      9. Selecting Layers Via Keyboard Shortcuts
      10. Inserting a Path Item
      11. Stroking a Path
      12. Using “Align Layers To Selection” to Intelligently Position Objects
    5. Refining Actions
      1. Toggling Dialogs
      2. Inserting Stop Items
      3. Using History Snapshots in Conjunction with Actions
      4. Inserting Menu Items
      5. Using Percentage for Units
      6. Running an Action from Another Action
      7. Creating Actions that Run on Different Computers
      8. Saving Actions
      9. Loading Actions
    6. Learning More
      1. Learning by Dissecting Existing Actions
      2. Creating Actions for Techniques You Learn from Others
  11. Chapter 5 Repeating Tasks on Many Files
    1. Batch Processing
      1. Setup
      2. Batch Dialog
    2. Troubleshooting Batch Processing
      1. Understanding the Suppress Color Profile Warnings
      2. Making a Conditional Mode Change
      3. Writing Errors to the Log File
      4. Using the Suppress File Open Options Dialog
      5. Adding a Save Action Step
      6. Converting Bit Depth
      7. Converting Color Profiles
      8. Adjusting the Fit Image Step
      9. Changing Image Resolution with Image Size
      10. Creating a Successful Batch Process
      11. Using Batch from Bridge
    3. Droplets for Batch Processing
      1. Creating a Droplet
      2. Running a Droplet
      3. Creating a Droplet for Lightroom
      4. Using a Droplet with Lightroom
      5. Understanding Droplet Limitations
    4. Conclusion
  12. Chapter 6 Repeating Tasks with External Data
    1. Creating a Template
      1. Setting Up The Template File
      2. Setting Up The Badge Types
      3. Setting Up the Employee Photo
      4. Setting Up the Employee Information
    2. Defining Variables
      1. Variables Dialog
      2. Text Replacement Variables
      3. Pixel Replacement Variables
      4. Visibility Variables
    3. Creating Data Sets
      1. Creating By Hand
      2. Creating a CSV File
      3. Importing Data Sets
      4. Applying Data Sets
    4. Creating Files for Each Data Set in the Template
  13. Chapter 7 Building Your Own Panels: Introduction to Using Configurator
    1. Getting the Tool
      1. Downloading and Installing the Tool from Adobe Labs
      2. Using the Tool
    2. Building a Simple Panel
      1. Panel
      2. Tools
      3. Commands
      4. Searching for Commands
    3. Using the Panel in Photoshop
      1. Saving the Panel
      2. Previewing the Panel in Configurator
      3. Exporting the Panel from Configurator
      4. Loading and Finding the Panel in Photoshop
      5. Revising the Panel
    4. Using More Panel Objects
      1. Action Buttons
      2. Widgets
      3. Advanced Containers
    5. Polishing Your Panel
      1. Adding a Logo Image
      2. Adding a Panel Icon
    6. Completing Your Panel
    7. Sharing Panels
      1. Creating an Installer
      2. Installing a Panel
  14. Chapter 8 Scripting Photoshop: Learning the Tools to Start Scripting Photoshop
    1. Introduction to Photoshop Scripting
      1. Supported Scripting Languages
    2. ExtendScript Toolkit
      1. Accessing the Documentation
      2. Thinking about Scripting
      3. Creating a Scripting Template
      4. Writing Your First Script
      5. Installing and Running Photoshop Scripts
    3. Coding Concepts: Variables, Data Types, Strings, Operators, and Functions
      1. Variables
      2. Data Types
      3. Strings
      4. Operators
      5. Functions
    4. Coding Concepts: Classes, Objects, Properties, and Methods
      1. Classes
      2. Objects
      3. Properties
      4. Methods
    5. Photoshop Document Object Model (DOM)
      1. What Is a Document Object Model?
      2. Dissecting Photoshop Objects
      3. Object Model Viewer
  15. Chapter 9 Customizing Photoshop-Created Scripts: Beyond the Photoshop DOM with the ScriptingListener Plug-in
    1. Coding Concepts: Functions and Arguments
      1. Understanding Function Details
      2. Passing Arguments to a Function
      3. Defining and Implementing Your Own Functions
    2. ScriptingListener Plug-in
      1. Playing an Action from a Script
      2. Installing the ScriptingListener Plug-in
      3. Understanding the Log File
      4. Creating a Reusable Function from ScriptingListener Code
      5. Best Practices for Using the ScriptingListener
    3. Coding Concepts: Conditionals and Decision Making
      1. Comparison Operators
      2. Control Statements (if, if else, switch)
      3. Logical Operators
      4. Using the confirm() Function
  16. Chapter 10 Controlling Documents: Learning to Work with Documents and Filenames
    1. Coding Concepts: Working with Strings and Arrays
      1. Trimming Strings with slice()
      2. Extracting Strings with substr() and index Of()
      3. Working with Arrays
      4. Using to String() to View Arrays
      5. Working with Delimiters
      6. Using join() for Better Array Formatting
      7. Using split() to Create an Array from a String
    2. Flattening, Saving, and Closing Documents
      1. Flattening Documents
      2. Saving Documents
      3. Closing Documents
    3. Coding Concepts: Using Loops
      1. Using while Loops
      2. Using do while Loops
      3. Using for Loops
      4. Using Loops within Loops
    4. Handling Error Detection and Failing Gracefully
      1. Using the suspendHistory() Method
      2. Handling Errors with try and catch Statements
  17. Chapter 11 Adding Scripts to Your Panels: Advanced Configurator
    1. Using Scripts with Configurator
      1. Writing Scripts for Configurator
      2. Adding a Script Button
      3. Adding a Script File Button
    2. Using Other External Files with Configurator
      1. Using Cross-platform and Localized Paths
      2. Loading and Playing an Action from a Script
      3. Adding a Button to Open a Web Page
      4. Referencing a Script from a Panel
    3. Building an Installer for Multiple Files to Multiple Locations
      1. Making Simple Modifications to the .mxi File
      2. Adding Files to the Installer
  18. Chapter 12 Scripting Complex Workflows: Working with Events, Files, and Folders and Organizing Your Scripts
    1. Customizing Photoshop Events
      1. Enabling and Running the Script Events Manager
      2. Attaching a Script to an Event
      3. Attaching an Action to an Event
      4. Adding Custom Events
      5. Deleting the Script Events Manager Preferences
    2. Working with Files and Folders
      1. Presenting a Dialog to Select a Folder
      2. Presenting a Dialog to Select a File
      3. Creating Folders Using the folder Object
      4. Creating and Writing Text Files
      5. Copying Files
    3. Designing and Organizing Your Scripts
      1. Pseudo Code
      2. Template Files
      3. Factoring Out Useful Functions
      4. Creating a Library File
      5. Loading in Library Files and Referencing Nearby Files
  19. Chapter 13 Building Custom Dialogs: Using Scripting to Build Your Dialogs
    1. Making a Simple Dialog
      1. Using the ScriptUI Classes
      2. Understanding How Dialogs Work
      3. Defining a Dialog Window
      4. Adding UI Elements to a Dialog
      5. Adding Events to Buttons
      6. Showing a Dialog
      7. Processing the Results
    2. Making a Complex Dialog
      1. Adding a Panel with a Label
      2. Adding Radio Buttons
      3. Adding Static and Editable Text
      4. Adding a Slider
      5. Adding a Pop-up Menu
      6. Adding a Checkbox
      7. Revisiting the OK and Cancel Buttons
      8. Showing the Dialog
      9. Retrieving the Results from the Dialog Object
      10. Processing the Options
  20. Conclusion
  21. Appendices – Where Are the Files Located
    1. Appendix A – Where Are the Files Located on Mac OS X
    2. Appendix B – Where Are the Files Located on Windows XP
    3. Appendix C – Where Are the Files Located on Windows 7 and Vista
  22. Index