Match Composition to Layer Size Script

After a misunderstanding in the office I’m at, Chip wondered if there was a hot-key to resize the composition to the currently selected layer. I was free and figured it would take no time, so I wrote it as a gift.

I modified Scale Composition.jsx that comes bundled with After Effects to check for a selected layer’s bounding box, scale the comp to that size, then reposition al layers relative to the new size.

Chip is a real person and the script is named after him, but this is mainly a joke. Have fun.

Update Oct 9, 2018: Use layer in point to determine bounding box instead of time = 0.

Previous
Previous

Connecting Linear Wipe Completion to a Null Object