Publishers of technology books, eBooks, and videos for creative people

Home > Articles

Scripting Adobe Photoshop CS2

  • Print
  • + Share This
This chapter is from the book

This chapter demonstrates several techniques for creating scripts to use specifically with Adobe Photoshop CS2.

More importantly, you will learn how to use the Adobe Photoshop CS2 scripting references to find the objects, classes, properties, methods, and even some values (called constants or enumerations) you can use to create JavaScripts for Adobe Photoshop CS2.

Viewing Photoshop CS2 objects, commands, and methods

In JavaScript, all properties and methods of the application are accessible without any qualification. You can reference the application as part of the containment hierarchy or leave it out, whichever makes your scripts easier for you to read. The following statements are equivalent:

var docRef = app.documents[1]


var docRef=documents[1]
  • + Share This
  • 🔖 Save To Your Account