• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Problem with listboxes

People's Champ ,
Oct 26, 2017 Oct 26, 2017

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 ?

TOPICS
Actions and scripting

Views

897

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Oct 26, 2017 Oct 26, 2017

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 26, 2017 Oct 26, 2017

Copy link to clipboard

Copied

Adobe new ScriptUI support has some remaining problems. Try CC 2014.

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Oct 27, 2017 Oct 27, 2017

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2017 Oct 27, 2017

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 27, 2017 Oct 27, 2017

Copy link to clipboard

Copied

LATEST

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...

Davide Barranca - PS developer and author
www.ps-scripting.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines