Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

12 replies

Tom Ruark
Inspiring
March 4, 2014

I had this routine in a Logger object for debugging. You can change the print to $.write or $.writeln as xbytor states. This way you get output in ESTK when running in another point product.

// output to the ESTK console

this.print = function( inMessage ) {

if ( app.name == "ExtendScript Toolkit" ) {

print (inMessage);

} else {

var btMessage = new BridgeTalk();

btMessage.target = "estoolkit";

btMessage.body = "print(" + inMessage.toSource() + ")";

btMessage.send ();

}

Translate
Pedro Cortez Marques
Legend
March 4, 2014

By the way, the length of the message supported by the ESTK console is limited.

Is it possibel to extend that to more length?

ESTK 4.2.12

Translate
Inspiring
March 3, 2014

$.writeln();

Translate
Participant
June 22, 2014

Is $.writeln supposed be work from a js in an html5 panel ?

Thanks

Translate
Tom Ruark
Inspiring
June 23, 2014

HTML JS no.

Photoshop JS yes.

Put the $.writeln code in the Photoshop JSX code and call it from the HTML JS.

Translate