Is there a way to add a dropdown list to a listbox sub-item when creating a UI with Aftereffects Script?

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
shu-to
Posts: 1
Joined: December 22nd, 2021, 1:28 am

Hi everyone.
Please tell me how to add a dropdown list to a listbox sub-item when creating a UI with Aftereffects Script.

for example,
I want to add ddlist to b: 1 of listbox

Code: Select all

var wnd = new Window("dialog", "Test", undefined);
var list = wnd.add ("listbox", undefined, ["0" , "1" , "2"], {numberOfColumns:3, showHeaders:true, columnTitles:['A','B','C']});

var ddlist = wnd.add ("dropdownlist", undefined, ["png" , "tga" , "jpg"]);

wnd.center();
wnd.show();
Post Reply