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!