This script is intended to automate the process of clearing cache in Adobe After Effects upon application shutdown, thus freeing up valuable disk space and maintaining the efficiency of the software.
app.executeCommand(10200); alert("Cache cleared!");
Save this Script in
C:\Program Files\Adobe\[Your AE VERSION]\Support Files\Scripts\Shutdown\Clear_Cache.jsx
This script will automatically clear the cache upon shutdown when saved.
In order for this script to work properly, you need to make sure that you're saving it in the correct location. The path where the script should be saved is
C:\\Program Files\\Adobe\\[Your AE VERSION]\\Support Files\\Scripts\\Shutdown\\Clear_Cache.jsx
. Replace [Your AE VERSION]
with the version of Adobe After Effects you're using.Once the script is saved in this location, it will automatically run each time you shut down Adobe After Effects. This will clear the software's cache, freeing up disk space and helping to maintain the program's efficiency.