Treview in Photoshop CC

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

d3mac123

Treview in Photoshop CC

Post by d3mac123 »

I have my code working perfectly till install Photoshop CC (it reads an XML file and build the content of the treeview with the data from the file).

Code: Select allvar sorted = [[0,"abc"],[1,"dsc"]] //contains the contents of the XML file
sorted.sort()
for (var i=0;i<=sorted.length-1;i++) {
      var item = w.corona.channels.bTree.add ('item', sorted[0]);   
       item.subItems[0].text = sorted[1]; 
}


In CS6 or below, the treeview shows (using the above code as example):
column 1: 1 column 2: abc
column 1: 2 column 2: dsc

In CC the treeview shows (fixing the sorted with the sample data above, it shows ok thou), if I used the data from XML file:
column 1: 1 column 2: Anuj
column 1: 2 column 2: Anuj

Any ideas from where this "Anuj" string comes from?
larsen67

Treview in Photoshop CC

Post by larsen67 »

I don't have CC but you may want to take a look at this thread…

May not be related to your issue but worth the check…

http://forums.adobe.com/message/5421480#5421480

From a couple of posts I've seen there are going to be scriptUI issues with CC.
undavide

Treview in Photoshop CC

Post by undavide »

Here there's another nice list of pissed complaints about broken ScriptUI CC features:
http://forums.adobe.com/thread/1235963?tstart=60

Davide