App.progressCountTotal = 16;
App.progressCountCurrent = 0;
fw.dismissBatchDialogWhenDone = true;
doc = fw.openDocument('file:///E|/photo/Source/q1.JPG');
App.progressCountCurrent = 1;
App.batchStatusString = 'q1.JPG';
if (!Files.exists('file:///E|/photo/object/images/q1_JPG.jpg') || confirm('file:///E|/photo/object/images/q1_JPG.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q1_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:///E|/photo/object/thumbnails/q1_JPG.jpg') || confirm('file:///E|/photo/object/thumbnails/q1_JPG.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q1_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:///E|/photo/Source/q10.jpg');
App.progressCountCurrent = 2;
App.batchStatusString = 'q10.jpg';
if (!Files.exists('file:///E|/photo/object/images/q10_jpg.jpg') || confirm('file:///E|/photo/object/images/q10_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q10_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:///E|/photo/object/thumbnails/q10_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q10_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q10_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:///E|/photo/Source/q11.jpg');
App.progressCountCurrent = 3;
App.batchStatusString = 'q11.jpg';
if (!Files.exists('file:///E|/photo/object/images/q11_jpg.jpg') || confirm('file:///E|/photo/object/images/q11_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q11_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:///E|/photo/object/thumbnails/q11_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q11_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q11_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:///E|/photo/Source/q12.jpg');
App.progressCountCurrent = 4;
App.batchStatusString = 'q12.jpg';
if (!Files.exists('file:///E|/photo/object/images/q12_jpg.jpg') || confirm('file:///E|/photo/object/images/q12_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q12_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:///E|/photo/object/thumbnails/q12_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q12_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q12_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:///E|/photo/Source/q13.jpg');
App.progressCountCurrent = 5;
App.batchStatusString = 'q13.jpg';
if (!Files.exists('file:///E|/photo/object/images/q13_jpg.jpg') || confirm('file:///E|/photo/object/images/q13_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q13_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:///E|/photo/object/thumbnails/q13_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q13_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q13_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:///E|/photo/Source/q14.jpg');
App.progressCountCurrent = 6;
App.batchStatusString = 'q14.jpg';
if (!Files.exists('file:///E|/photo/object/images/q14_jpg.jpg') || confirm('file:///E|/photo/object/images/q14_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q14_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:///E|/photo/object/thumbnails/q14_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q14_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q14_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:///E|/photo/Source/q15.jpg');
App.progressCountCurrent = 7;
App.batchStatusString = 'q15.jpg';
if (!Files.exists('file:///E|/photo/object/images/q15_jpg.jpg') || confirm('file:///E|/photo/object/images/q15_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q15_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:///E|/photo/object/thumbnails/q15_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q15_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q15_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:///E|/photo/Source/q16.jpg');
App.progressCountCurrent = 8;
App.batchStatusString = 'q16.jpg';
if (!Files.exists('file:///E|/photo/object/images/q16_jpg.jpg') || confirm('file:///E|/photo/object/images/q16_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q16_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:///E|/photo/object/thumbnails/q16_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q16_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q16_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:///E|/photo/Source/q2.JPG');
App.progressCountCurrent = 9;
App.batchStatusString = 'q2.JPG';
if (!Files.exists('file:///E|/photo/object/images/q2_JPG.jpg') || confirm('file:///E|/photo/object/images/q2_JPG.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q2_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:///E|/photo/object/thumbnails/q2_JPG.jpg') || confirm('file:///E|/photo/object/thumbnails/q2_JPG.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q2_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:///E|/photo/Source/q3.JPG');
App.progressCountCurrent = 10;
App.batchStatusString = 'q3.JPG';
if (!Files.exists('file:///E|/photo/object/images/q3_JPG.jpg') || confirm('file:///E|/photo/object/images/q3_JPG.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q3_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:///E|/photo/object/thumbnails/q3_JPG.jpg') || confirm('file:///E|/photo/object/thumbnails/q3_JPG.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q3_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:///E|/photo/Source/q4.jpg');
App.progressCountCurrent = 11;
App.batchStatusString = 'q4.jpg';
if (!Files.exists('file:///E|/photo/object/images/q4_jpg.jpg') || confirm('file:///E|/photo/object/images/q4_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q4_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:///E|/photo/object/thumbnails/q4_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q4_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q4_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:///E|/photo/Source/q5.jpg');
App.progressCountCurrent = 12;
App.batchStatusString = 'q5.jpg';
if (!Files.exists('file:///E|/photo/object/images/q5_jpg.jpg') || confirm('file:///E|/photo/object/images/q5_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q5_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:///E|/photo/object/thumbnails/q5_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q5_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q5_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:///E|/photo/Source/q6.jpg');
App.progressCountCurrent = 13;
App.batchStatusString = 'q6.jpg';
if (!Files.exists('file:///E|/photo/object/images/q6_jpg.jpg') || confirm('file:///E|/photo/object/images/q6_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q6_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:///E|/photo/object/thumbnails/q6_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q6_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q6_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:///E|/photo/Source/q7.jpg');
App.progressCountCurrent = 14;
App.batchStatusString = 'q7.jpg';
if (!Files.exists('file:///E|/photo/object/images/q7_jpg.jpg') || confirm('file:///E|/photo/object/images/q7_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q7_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:///E|/photo/object/thumbnails/q7_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q7_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q7_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:///E|/photo/Source/q8.jpg');
App.progressCountCurrent = 15;
App.batchStatusString = 'q8.jpg';
if (!Files.exists('file:///E|/photo/object/images/q8_jpg.jpg') || confirm('file:///E|/photo/object/images/q8_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q8_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:///E|/photo/object/thumbnails/q8_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q8_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q8_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:///E|/photo/Source/q9.jpg');
App.progressCountCurrent = 16;
App.batchStatusString = 'q9.jpg';
if (!Files.exists('file:///E|/photo/object/images/q9_jpg.jpg') || confirm('file:///E|/photo/object/images/q9_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/images/q9_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:///E|/photo/object/thumbnails/q9_jpg.jpg') || confirm('file:///E|/photo/object/thumbnails/q9_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///E|/photo/object/thumbnails/q9_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';