Copy link to clipboard
Copied
// run this script
var dlg = new Window("dialog", "");
// HERE IS EXAMPLE CODE FROM "JAVASCRIPT TOOLS GUIDE.pdf" FOR CREATIVE CLOUD
// create list box with two titled columns
var list = dlg.add ('ListBox', [0, 0, 150, 75], 'asd',
{numberOfColumns: 2, showHeaders: true,
columnTitles: ['First Name', 'Last Name']});
// add an item for the first row, with the label value for the first column
var item1 = list.add ('item', 'John');
// add the label value for the second column in that row.
item1.subItems[0].text = 'Doe';
// END OF EXAMPLE
dlg.show();
// line
// item1.subItems[0].text = 'Doe';
// cause an error on PS CC2015.5 and CC2018
// WTF ?
Copy link to clipboard
Copied
I believe this became broken then Adobe switch to the Mondo framework for ESTK. While a single column works (without headers) multiple columns do not.
Copy link to clipboard
Copied
Adobe new ScriptUI support has some remaining problems. Try CC 2014.
Copy link to clipboard
Copied
There are similar problems with the Treeview. Everything works great on CS6. It broke down with the release of 2015.5 or near so. But I hoped that in CC2018 it would be repaired. It's like no one seems to notice it. Can someone bring this information directly to the developers?
Copy link to clipboard
Copied
I believe Treeview was Flash based, so that no longer works, and I doubt that they will bring it back.
Copy link to clipboard
Copied
For what it's worth, I can confirm that Treeview has been dropped during the switch from Flash to Mondo.
If something else is "Not implemented" – as the ESTK says – I'm afraid there's nothing much to do...