user9154: lets sayI have a comp in after effects with one layer. The layer appears to be longer than the actual comp. Is there any shortcut to make the comp automatically fit the length of the layer?
Thanks in advance!

user1871: This free script - rd: Comp Setter - should help.

user1950: I also wrote a script that does it with one click. Get it here free (RD Comp Setter does a lot more as well, so use whichever one you like the looks of).

9154: <p>lets sayI have a comp in after effects with one layer. The layer appears to be longer than the actual comp. Is there any shortcut to make the comp automatically fit the length of the layer?</p>

<p>Thanks in advance!</p>
 1871: <p>This free script - <a href="http://aescripts.com/rd-compsetter/" rel="nofollow">rd: Comp Setter</a> - should help.</p>
 1950: <p>I also wrote a script that does it with one click. Get it <a href="http://blob.pureandapplied.com.au/first-n-last/" rel="nofollow">here free</a> (RD Comp Setter does a lot more as well, so use whichever one you like the looks of).</p>
