Chapter 4. Using JavaScript with Adobe Photoshop CS2
This chapter explains the basics of using JavaScript in Adobe Photoshop CS2.
Script Support in Adobe Photoshop CS2
The Scripts menu supports JavaScript scripts for Windows®.
For a file to be recognized by Photoshop as a valid script file it must have the correct file name extension:
Script Type | File Type | Extension | Platform |
---|---|---|---|
AppleScript | compiled script OSAS file |
| Mac OS® |
JavaScript ExtendScript | text | .js .jsx | Mac OS & Windows |
VBScript | text |
| Windows |
Visual Basic | executable |
| Windows |
JavaScript support
All of the Adobe Creative Suite 2 applications, including Adobe Photoshop CS2, use ExtendScript, Adobe’s extended implementation of JavaScript. ExtendScript files are distinguished by the .jsx
extension. ...
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.