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

How to receive an event when opening a project in AfterEffects

Participant ,
Nov 21, 2023 Nov 21, 2023

Is there a way to receive a CSEvent when a project is opened in AfterEffects?
https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_11.x/Documentation/CEP%2011.1%20HTML%20Ex...

It seems that the documentAfterActivate and documentAfterDeactivate shown on this page are not received by AfterEffects.

I am using machine translation, so if you have any difficulties in understanding, please ask.

 

Thank you.

TOPICS
How to , Scripting , SDK
242
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 ,
Nov 21, 2023 Nov 21, 2023

Unfortunately, After Effects doesn't provide such events.

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 Expert ,
Nov 21, 2023 Nov 21, 2023

i don't know about CEP, but you can periodically check the current project name and path, and when it changes from the last call you can deduce a new project was opened.

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 ,
Nov 22, 2023 Nov 22, 2023
LATEST

That's not a good practice that will lead to performance issues after a while.

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