0
#include Doesn't work in AE CS4
New Here
,
/t5/after-effects-discussions/include-doesn-t-work-in-ae-cs4/td-p/1678532
Mar 13, 2009
Mar 13, 2009
Copy link to clipboard
Copied
Anyone have a work around for the "#include" javascript in CS4. Used an external file to drive some text in my comp in CS3, but the same script doesn't work in CS4. I even downloaded a comp from the
Graymachine.com
website to check and it didn't work either.
I'm on a MAC, by the way.
I'm on a MAC, by the way.
TOPICS
Expressions
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/after-effects-discussions/include-doesn-t-work-in-ae-cs4/m-p/1678533#M147978
Mar 16, 2009
Mar 16, 2009
Copy link to clipboard
Copied
No idea, but since this is an unofficial "hack" anyway, you cannot blame anyone. This feature may have been removed. As a minor, look whether your permissions for scripts in the prefs are set to read and write files...
Mylenium
Mylenium
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Eagles_Vision
AUTHOR
New Here
,
/t5/after-effects-discussions/include-doesn-t-work-in-ae-cs4/m-p/1678534#M147979
Mar 24, 2009
Mar 24, 2009
Copy link to clipboard
Copied
I use Scripts Panels, so the javascript selection is checked already to read and write files. Although, I can appreciate the start with the obvious first.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
/t5/after-effects-discussions/include-doesn-t-work-in-ae-cs4/m-p/1678535#M147980
Mar 28, 2009
Mar 28, 2009
Copy link to clipboard
Copied
instead of #include you can try to use the $.evalFile(path of your file).
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

/t5/after-effects-discussions/include-doesn-t-work-in-ae-cs4/m-p/1678536#M147981
May 04, 2009
May 04, 2009
Copy link to clipboard
Copied
Sebastian, that took care of the problem for me. Text files are now accessed and text is replaced. Thanks for the tip!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
/t5/after-effects-discussions/include-doesn-t-work-in-ae-cs4/m-p/1678537#M147982
Jun 17, 2009
Jun 17, 2009
Copy link to clipboard
Copied
Does anyone know if you can link to an excel spreadsheet? I've got an expression setup to read from a text file but would love to link to a spreadsheet.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/after-effects-discussions/include-doesn-t-work-in-ae-cs4/m-p/1678538#M147983
Jun 17, 2009
Jun 17, 2009
Copy link to clipboard
Copied
The problem is that whatever is in the file has to be valid JavaScript syntax. I think it would be tricky to get that to work with a bunch of spreadsheet data.
Dan
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

