Search code examples
photoshopextendscriptjsx

"Console.log" with Photoshop Scripting - ExtendedScript Toolkit


I'm doing a bit of Photoshop scripting for the first time and it sure would be great to have a console.log-like function to output array and object values in the Javascript console of the ExtendScript Toolkit App.

Is there an equivalent function?


Solution

  • $.writeln() is what you're looking for. See the JavaScript Tools Guide (PDF) for details.