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

Run a script from AEGP as soon as project is loaded

$
0
0

Hi,

I have a very specific and maybe a little bit weird intention. I want a script to be executed inside aegp plugin as soon as project loaded. I tried registering an idlehook function and placing AEGP_ExecuteScript function into it. But this function get called too early, as soon after effects starts, but before project loads.

I also tried cheating and using this function from Project suite   suites.ProjSuite6()->AEGP_GetNumProjects(&num_projPL) == 1   to check whether a project is loaded or not and then call ExecuteScript function. But it didn't work.

Is there any way to get this job done, maybe  an aegp function which will let know if project has been loaded or not?

 

Thanks!!


Viewing all articles
Browse latest Browse all 73444

Latest Images

Trending Articles



Latest Images

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