Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions script access previous layers inpoint and setting keyframes issue

  • script access previous layers inpoint and setting keyframes issue

  • Marvin Claußen

    June 14, 2022 at 11:38 pm

    I’m writing a script that:
    first: moves layers that match names with markers to that marker’s time.
    second: It deletes old keyframes and creates new keyframes for x pos, y pos, opacity on selected layers, based on its’ inpoint and the previous’ layers’ inpoint

    it semi-works for some layers (it creates keyframes for the first 3 layers, but misses the last 2 layers) and I’m also getting an error. also I think theres a much better way to set the keyframes, but I’m not good enough to write it that way. any help would be appreciated.

    script : https://pastebin.com/1MdFktvx

  • Marvin Claußen

    June 15, 2022 at 5:53 pm

    Figured it out with some help.

    Putting the finished script here for future reference: https://pastebin.com/kb1xMwGp

Viewing 1 - 2 of 2 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy