App.progressCountTotal = 6; App.progressCountCurrent = 0; fw.dismissBatchDialogWhenDone = true; doc = fw.openDocument('file://///Web/E/wave-report/photopages/comp-history/After1960/aDSC_8374.jpg'); App.progressCountCurrent = 1; App.batchStatusString = 'aDSC_8374.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8374_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8374_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8374_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://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8374_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8374_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8374_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://///Web/E/wave-report/photopages/comp-history/After1960/aDSC_8437 - adjust.jpg'); App.progressCountCurrent = 2; App.batchStatusString = 'aDSC_8437 - adjust.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8437 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8437 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8437 - adjust_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://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8437 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8437 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8437 - adjust_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://///Web/E/wave-report/photopages/comp-history/After1960/aDSC_8578.jpg'); App.progressCountCurrent = 3; App.batchStatusString = 'aDSC_8578.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8578_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8578_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8578_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://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8578_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8578_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8578_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://///Web/E/wave-report/photopages/comp-history/After1960/aDSC_8746 - adjust.jpg'); App.progressCountCurrent = 4; App.batchStatusString = 'aDSC_8746 - adjust.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8746 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8746 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8746 - adjust_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://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8746 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8746 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8746 - adjust_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://///Web/E/wave-report/photopages/comp-history/After1960/aDSC_8814 - adjust.jpg'); App.progressCountCurrent = 5; App.batchStatusString = 'aDSC_8814 - adjust.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8814 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8814 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8814 - adjust_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://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8814 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8814 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8814 - adjust_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://///Web/E/wave-report/photopages/comp-history/After1960/aDSC_8817 - adjust.jpg'); App.progressCountCurrent = 6; App.batchStatusString = 'aDSC_8817 - adjust.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8817 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8817 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/images/aDSC_8817 - adjust_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://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8817 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8817 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/After1960/thumbnails/aDSC_8817 - adjust_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';