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

First try/catch fails

Participant ,
Aug 11, 2020 Aug 11, 2020

Hey guys,

There's a consistent error I've been running into when using try/catch in Extendscript. Upon opening After Effects, the first time I run a script with a try/catch in it with "enable javascript debugger" turned on, if there's an error in the "try" block, it won't catch the error by running the "catch" block. If I stop the script and run it again without changing anything, the try/catch then works properly.

I can mostly work around this by just running scripts twice the first time I boot up AE. But it IS a nuisance. Any ideas why this happens?

TOPICS
Error or problem , Scripting
224
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
no replies

Have something to add?

Join the conversation