Highlighted

loopIn AND loopOut script is awesome, but needs a fix for the new Javascript version.

New Here ,
May 17, 2019

Copy link to clipboard

Copied

So I've been using this script ALL the time:

//loop in AND out:

if (time < key(1).time) loopIn();

if (time >= key(1).time && time <= key(numKeys).time) value;

if (time > key(numKeys).time) loopOut();

What is does is, it not only loops keyframes IN but also OUT. Extremely handy.

However, it no longer works in the Javascript version. Only in the Legacy version of the After Effects Expressions. I'm not super script savvy, and I'm wondering what would make this script work again!

If you make it work I will promise you it will make a lot of people happy when they find it haha... (I use it everywhere).

Thank you!

if (time < key(1).time) loopIn();

else loopOut();

TOPICS
Expressions

Views

185

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

loopIn AND loopOut script is awesome, but needs a fix for the new Javascript version.

New Here ,
May 17, 2019

Copy link to clipboard

Copied

So I've been using this script ALL the time:

//loop in AND out:

if (time < key(1).time) loopIn();

if (time >= key(1).time && time <= key(numKeys).time) value;

if (time > key(numKeys).time) loopOut();

What is does is, it not only loops keyframes IN but also OUT. Extremely handy.

However, it no longer works in the Javascript version. Only in the Legacy version of the After Effects Expressions. I'm not super script savvy, and I'm wondering what would make this script work again!

If you make it work I will promise you it will make a lot of people happy when they find it haha... (I use it everywhere).

Thank you!

if (time < key(1).time) loopIn();

else loopOut();

TOPICS
Expressions

Views

186

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 17, 2019 0
Engaged ,
May 17, 2019

Copy link to clipboard

Copied

if (time < key(1).time) loopIn();

else loopOut();

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 17, 2019 0
New Here ,
May 17, 2019

Copy link to clipboard

Copied

This seems to work perfectly! It's much shorter too! Thank you very much for your quick answer

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 17, 2019 0