ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

expressions and scripts

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Marian Oprea
expressions and scripts
on Oct 22, 2010 at 2:28:10 pm

As long as I haven't found an answer yet, I still have a question:

Is it possible to run (open, launch) a scrips (*.jsx file) using an expression?

If it is, how can this be done?

Thanks a lot.


Return to posts index

Roland R. Kahlenberg
Re: expressions and scripts
on Oct 22, 2010 at 3:57:02 pm

[Marian Oprea] "Is it possible to run (open, launch) a scrips (*.jsx file) using an expression?"

I don't think so. You can however run Expressions and presets via a *.jsx.

HTH
RoRK

AE Training in South East Asia. AE templates for sale and rental. Click here for more


Return to posts index

Marian Oprea
Re: expressions and scripts
on Oct 22, 2010 at 5:24:04 pm

Yes, I knew that, but I was just interested if it could be possible the other way around.

Thanks anyway.

AE's Great!


Return to posts index


Chris Wright
Re: expressions and scripts
on Oct 22, 2010 at 5:58:45 pm

the only way to do this is have a script run continuously in the background in a loop, waiting for an expression to trigger it to run another script.

http://technicolorsoftware.hostzi.com/


Return to posts index

Roland R. Kahlenberg
Re: expressions and scripts
on Oct 22, 2010 at 6:30:18 pm

That's interesting Chris. What would the syntax be to call up the JSX?

Cheers
RoRK

AE Training in South East Asia. AE templates for sale and rental. Click here for more


Return to posts index

Chris Wright
Re: expressions and scripts
on Oct 22, 2010 at 6:53:24 pm

ae's DemoPalette.jsx runs external jsx from itself. it's in the scripts folder and runs forever as infinite functions.

var scriptFile = new File(this.scriptFileName);
scriptFile.open();
eval(scriptFile.read());
scriptFile.close();



expressions in scripts are like
if (theLayer.opacity.expression == theExpr2) //can be text too
do the dancing song.

http://technicolorsoftware.hostzi.com/


Return to posts index


Marian Oprea
Re: expressions and scripts
on Oct 22, 2010 at 7:07:41 pm

Thanks Chris, very interesting.
I'll take a look and see what's all about.

Thanks again!

AE's Great!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]