Search code examples
javascriptphotoshopphotoshop-script

How to write text to a text file by Photoshop JavaScript?


I took a look at Photoshop CS5 Scripting Guide and Photoshop CS5 JavaScript Reference, but I couldn't find out a method to write text to a plain text file. Is there any way to do that?

I want to record the value of bounds of each layer object in a document.

Any hint?


Solution

  • File system access is documented in Adobe's JavaScript Tools Guide (PDF).

    Download the PDF file and check out the "File System Access" section.