app.project.item(index).layer(index).propertySpec.setValueAtKey(keyIndex,newValue)
Description
Finds the specified keyframe and sets its value.
If the named property has no keyframes, or no keyframe with the specified index, this method generates an exception and displays an error.
Parameters
keyIndex The index for the keyframe. An integer in the range [1..numKeys], as returned by the addKey or nearest -KeyIndex method.
ne wVa lue A value appropriate for the type of property being set; see Property propertyValueType attribute”.
Returns
Nothing.