write the content in particular column in .csv


hi all,

 

is possible write content in particular column 4 or 6 etc..?

 

i have column count heading.

 

before script:

screen shot 2016-11-09 @ 14.51.11.png

 

after script, (array content placing in 5 column

 

screen shot 2016-11-09 @ 14.51.23.png

 

simple code reference:

 

var myarray = ["pass", "fail", "pass"] alert("myarray: " + myarray)   var myjoin =myarray.join("\n"); alert(myjoin)   var csvfile=file(folder.desktop + "/somefile.csv");   csvfile.open('w');      csvfile.write(myjoin) csvfile.close();   

 

thanks in advance

siraj

hi,

 

open your.csv file in notebook see real structure. need modify 'text' body using structure (row after row 'comma separated' elements.

 

jarek



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Reader DC

AdobeIDの作り方

Adobe InDesign CC 2017 has stopped working