NineCUSTOMIZINGPhotoshop-Created Scripts

Beyond the Photoshop DOM with the ScriptingListener Plug-in

Coding Concepts: Functions and Arguments

Functions were introduced in the preceding chapter as the verbs in your scripting Mad Libs. Like verbs, functions do things. They imply action and functionality. Your scripts have included a few functions. As your scripts started using the Photoshop Document Object Model (DOM), they included methods, which is what functions defined on objects are called. Functions are very useful, and the best thing about them is that you can build your own.

Understanding Function Details

As previously described, three ...

Get Power, Speed & Automation with Adobe Photoshop 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.