Expression to Keyframes on specific property
I’m trying to convert an expression to keyframes on a specific property on a pseudo effect. Is it even possible? Here’s what I have so far. The variable for myProp is throwing an error.
myComp = app.project.activeItem;
myLayer = myComp.selectedLayers;
myProp = myLayer.effect("Faux Parent")("Position Offset");
app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes"));