App.progressCountTotal = 8; App.progressCountCurrent = 0; fw.dismissBatchDialogWhenDone = true; doc = fw.openDocument('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/dsc_4074.jpg'); App.progressCountCurrent = 1; App.batchStatusString = 'dsc_4074.jpg'; if (!Files.exists('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4074_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4074_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4074_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:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4074_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4074_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4074_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:-200, ySize:-200})); fw.closeDocument(doc); doc = fw.openDocument('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/dsc_4082.jpg'); App.progressCountCurrent = 2; App.batchStatusString = 'dsc_4082.jpg'; if (!Files.exists('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4082_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4082_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4082_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:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4082_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4082_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4082_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:-200, ySize:-200})); fw.closeDocument(doc); doc = fw.openDocument('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/dsc_4083.jpg'); App.progressCountCurrent = 3; App.batchStatusString = 'dsc_4083.jpg'; if (!Files.exists('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4083_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4083_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4083_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:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4083_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4083_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4083_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:-200, ySize:-200})); fw.closeDocument(doc); doc = fw.openDocument('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/dsc_4098.jpg'); App.progressCountCurrent = 4; App.batchStatusString = 'dsc_4098.jpg'; if (!Files.exists('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4098_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4098_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4098_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:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4098_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4098_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4098_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:-200, ySize:-200})); fw.closeDocument(doc); doc = fw.openDocument('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/dsc_4102.jpg'); App.progressCountCurrent = 5; App.batchStatusString = 'dsc_4102.jpg'; if (!Files.exists('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4102_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4102_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4102_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:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4102_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4102_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4102_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:-200, ySize:-200})); fw.closeDocument(doc); doc = fw.openDocument('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/dsc_4155.jpg'); App.progressCountCurrent = 6; App.batchStatusString = 'dsc_4155.jpg'; if (!Files.exists('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4155_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4155_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4155_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:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4155_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4155_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4155_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:-200, ySize:-200})); fw.closeDocument(doc); doc = fw.openDocument('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/dsc_4165.jpg'); App.progressCountCurrent = 7; App.batchStatusString = 'dsc_4165.jpg'; if (!Files.exists('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4165_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4165_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4165_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:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4165_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4165_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4165_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:-200, ySize:-200})); fw.closeDocument(doc); doc = fw.openDocument('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/dsc_4175.jpg'); App.progressCountCurrent = 8; App.batchStatusString = 'dsc_4175.jpg'; if (!Files.exists('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4175_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4175_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/images/dsc_4175_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:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4175_jpg.jpg') || confirm('file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4175_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/advanced-mba/activity/picture/2552/3 kitjakome/bangna/MMM/thumbnails/dsc_4175_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:-200, ySize:-200})); fw.closeDocument(doc); 'done';