"Console.log" with Photoshop Scripting - ExtendedScript Toolkit

Sebastien picture Sebastien · Dec 17, 2011 · Viewed 28.3k times · Source

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?

Answer

Daniel Serodio picture Daniel Serodio · Mar 8, 2012

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