App.progressCountTotal = 8; App.progressCountCurrent = 0; fw.dismissBatchDialogWhenDone = true; doc = fw.openDocument('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/aDSC_8366.jpg'); App.progressCountCurrent = 1; App.batchStatusString = 'aDSC_8366.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8366_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8366_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8366_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/MilitaryandSpace/thumbnails/aDSC_8366_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8366_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8366_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/MilitaryandSpace/aDSC_8367.jpg'); App.progressCountCurrent = 2; App.batchStatusString = 'aDSC_8367.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8367_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8367_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8367_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/MilitaryandSpace/thumbnails/aDSC_8367_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8367_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8367_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/MilitaryandSpace/aDSC_8369.jpg'); App.progressCountCurrent = 3; App.batchStatusString = 'aDSC_8369.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8369_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8369_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8369_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/MilitaryandSpace/thumbnails/aDSC_8369_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8369_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8369_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/MilitaryandSpace/aDSC_8440 - crop.jpg'); App.progressCountCurrent = 4; App.batchStatusString = 'aDSC_8440 - crop.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8440 - crop_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8440 - crop_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8440 - crop_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/MilitaryandSpace/thumbnails/aDSC_8440 - crop_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8440 - crop_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8440 - crop_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/MilitaryandSpace/aDSC_8582.jpg'); App.progressCountCurrent = 5; App.batchStatusString = 'aDSC_8582.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8582_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8582_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8582_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/MilitaryandSpace/thumbnails/aDSC_8582_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8582_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8582_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/MilitaryandSpace/aDSC_8585.jpg'); App.progressCountCurrent = 6; App.batchStatusString = 'aDSC_8585.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8585_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8585_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_8585_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/MilitaryandSpace/thumbnails/aDSC_8585_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8585_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_8585_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/MilitaryandSpace/aDSC_9016 - adjust.jpg'); App.progressCountCurrent = 7; App.batchStatusString = 'aDSC_9016 - adjust.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_9016 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_9016 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_9016 - 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/MilitaryandSpace/thumbnails/aDSC_9016 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_9016 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_9016 - 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/MilitaryandSpace/aDSC_9114 - adjust.jpg'); App.progressCountCurrent = 8; App.batchStatusString = 'aDSC_9114 - adjust.jpg'; if (!Files.exists('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_9114 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_9114 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/images/aDSC_9114 - 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/MilitaryandSpace/thumbnails/aDSC_9114 - adjust_jpg.jpg') || confirm('file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_9114 - adjust_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file://///Web/E/wave-report/photopages/comp-history/MilitaryandSpace/thumbnails/aDSC_9114 - 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';