Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions ExtendScript: ListBox multicolumn titles not working?

  • ExtendScript: ListBox multicolumn titles not working?

    Posted by Thor Sarup on August 17, 2013 at 6:20 pm

    This works in AE CS6:

    var layerList = myPanel.add("listbox", [0, 0, 150, 180], [""], {multiselect:false, numberOfColumns:3, showHeaders:true, closeButton:true, columnTitles: ['#', 'Layer Name', 'Duration' ], columnWidths: [20,80,40]});

    But in AE CS5 it doesn’t though it seems like it should according to ESTK help file. Any suggestions?

    columnTitles simply isn’t a property of listbox in AE CS5 (?)

    Thor Sarup replied 12 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Xavier Gomez

    August 17, 2013 at 6:59 pm

    Hi, i tried your code and it didnt work in CS5.5. I don’t know what the 3rd argument [“”] is supposed to be.
    However it does work with a ressource string:

    var layerList = myPanel.add("listbox{bounds: [0, 0, 150, 180], properties:{multiselect:false, numberOfColumns:3, showHeaders:true, closeButton:true, columnTitles: ['#', 'Layer Name', 'Duration' ], columnWidths: [20,80,40]}});

    Xavier

  • Thor Sarup

    August 17, 2013 at 9:39 pm

    awesome. It works in AE CS5 too.
    Resourcestring is the way to go then 🙂

    Thanks for the help!

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