• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

#include Doesn't work in AE CS4

New Here ,
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.
TOPICS
Expressions

Views

3.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
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).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 17, 2009 Jun 17, 2009

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines