Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Purge script question

New Here ,
Mar 26, 2020 Mar 26, 2020

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

998
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 26, 2020 Mar 26, 2020

Aba26, which Adobe software or service is your question in relation too?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 27, 2020 Mar 27, 2020

Adobe After Effects CC 2019

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 31, 2020 Mar 31, 2020

Adobe After Effects CC 2019

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Mar 31, 2020 Mar 31, 2020

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 31, 2020 Mar 31, 2020
LATEST

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

New Features added to the Script and It is available for free as always. Now It is in compact size and you can reduce the size even more by minimizing the section that you don't use by clicking on the title of each section. Thank you for watching. If you find this useful please like and comment to
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines