Skip to main content
migueld83371718
Inspiring
July 1, 2019
Answered

Launch secondary extenssion on startup AE

  • July 1, 2019
  • 1 reply
  • 613 views

Hi, I'm trying to boot an invisible extension when after effects starts. According to the documentation, there is no event to detect when After effects is running, so I am trying to boot from another extension, which is started from the extensions menu. I have this code in my main extension (.js file):

new CSInterface().requestOpenExtension('com.my.secondary.extension');

Here is my problem: when I start the visible extension from the menu, the invisible extension does start, but if I leave my visible extension open when closing after effects, once I start it again, my visible extension starts, but the secondary does not. Is there any workarround to solve this issue?

This topic has been closed for replies.
Correct answer Justin Taylor-Hyper Brew

You can have auto-start invisible panels as long as you include the following lines in your Lifecycle tag in DispatchInfo

<Lifecycle>

      <AutoVisible>false</AutoVisible>

      <StartOn>

                  <Event>com.adobe.csxs.events.ApplicationActivate</Event>

                  <Event>com.adobe.csxs.events.ApplicationInitialized</Event>

      </StartOn>

</Lifecycle>

1 reply

Justin Taylor-Hyper Brew
Community Expert
Community Expert
July 1, 2019

You can have auto-start invisible panels as long as you include the following lines in your Lifecycle tag in DispatchInfo

<Lifecycle>

      <AutoVisible>false</AutoVisible>

      <StartOn>

                  <Event>com.adobe.csxs.events.ApplicationActivate</Event>

                  <Event>com.adobe.csxs.events.ApplicationInitialized</Event>

      </StartOn>

</Lifecycle>

migueld83371718
Inspiring
July 1, 2019

Thanks for saving the day again! In the documentation this aspect about after effects is not very clear :/