Adobe Photoshop CS4 Scripting Guide
About this Manual. This manual provides an introduction to scripting Adobe® Photoshop® CS4 on Mac OS® and Windows®. Chapter 1 covers the basic conventions …
About this Manual This manual provides an introduction to scripting Adobe ® Photoshop ® CS4 on Mac OS ® and Windows ® . Chapter 1 covers the basic conventions used in this manual. Chapter 2 covers a brief overview of scripting, how to execute scripts, and the Photoshop object model. Chapter 3 covers Photoshop-specific objects and components and describes advanced techniques for scripting the Photoshop application. Code examples are provided in three languages: ? AppleScript ? VBScript ? JavaScriptTM NOTE : Separate Photoshop scripting reference information is provided for each of these languages through the Scripting Reference Manuals provided with this installation, or through the object browsers available for each language. See “Viewing Photoshop’s AppleScript dictionary” on page 21 and “Viewing Photoshop’s type library (VBS)” on page 22 . For information about using the Extend Script Object Model Viewer, see the JavaScript Tools Guide . Chapter 4 covers the Action Manager, which allows you to write scripts that target Photoshop functionality that is not otherwise accessible in the scripting interface. NOTE : Please review the README file shipped with Photoshop for late-breaking news, sample scripts, and information about outstanding issues….
2 Photoshop Scripting Basics This chapter provides an overview of scripting for Photoshop, describes scripting support for the scripting languages AppleScript, VBScript, and JavaScript, how to execute scripts, and covers the Photoshop object model. It provides a simple example of how to write your first Photoshop script. If you are familiar with scripting or programming languages, you most likely will want to skip much of this chapter. Use the following list to locate information that is most relevant to you. ? For more information on the Photoshop object model, see “Photoshop Object Model” on page 11 . ? For information on selecting a scripting language, refer to the Introduction to Scripting guide. ? For examples of scripts created specifically for use with Photoshop, see Chapter 3, “Scripting Photoshop” on page 21 . ? For detailed information on Photoshop objects and commands, please use the reference information in the three reference manuals provided with this installation: Adobe Photoshop CS4 AppleScript Scripting Reference , Adobe Photoshop CS4 Visual Basic Scripting Reference , and Adobe Photoshop CS4 JavaScript Scripting Reference …..
Download Adobe Photoshop CS4 Scripting Guide.Pdf