Chapter 2. Scripting Basics

This chapter provides a brief introduction to the basic concepts and syntax of scripting and JavaScript. If you are new to scripting, you should read this entire chapter.

If you are familiar with scripting or programming languages, you most likely will want to skip many sections in this chapter. Use the following list to locate information that is most relevant to you.

  • For more information on Adobe Photoshop CS2’s object model, see “Adobe Photoshop CS2’s Object Model” on page 9.

  • For examples of scripts created specifically for use with Adobe Photoshop CS2, see Chapter 3, “Scripting Adobe Photoshop CS2”.

What is scripting?

A script is a series of commands that tells Adobe Photoshop CS2 to perform a set of specified actions, ...

Get Adobe® Photoshop® CS2 Official JavaScript Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.