var dlgMain = new Window('dialog', 'CURRENT UPDATES'); dlgMain.marginLeft = 15; dlgMain.center(); dlgMain.alertBtnsPnl = dlgMain.add('panel',undefined, ''); dlgMain.alertBtnsPnl.alignment='left'; dlgMain.alertBtnsPnl.preferredSize = [200,200]; dlgMain.alertBtnsPnl.cmb= dlgMain.alertBtnsPnl.add("group"); dlgMain.alertBtnsPnl.cmb.orientation = 'column'; dlgMain.alertBtnsPnl.cmb.alignChildren = 'fill'; dlgMain.alertBtnsPnl.cmb.alignment = 'left'; dlgMain.alertBtnsPnl.alignChildren = "left"; dlgMain.alertBtnsPnl.mh= dlgMain.alertBtnsPnl.add("group"); dlgMain.alertBtnsPnl.mh.orientation = 'column'; dlgMain.alertBtnsPnl.mh.alignChildren = 'fill'; dlgMain.alertBtnsPnl.mh.alignment = 'left'; with (dlgMain.alertBtnsPnl) { cmb.txt = cmb.add('statictext', undefined, ''); cmb.txt.preferredSize = [1,1]; mh.add('statictext', undefined, 'UPDATES: '); mh.add('statictext',undefined, '1. If received ins. "Convert to CMYK. Background to be 5M 5Y. Profile is ISONewspaper26v4. keep as much hair detail as possible".'); mh.add('statictext',undefined, ' Need to do Convert to CMYK. Background to be 5M 5Y. Profile is ISONewspaper26v4. keep as much hair detail as possible.'); } dlgMain.show(); this is the code im using when i run the code it shows the result which i have posted below screenshot. what i need is simple thing, if i want to update the info i needed to open the code again and i have to add points in the code instead of that if i add information in excel or word document that should automatically should run when the script runs
... View more