Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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 ![]()
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thanks for the feedback. Working on it now.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more