Copy link to clipboard
Copied
Hello everyone, does anyone know how to write a script for "Purge all cache in memory"
and choose OK in the question box , on one button , please ?
Thanks in advance
Copy link to clipboard
Copied
Aba26, which Adobe software or service is your question in relation too?
Copy link to clipboard
Copied
Adobe After Effects CC 2019
Copy link to clipboard
Copied
Adobe After Effects CC 2019
Copy link to clipboard
Copied
Yes, this is possible. I'm using Keyboard and there is an option for that.
I guess it's some menu command id which you can call on button press.
But why don't you just put it this on a shortcut. That's way easier than writing a script.
*Martin
Copy link to clipboard
Copied
You can use this lines for your UI model to make that function. But however you've to manually click OK after the popup showing..
var purge = app.findMenuCommandId("All Memory Disk Cache...");
app.executeCommand(purge);
However if you want premade script for your need go download my script from here. It already have Purge All memory button in it.
visit : https://youtu.be/wo3GawORnB4