Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

When is it OK to run a java script using AEGP_ExecuteScript.

$
0
0

Hello, I am writing a plugin using the c++ SDK which takes the fonts names of the current selected composition.

Get the font name is done by executing a java script and this code is a part of the idle hook.

My problem is that when a model window of after effects is open, i get popup messages telling me that it is not allowed to execute a script while a model window is open.

Also, when i try to edit a text i get a strange message saying: "need to focus on ourselves".

 

Is there any way to ask after effect if it is OK to run a script?

 

Thanks!


Viewing all articles
Browse latest Browse all 73444

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>