App.progressCountTotal = 6; App.progressCountCurrent = 0; fw.dismissBatchDialogWhenDone = true; doc = fw.openDocument('file:///Macintosh HD/Users/marler/Desktop/Album Input/cond_research/MACISA19_JPG.jpg'); App.progressCountCurrent = 1; App.batchStatusString = 'MACISA19_JPG.jpg'; if (!Files.exists('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA19_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA19_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA19_JPG_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:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA19_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA19_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA19_JPG_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:///Macintosh HD/Users/marler/Desktop/Album Input/cond_research/MACISA37_JPG.jpg'); App.progressCountCurrent = 2; App.batchStatusString = 'MACISA37_JPG.jpg'; if (!Files.exists('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA37_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA37_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA37_JPG_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:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA37_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA37_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA37_JPG_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:///Macintosh HD/Users/marler/Desktop/Album Input/cond_research/MACISA41_JPG.jpg'); App.progressCountCurrent = 3; App.batchStatusString = 'MACISA41_JPG.jpg'; if (!Files.exists('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA41_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA41_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA41_JPG_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:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA41_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA41_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA41_JPG_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:///Macintosh HD/Users/marler/Desktop/Album Input/cond_research/MACISA47_JPG.jpg'); App.progressCountCurrent = 4; App.batchStatusString = 'MACISA47_JPG.jpg'; if (!Files.exists('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA47_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA47_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA47_JPG_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:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA47_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA47_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA47_JPG_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:///Macintosh HD/Users/marler/Desktop/Album Input/cond_research/MACISA62_JPG.jpg'); App.progressCountCurrent = 5; App.batchStatusString = 'MACISA62_JPG.jpg'; if (!Files.exists('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA62_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA62_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA62_JPG_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:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA62_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA62_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA62_JPG_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:///Macintosh HD/Users/marler/Desktop/Album Input/cond_research/MACISA63_JPG.jpg'); App.progressCountCurrent = 6; App.batchStatusString = 'MACISA63_JPG.jpg'; if (!Files.exists('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA63_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA63_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/images/MACISA63_JPG_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:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA63_JPG_jpg.jpg') || confirm('file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA63_JPG_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///Macintosh HD/Users/marler/Desktop/Cond Rsrch Album Prelim/thumbnails/MACISA63_JPG_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';