Mailing List AE-List@media-motion.tv ? Message #49343
From: David Torno <torno@sydefxink.com>
Subject: Re: [AE] comp name expression
Date: Tue, 4 Jun 2013 09:55:00 -0700
To: After Effects Mail List <AE-List@media-motion.tv>
Hahha, yes, brain are still waking up. ;)

If you want only selected comps in the project window then you would change these three lines...

proj = app.project;
totalItems = proj.numItems;
curItem = proj.item(i);

to

proj = app.project.selection;
totalItems = proj.length;
curItem = proj(i);


that should cover it. I'll verify it in a little bit.


David Torno
Visual Effects Artist & Supervisor
http://www.ghosttownmedia.com
O: 213.739.2290
C: 818.391.6060
---------------------
http://www.sydefxink.com
http://aeioweyou.blogspot.com
http://mactex.blogspot.com

"The most useless day is that in which we do not laugh"
-Charles Field

On Jun 4, 2013, at 9:06 AM, Py Fave <pyfave@gmail.com> wrote:

> 2013/6/4 David Torno <torno@sydefxink.com>:
>> I through an error catcher on it too just incase
>
>
> you threw fast !
>
> a few lines have to be changed to only rename selected comps.
>
> but i can't remember
> app.project.activeItem somewhere ??
> just in case you have two more minutes :-)
>
> +---End of message---+
> To unsubscribe send any message to <ae-list-off@media-motion.tv>
>
 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster