Skip to main content
Legend
Jul 31, 2018 5:07 PM UTC
Question

Mute AE warning about JSON structure changing?

Hi There,

In my script, a JSON object is written to a file that is, itself, imported into AE as footage.  If the structure of the JSON written to the file changes, AE throws a modal warning dialog with the following message:

After Effects warning: The structure of the data file for the layer "scores.json" has changed

Is there any way to disable that error either via scripting or via AE's preferences?  I tried placing code that writes to the JSON file in between the statements  app.suppressDialogs() and app.endSuppressDialogs() but that did not seem to work.  Is it possible to mute it or possible work-arounds so that if the JSON changes structure that error does NOT display?

Thanks!

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participant
Jun 5, 2024 3:52 PM UTC

Hi there - this is a showstopper for us, as the dialog it triggers when importing a project with a JSON asset, even though the asset has not changed since saving. The dialog does not respect app.suppressDialogs(), and halts all scripting, even pops up from aerender.exe.

Translate
Tom Olsen
Community Manager
Community Manager
Jun 5, 2024 7:41 PM UTC

Thanks for the feedback. Working on it now.

Translate
Legend
Aug 6, 2018 2:56 AM UTC

Just wanted to note that there is a topic about this on the user voice forum for After Effects.  Read the topic and upvote for it

Translate