When Click the Check box need to save psd jpeg

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

sasientry

When Click the Check box need to save psd jpeg

Post by sasientry »

Hi

I need to save files psd and jpeg

when i click jpeg check box i have to save file in jpg format

Also i need to selected both check box when i click button selectboth jpg and psd checkbox are selected

after i need to process that images



var dlg=
"dialog{text:'Script Interface',bounds:[100,100,500,500],"+
"Mode:Checkbox{bounds:[25,10,340,67] , text:'JPEG' },"+
"Instruction:Checkbox{bounds:[25,10,340,107] , text:'PSD' },"+
"button1:Button{bounds:[25,110,130,140] , text:'Process' },"+
"button2:Button{bounds:[25,80,100,101] , text:'selectboth' }};"
var win = new Window(dlg,'sasi');
win.center();
win.show();

Help me