Skip to main content
Known Participant
September 22, 2022
質問

Is there a way to dismiss all AE error messages at once?

  • September 22, 2022
  • 返信数 2.
  • 2122 ビュー

As an example: if I am working in a project with a thousand asset files and someone changes the name of the project folder, AE gives an error message stating that there is an error with "Footage Item A", after which it will give an error message stating that there's a problem with "Footage Item B", and so on for every item in the project. Is there a way to dismiss all of these alerts at once?

 

In the rare ocassion that something like this happens, I tend to force quit the application and relaunch it, as it's quicker than closing all of the alerts, but I feel that this is a very rough workaround.

 

It would be nice if AE gave an alert along the lines of "There is a problem with ### items in your project" instead of itemized alerts.

返信数 2

Mylenium
Legend
September 22, 2022

Yeah, it's unfortunately a requirement to do all this inside the script, not outside. AE simply has no way of constantly monitoring your interactions and intercepting specific dialogs. You may want to browse through AEScripts.com, though. There's all sorts of scripts that can help you, including renaming tools that apply the changes in bulk without causing errors.

 

Mylenium

Kyler CROP作成者
Known Participant
September 22, 2022

I think there's been a miscommunication: I'm not trying to rename or import anything. I'm referring to dismissing "Unlinked Media" dialogs. If I'm working on a project and all my media gets unlinked all at once, it creates a dialog for each individual asset which can take a long time to dismiss one at a time. I'm wondering if there's a way to dismiss them all without just pressing down the "Esc" key for five minutes.

Community Expert
September 22, 2022

Fixing unlinked media is easier if the footage was in a folder that got moved or renamed. I had a client once that kept renaming folders and even clips in a shared Dropbox folder until I started charging him for the time it took to fix the missing footage errors in Premiere, DaVinci, and After Effects. I could solve many of the problems by putting the folder back in its original location or fixing the folder name.  When the footage has been renamed, it's a laborious process. If every piece of footage missing footage was in a different folder, then you are stuck with following every link. 

 

I don't know any way for a script to search through the folders on your system and repair links, but a script would be able to look in one folder. If the folder was just moved or renamed, AE should automatically find all missing footage from that folder. If the files have been moved to different folders, I think you are out of luck.

Mylenium
Legend
September 22, 2022

You could create a simple script that does the import since those can suppress dialogs. Here's an older quick tip on it:

 

https://lesterbanks.com/2019/08/use-2-lines-of-code-to-suppress-dialogs-in-extendscript/

 

Mylenium

Kyler CROP作成者
Known Participant
September 22, 2022

This is useful to know for importing issues, but these particular error messages typically come up outside of this context.

It may be possible to make a ScriptUI Button that I could press to suppress dialogs but I would have to quickly click on a dialog's "Okay" to dismiss and then the button before another dialog comes up, which would be quite difficult. I may try it out, though.

 

Thanks for the suggestion!