Clearing the Adobe ExtendScript ToolKit Console Window
While creating a new JavaScript to automate some day - job Photoshop work, I gave Adobe's ExtendScript Toolkit a spin. It's designed specifically for building scripts for Adobe products and it's pretty nice. Especially the JavaScript Console window that makes it nice and easy to see debugging messages.
![](/neo-images/awsgrab-20140227--1524-01a/700w.png)
By default, this window doesn't clear itself before each run which degrades a lot of its value. It can be cleared manually before the start of each test run, but that's a pain.
The good news is there's a way to do it with code. If the script is run from ExtendScript Toolkit itself, this snippet of code will do it :
javascript
app.;
javascript
javascript