fw.progressCountTotal=1; fw.progressCountCurrent=0; fw.dismissBatchDialogWhenDone=true; var doc,m=true,eA='FW could not open image file: ',eB='\n\nDo you wish to continue processing the remaining images?'; var eC=' already exists.\n\nClick Yes to replace the file, No to skip.'; fw.progressCountCurrent=1;fw.batchStatusString='refugees09.jpg'; if(m){doc=fw.openDocument('file:///C|/web/xampp/htdocs/rachel/img/fullsize/refugees09.jpg'); if(doc){fw.exportDocumentAs(doc,'file:///C|/web/xampp/htdocs/rachel/img/fullsize/refugees09_fs.jpg', ({colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:256, applyScale:true, percentScale:100, useScale:false, xSize:-640, ySize:-480 })); fw.exportDocumentAs(doc,'file:///C|/web/xampp/htdocs/rachel/img/thumbs/refugees09_tmb.jpg', ({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-75, ySize:-75})); fw.closeDocument(doc);}else if(!fw.yesNoDialog(eA+App.batchStatusString+eB)){m=false;}}