-
Treeview reference
Hey Guys,
I’m having to rewrite some script to change my listbox into a treeview… I would have thought that the script should have been relatively similar, but I can’t seem to get it to work. Anyone dealt with treeviews and how to pull the selected item?
Here’s a cobbled together version I redone from my listbox script.
var myBtn = w.add (“button”, undefined, “Apply”);
myBtn.onClick = function(){
var sel = myTree.selection;
var myComp = app.project.activeItem;
if(!myComp || myComp.typeName !== “Composition”) return;
var n;for (n=0; n
Sorry, there were no replies found.