Return-Path: Received: from atl4mhob07.myregisteredsite.com ([209.17.115.45] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5095525 for AE-List@media-motion.tv; Tue, 04 Jun 2013 18:45:22 +0200 Received: from mail.hostingplatform.com ([10.30.71.207]) by atl4mhob07.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id r54Gt2OR029503 for ; Tue, 4 Jun 2013 12:55:02 -0400 Received: (qmail 14621 invoked by uid 0); 4 Jun 2013 16:55:02 -0000 Received: from unknown (HELO ?10.0.1.7?) (torno@sydefxink.com@75.51.169.28) by 0 with ESMTPA; 4 Jun 2013 16:55:02 -0000 Subject: Re: [AE] comp name expression References: From: David Torno Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10B329) In-Reply-To: Message-Id: <3BF84392-B848-45A5-B573-1700D2CFE454@sydefxink.com> Date: Tue, 4 Jun 2013 09:55:00 -0700 To: After Effects Mail List Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Hahha, yes, brain are still waking up. ;) If you want only selected comps in the project window then you would change t= hese three lines... proj =3D app.project; totalItems =3D proj.numItems; curItem =3D proj.item(i); to proj =3D app.project.selection; totalItems =3D proj.length; curItem =3D 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 wrote: > 2013/6/4 David Torno : >> I through an error catcher on it too just incase >=20 >=20 > you threw fast ! >=20 > a few lines have to be changed to only rename selected comps. >=20 > but i can't remember > app.project.activeItem somewhere ?? > just in case you have two more minutes :-) >=20 > +---End of message---+ > To unsubscribe send any message to >=20