App.progressCountTotal = 5; App.progressCountCurrent = 0; fw.dismissBatchDialogWhenDone = true; doc = fw.openDocument('file:///C|/Program Files/Canon/ZoomBrowser EX/Image Library One/BME Society/Christmas Party/christmas_01.jpg'); App.progressCountCurrent = 1; App.batchStatusString = 'christmas_01.jpg'; if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_01_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_01_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_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/Christmas Party 2000/thumbnails/christmas_01_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_01_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_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/Christmas Party/christmas_02.jpg'); App.progressCountCurrent = 2; App.batchStatusString = 'christmas_02.jpg'; if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_02_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_02_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_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/Christmas Party 2000/thumbnails/christmas_02_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_02_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_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); doc = fw.openDocument('file:///C|/Program Files/Canon/ZoomBrowser EX/Image Library One/BME Society/Christmas Party/christmas_03.jpg'); App.progressCountCurrent = 3; App.batchStatusString = 'christmas_03.jpg'; if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_03_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_03_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_03_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/Christmas Party 2000/thumbnails/christmas_03_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_03_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_03_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/Christmas Party/christmas_04.jpg'); App.progressCountCurrent = 4; App.batchStatusString = 'christmas_04.jpg'; if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_04_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_04_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_04_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/Christmas Party 2000/thumbnails/christmas_04_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_04_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_04_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/Christmas Party/christmas_05.jpg'); App.progressCountCurrent = 5; App.batchStatusString = 'christmas_05.jpg'; if (!Files.exists('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_05_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_05_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/images/christmas_05_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/Christmas Party 2000/thumbnails/christmas_05_jpg.jpg') || confirm('file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_05_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/My Documents/BMES Website v1.1/photos/Christmas Party 2000/thumbnails/christmas_05_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';