O'Reilly logo

Power, Speed & Automation with Adobe Photoshop by Jeffrey Tranberry, Geoff Scott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

TenCONTROLLINGDocuments

Learning to Work with Documents and Filenames

The most common object you are likely to work with using the Photoshop DOM is a document. Writing a script to work on a single document might be useful. Writing a script to work on many documents is more powerful. Recall that the Photoshop automation technique for this procedure is batch processing.

A batch process usually opens each file in a folder, runs an action on it, saves the file with a new name and file format, and then closes the file. The preceding chapter described how to run an action from a script. That chapter also showed how to create a function with the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required