App.progressCountTotal = 2; App.progressCountCurrent = 0; fw.dismissBatchDialogWhenDone = true; doc = fw.openDocument('file:///C|/Program Files/Canon/ZoomBrowser EX/Image Library One/BME Society/Thanksgiving Party/thanksgiving_01.jpg'); App.progressCountCurrent = 1; App.batchStatusString = 'thanksgiving_01.jpg'; if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/images/thanksgiving_01_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/images/thanksgiving_01_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/images/thanksgiving_01_jpg.jpg',{applyScale:false, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:"100", useScale:true, xSize:0, ySize:0}); if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/thumbnails/thanksgiving_01_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/thumbnails/thanksgiving_01_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/thumbnails/thanksgiving_01_jpg.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:-100, ySize:-100}); fw.closeDocument(doc); doc = fw.openDocument('file:///C|/Program Files/Canon/ZoomBrowser EX/Image Library One/BME Society/Thanksgiving Party/thanksgiving_02.jpg'); App.progressCountCurrent = 2; App.batchStatusString = 'thanksgiving_02.jpg'; if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/images/thanksgiving_02_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/images/thanksgiving_02_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/images/thanksgiving_02_jpg.jpg',{applyScale:false, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:0, name:"JPEG - Better Quality", numEntriesRequested:0, percentScale:"100", useScale:true, xSize:0, ySize:0}); if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/thumbnails/thanksgiving_02_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/thumbnails/thanksgiving_02_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Thanksgiving Party/thumbnails/thanksgiving_02_jpg.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:-100, ySize:-100}); fw.closeDocument(doc); 'done';