Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Scripts don’t work

  • Scripts don’t work

    Posted by Dmitriy Khomyakov on November 19, 2024 at 5:43 am

    I had this problem. I wrote several scripts, they worked successfully, at one point some functions stopped working, for example, when you click on a button nothing happens.
    Moreover, the same script works on another computer.
    I turned off the antivirus, ran After Effects with admin rights, nothing helps.
    Help, because I don’t know what to do anymore.
    Could it be that somewhere the script was entered as unwanted and that’s why it’s not working now? Do you know how to solve this problem?

    John Cuevas
    replied 2 weeks, 3 days ago
    3 Members · 4 Replies
  • 4 Replies
  • John Cuevas

    November 19, 2024 at 3:30 pm

    In your preferences check under application scripting and check “Allow scripts to write files and access network” and see if that changes things.

    The only other thing that I can think of is going into the project settings “Cntl+Alt+Shift+K” and change the Expressions Engine.

    Also, if you want to upload some of the scripts, I’d be willing to test them out on my machine and see if I run into issues.

  • Dmitriy Khomyakov

    November 25, 2024 at 6:01 am

    Hello. On one of the computers everything worked, I decided to check “Cntl+Alt+Shift+K” and there was no java :))

    But for some reason the script still runs on the second computer but does not respond to pressing the button, although on the first everything works fine. There are doubts that something is wrong with the code, because if the code was not correct then it would not work anywhere.

    But thank you, on one of the computers the problem is solved, it remains to solve it on all other computers :))

  • Dan Ebberts

    November 25, 2024 at 10:24 pm

    >because if the code was not correct then it would not work anywhere.

    That’s not necessarily true. It’s possible that your code uses a JavaScript capability that doesn’t actually exist in the version of JavaScript used to implement ExtendScript. A good example is indexOf() for arrays. Sometimes you can get away with it because another script has modified Array.prototype to add that functionality and so any other scripts that (incorrectly) use that capability luck out and run without error (in that environment only). I have no idea if anything like that is happening in your case, but I wanted to point out that it does happen, and causes symptoms like you’re experiencing.

  • John Cuevas

    November 25, 2024 at 10:39 pm

    Did you switch to the “expressions” tab. Because the pulldown I was mentioned is there.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy