🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.after.effects.scripting.render
Article #18

Re: Startup Script to run if application is launched vs project launched

#18
From: Jeff_Almasol
Date: Tue, 18 Nov 2008 20:20
9 lines
1001 bytes
Hi Rob,

Assuming your existing project actually has items in it, you might be able to check if app.project.numItems > 0 to proceed with the script or not.

Note that you can't just check if the app.project.file == null because a project saved in an earlier version of After Effects will come in as untitled.

Hope this helps.

Jeff
Technical Details
Message-ID: <59b70f1e.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing
References: <59b70f1e.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efebe,e0ad89b731db308e
X-Google-Attributes: gid1efebe,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jeff_Almasol@adobeforums.com
Newsgroups: adobe.after.effects.scripting.render
Subject: Re: Startup Script to run if application is
 launched vs project launched
Message-ID: <59b70f1e.0@webcrossing.la2eafNXanI>
Date: Tue, 18 Nov 2008 12:20:37 -0800
References: <59b70f1e.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing