Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects ExtendScript – Populate text and effect

  • ExtendScript – Populate text and effect

    Posted by Chase Wells on October 11, 2019 at 12:04 am

    Greetings!

    I’m very new to extendscript and was wondering if somebody could give me a quick hand.

    I’m trying to accomplish a script that you can click a button which populates text with an effect added to it.

    I was able to piece together a button and populate text but am unable to assign any effects to it. Below is the script i used.

    var myWin = new Window(“palette”, “My Window”,undefined);

    var closeGroup = myWin.add(“group”, undefined, “GroupOne”);

    var closeButton = closeGroup.add(“button”, undefined, “Click Me”);

    myWin.center();
    myWin.show();

    closeButton.onClick = function(){
    app.project.item(1).layers.addText(“TEST TEXT”);
    }

    Any help would be greatly appreciated.

    Tomas Bumbulevičius replied 6 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply

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