As far as scripting AE goes I think you're out of luck. The After Effects scripting guide mentions cache settings regarding memory usage, but not anything related to the cache file location. Assuming OSX by your path, you could use this shell script to kludge it: cat <path to your current prefs file...

If comp A is sitting in the middle of comp B, you could make the solid S' a child of comp A and then just use the coordinates of solid S, since these coordinates will be relative to the comp-space of the nested comp A. So the expression would be: comp("Comp A").layer("S").transform.position If you t...

For 2D, the lookAt() function in After Effectsâ€™ expression language doesnâ€™t work as expected. When the looked-at point is below the looking-from point the direction reverses. This has been driving me nuts for years, so to save me having to go back to my high school trigonometry, I've created a f...

Sorry if this is the wrong place to askâ€¦ The search function on this forum is a bit wonky. For example I was searching for the script function setTemporalEaseAtKey, and got this error: The following words in your search query were ignored because they are too common words: settemporaleaseatkey. Re...

This script can be simplified a bit, in particular in the loop, which will speed it up Firstly you don't need to treat 3D and 2D layers differentlyâ€”2D layers have a Z coordinate, it's just always set to 0. So you can use the 3D code for both. you don't need to calculate the average with each layer...

I was going nuts trying to work out why a script wasn't working. I was using the Javascript array object's slice method: selectedLayers = app.project.activeItem.selectedLayers; layerSlice=selectedLayers.slice(a, b); But it was returning undefined. Am I doing something wrong or does array.slice() not...

I've just installed CS 6 and I can't see After Effects in the Object Model Viewer. I can select it as a target application in the source window but it doesn't appear in the Object Model Viewer browser drop-down. I've tried opening the Extendscript Toolkit from within after effects, bit to no avail. ...

Thanks for the tutorial, but one thing struck me: you can just apply one slider to a null, and then link the wiggle expression to it, rather than having separate sliders on lots of layers. So your expression would look like: freq=thisComp.layer("Null 1").effect("Slider Control")("Slider"); amp=thisC...

You can make it use multiple processors with an -mp switch in the command line. I have a similar applescript, it's a bit more interactive, at the expense of being more complicated. Mine will either take a dropped file or if you run it will ask for a file. I also made it shut the computer down after ...

Fantastic script. For any DLFers or other antipodeans here's an Australian wordlist. You can use the build dictionary script that comes along with the spell checker to make an Australian dictionary. Go sick mate!