Adobe Photoshop ExtendScript Scripting API

The legacy scripting system based on ExtendScript, Adobe's implementation of ECMAScript 3. ExtendScript scripts use the .jsx file extension and can automate nearly all Photoshop operations through a comprehensive Application, Document, and Layer object model. Scripts can also be written in AppleScript on macOS or VBScript on Windows.