Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

adding an expression to the script

$
0
0

Good afternoon

 

Trying to add expression to script.

 

String that causes an error

------------------------------------------------------------------------------------------ -----------------------------------------------------------------------------------------

app.project.item(7).layer(1).property("ADBE Effect Parade").property("Stonetics Alpha Feather")("Stonetics Alpha Feather-0001").expression = "comp("ClBG").layer("Null 1")("ADBE Effect Parade")("ADBE Slider Control")("ADBE Slider Control-0001");";

------------------------------------------------------------------------------------------ -----------------------------------------------------------------------------------

 

echo Expected: ;

 

If you write

------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ ----------

app.project.item(7).layer(1).property("ADBE Effect Parade").property("Stonetics Alpha Feather")("Stonetics Alpha Feather-0001").expression = "5;";

------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ -------------

the all marks normally

 

If you write as expression, in app.project.item(7).layer(1).property("ADBE Effect Parade").property("Stonetics Alpha Feather")("Stonetics Alpha Feather-0001")

------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ --------------------

comp("ClBG").layer("Null 1")("ADBE Effect Parade")("ADBE Slider Control")("ADBE Slider Control-0001")

------------------------------------------------------------------------------------------ --------------------------------------------------------------------

the all marks normally...

 

Can someone explain why ???


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>