Effect's index
Hi!
I have a problem to get an Effect's index. I tried to solve my problem by getting the Effect's name, and it works fine, except if user gives that name twice, so I'm still stucked...
How can you return the Effect's index, usable by Script? For example, my effect is the second effect applied on my layer, how can I get this "2" index?
I figured out how to get layer's index, comp's unique_ID, but see no reference for effect's index into the SDK documentation...
I also tried to iterate with AEGP_GetLayerNumEffects and compare effect_refH, but it doesn't work...
Does anyone know a way?
Thanx,
François
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I found a work around, by changing the name of my effect, calling it by script with the new name, then re-give the old name, but there must be something more simple...
Any idea?
Thanx
