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

Help unterminated string constant error?

New Here ,
Mar 08, 2015 Mar 08, 2015

I have been working with after effects and I was trying to make a wiggle effects, I watched a tutorial about how to do it, I followed everything correctly, but I got an error.. Can anyone help me out, I entered this as expression (it was in video description)

minAudio = 0;

maxAudio = 100;

minStretch = 90;

maxStretch = 120;

audioLev = thisComp.layer("Sound Keys").effect("Sound Keys")("Output 1”);

s = linear(audioLev, minAudio, maxAudio, minStretch, maxStretch);

[s,s]

Screen Shot 2015-03-08 at 10.44.07 PM.png

TOPICS
Scripting
675
Translate
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 ,
Mar 09, 2015 Mar 09, 2015
LATEST

‌Well ...

1. This is the InDesign forum ...

2. You may have cropped the image to not include your entire screen.

3. Using the ESTK editor, you could have seen this with the syntax highlighting,

and finally 4. the error message tells you what line it is on.

The very last double quotation mark is a curly one, not a straight. Strings in Javascript may only use straight quotes.

Translate
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