🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Assign a script to a shortcut

#71
From: JohnPWilliamson
Date: Tue, 05 Sep 2006 10:52
11 lines
1428 bytes
Yes, I think there is a solution to this...

You can run a script by calling afterfx.exe again, from the operating system, with the script as an argument. This doesn't open a new instance of After Effects, it just runs the script in the existing session. Use the -r switch and then the full path of the script you wish to run e.g.

afterfx -r c:\myscripts\save_and_increment.jsx

Knowing this, the software that comes with most customisable keyboards allows you to bind a shortcut to them to run a custom program (calc/notepad etc.). So just create a windows shortcut to the AfterFX exe with the argument as above, and run this shortcut from your key.

Hope this helps

Chris
Technical Details
Message-ID: <2ccead8c.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing
References: <2ccead8c.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efebe,90a88a0f2c91aa89,start
X-Google-Attributes: gid1efebe,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: JohnPWilliamson@adobeforums.com
Newsgroups: adobe.after.effects.scripting.render
Subject: Re: Assign a script to a shortcut
Message-ID: <2ccead8c.1@webcrossing.la2eafNXanI>
Date: Tue, 5 Sep 2006 03:52:24 -0700
References: <2ccead8c.-1@webcrossing.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing