Photoshop

About scripting

Photoshop supports external automation through scripting. In Windows, you can use scripting languages that support COM automation, such as VB Script. In Mac OS, you can use languages such as AppleScript that allow you to send Apple events. These languages are not cross-platform but can control multiple applications such as Adobe Photoshop, Adobe Illustrator, and Microsoft Office. In Mac OS, you can also use Appleā€™s Photoshop Actions for Automator to control tasks in Photoshop.

You can also use JavaScript on either platform. JavaScript support lets you write Photoshop scripts that run on either Windows or Mac OS.

Note: Refer to the scripting documentation included with your Photoshop application installation: Photoshop AppleScript Reference Guide.pdf, Photoshop JavaScript Reference Guide.pdf, Photoshop Scripting Guide.pdf, and Photoshop VBScript Reference Guide.pdf. These guides can be found in Photoshop CS3/Scripting Guide.