Copy link to clipboard
Copied
Is there any Shortcut or Script to manipulate for example 10 keyframes all randomly setted in the time line to the exact same length between each other? So like align "distance between".
Thanks in advance,
Fabian
Copy link to clipboard
Copied
I used an old technique to do this. If you copy your Keyframes and paste it into a Notepad or Textedit file, you should see the info of your keyframes as a text. Under the Frame column, you can change the number to set the duration interval you need between them. Then, copy again this text and paste it into you parameter in After Effects. Your keyframes will be set at the position you changed in the text file.
I'm looking for a script at aescripts but not sure if exists something to do this automatically.
Copy link to clipboard
Copied
If they're all on the same property, then rove across time may be what you need. If they're on different props then try the Rift script.
Copy link to clipboard
Copied
So I tried the Rift script, but in my case thats not the exact thing I was looking for. It does Align Keyframes to different patterns, but unfortunately It can't set random keyframes in one comp to the same distance between each other. Correct me if I'm wrong
Copy link to clipboard
Copied
Thank you justin, I'm gonna try this
Copy link to clipboard
Copied
This seems like a good technique, but way to cumbersome in my opinion. There should be a particular align option for keyframes.
Copy link to clipboard
Copied
Someone got an idea? I still can't figure it out how to even the keyframes
Copy link to clipboard
Copied
I think this script does it: https://aescripts.com/keyboard/
Copy link to clipboard
Copied
If I see it right, it moves the keyframes just to the time integer frames
Copy link to clipboard
Copied
yes you are correct. it seems there is not script for it. what you could do is manually set those keyframes to be one frame after the other and then use the Alt key to expand them evenly as you drag the last keyframe. this will keep proportions.
Copy link to clipboard
Copied
If you split (CTRL+SHIFT+D) the original layer at each keyframe, you can then use one of Rift's Key Align options to get all the KFs onto the same time. Then you use Rift's Stagger option to stagger the keyframes in time, uniformly. Of course, ensure that you set Rift up to work only with Selected Keyframes
Copy link to clipboard
Copied
That's definitely a way, but in my case not worth the price, I thought there would be a faster way as dragging them manually around
Copy link to clipboard
Copied
You may get what you want using Roei's suggestion, coupled with this AE Script - https://sundstedt.se/blog/ae-script-nudge-keyframes-to-nearest-exact-frame/
Depending on how many KFs you have and how they are spread out, you may be able to get this done. Additionally, an Expression should be able to do this quite nicely - the issue is with finding someone to write the Expression for you. There's no harm trying your luck here - After Effects Expressions
Copy link to clipboard
Copied
Thank you Roland and Roei. I'll definitely try it out. Most of the time it's not a big deal to drag them manually even, but let's see if someone in the After Effects Expressions section knows how to get there.
Copy link to clipboard
Copied
Here's what I would do with 10 keyframes.
Just tried it with 10 keyframes - took me less than a minute.
If you have a hundred keyframes this won't be very quick, but with 10, it's all you need.
Second option:
Set the CTI on the first keyframe, press the * key to add a layer marker, press Shift + Ctrl/Cmnd + Right Arrow to move down the timeline 10 frames, press the * key to add another layer marker, repeat as many times as needed, Hold down the shift key and drag the keyframes to the markers in order, use the Alt/Option + drag last keyframe to adjust the spacing.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now