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

CEP Panel: Event Listener Layer Selection

New Here ,
Mar 20, 2020 Mar 20, 2020

Hey, I'm fairly new to plugin creation in Adobe products / After Effects and I'm hoping you can help me.

 

I'm trying to create an event via CSInterface whenever a layer is selected within a comp.

I then want to adjust my HTML5 Panel accordingly to the selected layer.

 

Is this possible and if so, how?

 

I couldn't find anything about this behaviour.

 

Also: If somebody has any link to a good ressource for CSInterface.js and it's communication with After Effects and my panel I would highly appreciate it.

 

Thank you.

TOPICS
How to , Scripting , SDK , User interface or workspaces
686
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
LEGEND ,
Mar 20, 2020 Mar 20, 2020
LATEST

I don't think there is any such thing. AE is basically "stateless" with everything being defined by the property streams and their contexts, give or take a few hard-coded UI functions. That's why you explicitly have to check selection states i nscripts for instance because AE has no built-in automatic functions for this.

 

Mylenium

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