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 ...

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.