Copy link to clipboard
Copied
Not sure if this has always been the case, but I’ve noticed lately if I run a JavaScript from the Scripts panel with a $.writeln line which isn’t commented out, ESTK will launch along with the script. Is there an ESTK preference that would prevent that from happening? Running CC2020 on Mojave.
It has always been the case. Happens in InDesign Server as well. You'll have to comment out those lines or redirect output to an alert or a log file depending on the environment.
Copy link to clipboard
Copied
You can put $.level = 0; in the code.
https://www.indesignjs.de/extendscriptAPI/indesign-latest/#$.html
Copy link to clipboard
Copied
Hi @brian_p_dts,
I have tried this in the past and if I remember correctly this did not do the trick for me, atleast in InDesign. Let's see what Rob encounters.
-Manan
Copy link to clipboard
Copied
Thanks @brian_p_dts, that did not work for me. I set it as the firstline of the script? This will launch ESTK when run from my Scripts panel:
$.level = 0;
alert("Hello World");
$.writeln("Hi")
Copy link to clipboard
Copied
Sorry, thought that would work.
Copy link to clipboard
Copied
It has always been the case. Happens in InDesign Server as well. You'll have to comment out those lines or redirect output to an alert or a log file depending on the environment.
Copy link to clipboard
Copied
Thanks.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more