Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Batch Resize Paragraph Text

  • Batch Resize Paragraph Text

    Posted by Vernon Notsky on January 19, 2022 at 7:44 am

    Does anybody know of any scripts that will batch resize paragraph text? I’m hoping I can find/buy one and save myself the trouble of writing one. Basically, I need all of 1000 different blocks of paragraph text across 50 compositions to be resized.

    Vernon Notsky replied 4 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Andrei Popa

    January 19, 2022 at 8:04 am

    This should do it. Select your compositions in the project panel and run this. Replace [100,200] on row 13 with what values you need

    function changeParagraphSize(myComp,newSize) {
    for (var i = 1; i <= myComp.numLayers; i++) {
    var crtLayer = myComp.layer(i);
    var t = crtLayer("ADBE Text Properties")("ADBE Text Document");
    var td = t.value;
    td.boxTextSize = newSize;
    t.setValue(td);
    }
    }
    function changeParagraphSizeInProject(){
    var comps = app.project.selection;
    for(var i=0; i<comps.length; i++){
    changeParagraphSize(comps[i],[100,200])
    }
    }
    changeParagraphSizeInProject();
  • Vernon Notsky

    January 19, 2022 at 9:25 am

    Oh wow, thanks a ton! That’s above and beyond. 😀

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