-
Can an AE script check which effects are are already applied to the selected layer(s) when it runs ?
Can an AE script check which effects are are already applied to the selected layer(s) when it runs ?
Googling and looking through the scripting guide I’m so far not finding a straightforward way to do this. (no such AVLayer or Layer attribute?) I have a script that runs on the selected layer(s) and would like to post a dialogue and abort the script in cases where a specific effect is already applied to any of the selected layers…
If it’s not possible to do it that way I’m thinking of doing the check based on layer name – since the layers I’m trying to avoid users running the script on are layers that have previously been created (and named) by my script so I have control of what the layers are named (at least till a user changes the name : )
Thanks for any info / ideas.