Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Mute AE warning about JSON structure changing?

$
0
0

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!


Viewing all articles
Browse latest Browse all 2143


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>