This post will only be of interest to people who create or edit scripts for Creative Cloud applications such as InDesign. Since the end of 2014, the ExtendScript Toolkit, which is Adobe’s script editing tool, has had a problem with running very slowly on Macintosh computers running OS X 10.10 or later. See for more details. Scripter extraordinaire discovered that disabling the “App Nap” feature of OS X restores the performance of the ExtendScript Toolkit. Press Command-Shift-U to open the Utilities folder on your Mac 2. Double-click on the Terminal app 3.
At the prompt, type: defaults write NSGlobalDomain NSAppSleepDisabled -bool YES For more information, see. Want to learn more about scripting InDesign? See my course on Lynda.com.
Not a programming problem per se, but rather a programming environment problem that I have been unable to find a solution to. The problem relates to Adobe's Extendscript Toolkit (both 3.5 and 4), but so far I haven't been able to solve the problem, so here I am. The error I get has appeared more or less over night.
ExtendScript Toolkit for Adobe CS2 applications Download the ExtendScript Toolkit 1.0.3 for Mac OS or Windows. The ExtendScript Toolkit (ESTK) 2.0 is the version included with Adobe Creative Suite 3 and applications such as Bridge, Photoshop, Illustrator, InDesign, and After Effects. Feb 20, 2018 - Adobe Creative Cloud - ExtendScript Toolkit CC. Latest Update: Record Last.
I didn't experience this problem yesterday, nor this morning. But exactly WHAT has happened is beyond me. I have removed preferences, I have uninstalled, reinstalled, created a new user, restored old preferences from Time Machine and I'm now pretty much lost for options. Basically, nothing works in ESTK anymore. Just opening ESTK and entering alert('Hello') won't work. Neither will $.writeln. Everything running from within ESTK seems to give the same error; Cannot execute script in target engine 'main' With details: Cannot execute script in target engine 'main'!
(#1116) Can't start debug session. Below is a screenshot taken from the new user I created to test, same problem.
The 'funny' thing is that all the scripts (InDesign CS5, still hanging on to it for reasons) still work perfectly in the applications' script panels. So there is nothing wrong with the scripts (heck, they haven't changed one bit, and still refuses to run in ESTK). As mentioned, I've tried installing the ESTK CC (version 4) as well, but the very same problem occurs there. Which leads me to think the problem lies somewhere else, but I do not know where, and why.
So, if anyone can shed any light on this issue, at all, I would be very happy. Debugging is basically the only thing ESTK is good for in my book, but now that even that functionality is gone, I don't know how to efficiently debug the scripts which is kind of hampering the workflow. For reference, I'm running InDesign CS5 (from the old Creative Suite) on a 2008 Mac Pro with 10.11.6 (El Capitan) installed. Well aware that it's pretty out of date, but that is beside the point here.