Article View: adobe.after.effects.scripting.render
Article #18Re: Startup Script to run if application is launched vs project launched
From: Jeff_Almasol
Date: Tue, 18 Nov 2008 20:20
Date: Tue, 18 Nov 2008 20:20
9 lines
1001 bytes
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!webcrossingReferences:
<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