Return-Path: Received: from mail-la0-f46.google.com ([209.85.215.46] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5114367 for AE-List@media-motion.tv; Fri, 21 Jun 2013 02:41:00 +0200 Received: by mail-la0-f46.google.com with SMTP id eg20so6395906lab.19 for ; Thu, 20 Jun 2013 17:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Zhi6jODsjMMJXrPFUF1HxdFbhzrOcoivEqlgeZC52q0=; b=qa7EASmDhpT0+FpIrum1FKNOhuKY1Uf9T8QuV9YmwUw/Dn1wemVwqGaBnW7gG2QvJg QELsdEt1fxmGLWPBx3ogj76aYbuK4g3xagpj/RYHcA/ro2KPg2jXPOB0z/1lewnuTsAV X8sTiupIhpXBSZzHhW6OALK3vqjrjBjFjAH46M3sQlnHvZNwNuFgTT2JV8+ee/1lnRti hABThTgLdEJqvrB4pVqsZ+ZAKmh3GFOVu2eaPRMEB4HSlXvNpStPUhanPeGxoEYkkuce sj7HZ61yuk7WmxQL48m2OFdOzr4SIlU3H73JVwPFNiecEBjHxCk+1XIRTs3Rn345upcS PsAw== X-Received: by 10.112.209.3 with SMTP id mi3mr6521638lbc.87.1371775871339; Thu, 20 Jun 2013 17:51:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.16.135 with HTTP; Thu, 20 Jun 2013 17:50:51 -0700 (PDT) In-Reply-To: References: From: Jeff Almasol Date: Thu, 20 Jun 2013 17:50:51 -0700 Message-ID: Subject: Re: [AE] Open Comp in script To: After Effects Mail List Content-Type: multipart/alternative; boundary=001a11c3826e85d24d04df9f75d7 --001a11c3826e85d24d04df9f75d7 Content-Type: text/plain; charset=ISO-8859-1 hi phil, as of CS6, there's an openInViewer() method that you can use for a CompItem (to open in the Composition panel), AVLayer (to open in the Layer panel), or FootageItem (to open in the Footage panel). see the CS6 Scripting Guide for more details: http://blogs.adobe.com/aftereffects/2012/06/scripting-changes-in-after-effects-cs6-plus-new-scripting-guide.html :jeff On Thu, Jun 20, 2013 at 4:53 PM, Phil Spitler wrote: > Hi, I have a script that duplicates the current comp, then does a bunch of > stuff. > > I can't get the new comp to open via the script. > > I want the new comp to be the current timeline. > > Any ideas? > > Cheers. > > Phil > > *Phil Spitler* | Creative Technologist | *Bonfire Labs* | t : > 415.394.8200 m : 415.571.3139 > > Website | Facebook| > LinkedIn > > hi --001a11c3826e85d24d04df9f75d7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
hi phil,

as of CS6, there's an open= InViewer() method that you can use for a CompItem (to open in the Compositi= on panel), AVLayer (to open in the Layer panel), or FootageItem (to open in= the Footage panel).

see the CS6 Scripting Guide for more details:

:jeff



On Thu, Jun 20, 2013 at 4:53 PM, Phi= l Spitler <phil@bonfirelabs.com> wrote:
Hi, I have a script th= at duplicates the current comp, then does a bunch of stuff.

I can't get the new comp to open via the script.

I want the new comp to be the current timeline.

Any ideas?

Cheers.

Phil

Phil Spitler= =A0 |=A0 Creative Technologist =A0 |=A0 Bonfire Labs=A0 |=A0 t : 415.394.8200=A0 m : 415.571.3139

Website | Facebook | <= a href=3D"http://www.linkedin.com/company/235257?trk=3Dtyah" target=3D"_bla= nk">LinkedIn

hi=A0
--001a11c3826e85d24d04df9f75d7--