Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Need to add collum in photoshop script

$
0
0

Screen Shot 2015-06-23 at 6.22.49 PM.png

 

Hi Team,

 

Please see the above attached file.

 

I have a code for List Box. But i need to add column like above screen grab.

 

 

var dlg =

"dialog{text:'Script Interface',bounds:[100,100,350,350],"+

"panel0:Panel{bounds:[10,10,240,240] , text:'' ,properties:{borderStyle:'etched',su1PanelCoordinates:true},"+

"docs:ListBox{bounds:[10,40,220,190] , properties:{multiselect:false}},"+

"statictext0:StaticText{bounds:[50,10,160,27] , text:'Opened Documents' ,properties:{scrolling:undefined,multiline:undefined}},"+

"clear:Button{bounds:[10,200,100,220] , text:'Clear' }"+

"close:Button{bounds:[130,200,220,220] , text:'Close' }}}";

 

var win = new Window(dlg,"Open Docs");

selection=0;

win.center();

 

for(var a = 0;a<documents.length;a++){

win.panel0.docs.add("item",documents[a].name);

}

 

win.panel0.docs.selection=0;

win.panel0.docs.onChange = function() {

selection = parseInt(this.selection);

   }

win.panel0.clear.onClick = function() {

win.panel0.docs.remove(selection);

   }

win.panel0.close.onClick = function() {

this.parent.parent.close(1);

}

 

win.show();


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>