Quantcast
Channel: Adobe Community : Unanswered Discussions - After Effects
Viewing all articles
Browse latest Browse all 30854

#include can't use a variable?

$
0
0

I haven't used #include previously, but is it not able to use a variable that holds the file path string?

 

Fails:

var doc = "/Desktop/TEST.jsxinc";

#include doc

 

 

Works:

#include "/Desktop/TEST.jsxinc"

 

 

I only ask because the folder path is dynamic and will vary, so I need to concat the folder path to the set file name.


Viewing all articles
Browse latest Browse all 30854

Trending Articles



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