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

Mute AE warning about JSON structure changing?

Enthusiast ,
Jul 31, 2018 Jul 31, 2018

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!

TOPICS
Scripting
1.3K
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
Enthusiast ,
Aug 05, 2018 Aug 05, 2018

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
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
Community Beginner ,
Jun 05, 2024 Jun 05, 2024

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
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 ,
Jun 05, 2024 Jun 05, 2024
LATEST

Thanks for the feedback. Working on it now.

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