Activity › Forums › Adobe After Effects › expressions and scripts
-
expressions and scripts
Posted by Marian Oprea on October 22, 2010 at 2:28 pmAs 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.
Marian Oprea replied 15 years, 11 months ago 3 Members · 6 Replies -
6 Replies
-
Roland R. kahlenberg
October 22, 2010 at 3:57 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
RoRKAE Training in South East Asia. AE templates for sale and rental. Click here for more
-
Marian Oprea
October 22, 2010 at 5:24 pmYes, I knew that, but I was just interested if it could be possible the other way around.
Thanks anyway.
AE’s Great!
-
Chris Wright
October 22, 2010 at 5:58 pmthe 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.
https://technicolorsoftware.hostzi.com/
-
Roland R. kahlenberg
October 22, 2010 at 6:30 pmThat’s interesting Chris. What would the syntax be to call up the JSX?
Cheers
RoRKAE Training in South East Asia. AE templates for sale and rental. Click here for more
-
Chris Wright
October 22, 2010 at 6:53 pmae’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.https://technicolorsoftware.hostzi.com/
-
Marian Oprea
October 22, 2010 at 7:07 pmThanks Chris, very interesting.
I’ll take a look and see what’s all about.Thanks again!
AE’s Great!
Reply to this Discussion! Login or Sign Up