Quantcast
Channel: Adobe Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 238792

Problem with script on Acrobat X Pro Mac OS

$
0
0

Hello,

 

I got sevral time a "syntax error", a mising ')' or '}' or unterminated commet into my javaScript, in script that were actually perfectly correct.

 

Turns out that the exact same script typed on Acrobat X on Windows, then opened on Mac OS would cause the same kind of error (usually, like this:

 

line 58 : SyntaxError: unterminated comment

57:.

 

)

 

I've noticed that if I shorten the code a bit (removing comments for exemple, or spaces between code blocks), it can solve the problem.

 

Now I'd like to keep my code readable, so is there a solution to solve this problem?

 

(I tried to uninstall/reinstall => nothing change)

 

Also, if I try to edit all JavaScript scripts at once, oppening the file isn't a problem, I can edit everything I want. But Once I'm done, when I close teh editor, Acrobat will freeze, letting me no choice but kill the app. I don't know if this two problems are caused by the same thing...


Viewing all articles
Browse latest Browse all 238792

Trending Articles



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