FORUMS: list search recent posts

Extendscript: Add keyframes to hidden property

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Simon Heimbuchner
Extendscript: Add keyframes to hidden property
on Jan 1, 2019 at 4:19:10 pm

Hey guys,

as the title says, I'm trying to add keyframes to hidden properties.
Pretty straight forward, this is my code:
var Comp = app.project.activeItem;
var currentLayer = Comp.selectedLayers[i];
currentLayer.effect("Test")(5).setValueAtTime(Comp.time,myValue = 5);

The effect that's being called is just a hidden Slider Control I made with Pseudo Effect Maker.


The error message I get is this:
Unable to execute script at line 3. After Effects error: Can not "set value at time" with this property, because the property or a parent property is hidden.

I have a strong feeling there's just no way to achieve this. However, I'd be really happy if anyone knows a workaround for this problem.

Thanks in advance,
Simon

Motion Designer
Website: http://simonheimbuchner.de/


Return to posts index

Simon Heimbuchner
Re: Extendscript: Add keyframes to hidden property
on Jan 1, 2019 at 4:26:00 pm
Last Edited By Simon Heimbuchner on Jan 2, 2019 at 8:05:09 am

Whoops. I just figured it out myself. Seems like i set it up wrong.

Basically, I had a few hidden Slider Controls inside a hidden group. The double-hidden setup seemed to be the problem. Once I removed the "invisible" property from the actual Slider Controls, it all worked fine.


EDIT: Whoops again. The Slider Controls are hidden in the effects panel, but visible in the timeline, once you do the "u u" shortcut.
Anyone still up for this?

Motion Designer
Website: http://simonheimbuchner.de/


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]