Skip to main content
Alan_AEDScripts
Inspiring
August 13, 2013
Question

Sublime Text Build for After Effects

  • August 13, 2013
  • 2 replies
  • 5526 views

Any Sublime text experts out there... ? Made a build system to send current file to be executed in AFX...

I did try it with the -s and feeding a  line of code and it works. So when I switch to sending the current file....

It switches over to AFX but does nothing... can't figure it out. I am aware of the build system from AEtuts but I

am trying to figure stuff out and learn as I go along.... (Not an expert in Sublime/Python/cmd line)

//Contents of my build file...

{

  

    "cmd": ["afterfx", "-r", "\"$file\""]

}

//Which sends (I think) to the command line.

Running afterfx -r "C:\Program Files\Adobe\Adobe After Effects CS5.5\Support Files\Scripts\ScriptUI Panels\AED_CornerCutters\AED_AdjustmentLayer.jsx"

After Effects is called but doesn't read the jsx....

Any ideas?

This topic has been closed for replies.

2 replies

Sebastien Lavoie
Known Participant
August 20, 2013

Hi,

I'm the guy from that thing at AeTuts+ Instead separating it in 3 different arguments, you could just do

"cmd": ["afterfx -r $file"]

and this should be alright. Althought if you want to test what's your path you can do

"cmd": ["echo $file"]

I've also had some problems with Windows and to had encoding like:

"cmd": [...],

"encoding": "cp850"

don't ask me why but it fixed some bugs.

It's all untested code but I hope it can help you!

Alan_AEDScripts
Inspiring
August 20, 2013

Hi Sebastian - Know you well on the web, only watched your mini - documentary there last week.

Many thanks - will try that when I return from holidays...

I already tried your build, but it's not exactly what I need. Anyway I am pretty happy to code and pop across to ESTK to send to AFX, it's no big deal really, just an extra click. This is just to get script to run in AFX - when not needing to bug check.

Really appreciate that.

A

Sebastien Lavoie
Known Participant
August 22, 2013

Merci beaucoup pour l'assistance!


Sans problème!

Ekibyo_Kaim
Known Participant
August 14, 2013

Hi,

I believe AE doesn't load your script because it's in a folder inside the ScriptUI panels.

just, try to change that path:

"C:\Program Files\Adobe\Adobe After Effects CS5.5\Support Files\Scripts\ScriptUI Panels\AED_CornerCutters\AED_AdjustmentLayer.jsx"

to that:

"C:\Program Files\Adobe\Adobe After Effects CS5.5\Support Files\Scripts\ScriptUI Panels\AED_AdjustmentLayer.jsx"

Alan_AEDScripts
Inspiring
August 15, 2013

Thanks for the reply but same deal - not working - just popping over to After Effects and doing nothing.