Panel text editor via CodeMirror for Illustrator, Photoshop and After Effects.
console(code)
will evaluate code
and return the result to the bottom display.
JSXEvent(data, name)
will send the data
back to JavaScript as a named CSEvent.
See eventManager for demonstration of Events:
Event 'com.playwrite.console'
evaluates and displays data
in the panel console.
Event 'com.playwrite.error'
parses error messages from data
and updates console.
Event 'com.playwrite.write'
inserts data
at the current cursor location.
Currently only runs .jsx with limited syntax highlighting via CodeMirror's Javascript mode, has internal hotkeys and multiple addons.