Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Unfortunately, After Effects doesn't provide such events.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
That's not a good practice that will lead to performance issues after a while.