-
Extendscript Toolkit: Setting default document text
May 11, 2017
When I use ESTK, I always want to start with the same foundation, setting up an IIFE so I can play and not fuck with AE/ESTK global scope. For this example, the snippet below is what I want to start with. Note: This involves editing ESTK Required files. Edit at your own risk! These files are located here on Windows: C:\Program Files (x86)\Adobe\Adobe ExtendScript Toolkit CC\Required Method 1: Prepopulate temp file on Startup 01startup.jsx, line 246 If you only want…
Keep Reading → -
CEP: Logging Errors
October 3, 2016
When working on Flow, we were looking for a way to log standard JS console errors to a file, so that if something broke we’d be able to quickly diagnose the problem and fix it in a patch. Straightforward enough! However, as the CEP standard is evolving, we found that there was some discrepancy in behaviors between different versions of AE with respect to how to enable logging and where the log files are saved. With any luck, this can help. The CEP documentation mentions that there are many Chromium Command Line Switches…
Keep Reading → -
ExtendScript: Delete Saved Settings
July 22, 2015
Working in ExtendScript and need to delete a setting you’ve saved to your users’ preferences file? Did some looking around and it seems there was no way. Until now! Found that you can use the method to delete settings. Just need to target it with the prefix “Settings_”, and save the prefs file afterward, but otherwise seems to work just fine. The only caveat here is that the section header will remain, however that seems to have no negative effect. var sectionTag = “testSectionTag”; var…
Keep Reading →