App.progressCountTotal = 12;
App.progressCountCurrent = 0;
fw.dismissBatchDialogWhenDone = true;
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/天地英雄.jpg');
App.progressCountCurrent = 1;
App.batchStatusString = '天地英雄.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/天地英雄_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/天地英雄_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/天地英雄_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|/windy/Money/example/nine/IMDB/image/缩略图/天地英雄_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/天地英雄_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/天地英雄_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/无间道.jpg');
App.progressCountCurrent = 2;
App.batchStatusString = '无间道.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/无间道_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/无间道_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/无间道_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|/windy/Money/example/nine/IMDB/image/缩略图/无间道_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/无间道_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/无间道_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/我的野蛮女友.jpg');
App.progressCountCurrent = 3;
App.batchStatusString = '我的野蛮女友.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/我的野蛮女友_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/我的野蛮女友_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/我的野蛮女友_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|/windy/Money/example/nine/IMDB/image/缩略图/我的野蛮女友_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/我的野蛮女友_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/我的野蛮女友_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/碟中谍.jpg');
App.progressCountCurrent = 4;
App.batchStatusString = '碟中谍.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/碟中谍_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/碟中谍_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/碟中谍_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|/windy/Money/example/nine/IMDB/image/缩略图/碟中谍_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/碟中谍_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/碟中谍_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/卧虎藏龙.jpg');
App.progressCountCurrent = 5;
App.batchStatusString = '卧虎藏龙.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/卧虎藏龙_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/卧虎藏龙_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/卧虎藏龙_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|/windy/Money/example/nine/IMDB/image/缩略图/卧虎藏龙_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/卧虎藏龙_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/卧虎藏龙_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/情人.jpg');
App.progressCountCurrent = 6;
App.batchStatusString = '情人.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/情人_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/情人_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/情人_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|/windy/Money/example/nine/IMDB/image/缩略图/情人_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/情人_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/情人_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/阿甘正传.jpg');
App.progressCountCurrent = 7;
App.batchStatusString = '阿甘正传.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/阿甘正传_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/阿甘正传_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/阿甘正传_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|/windy/Money/example/nine/IMDB/image/缩略图/阿甘正传_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/阿甘正传_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/阿甘正传_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/美丽人生.jpg');
App.progressCountCurrent = 8;
App.batchStatusString = '美丽人生.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/美丽人生_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/美丽人生_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/美丽人生_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|/windy/Money/example/nine/IMDB/image/缩略图/美丽人生_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/美丽人生_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/美丽人生_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/杀死比尔-2.jpg');
App.progressCountCurrent = 9;
App.batchStatusString = '杀死比尔-2.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/杀死比尔-2_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/杀死比尔-2_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/杀死比尔-2_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|/windy/Money/example/nine/IMDB/image/缩略图/杀死比尔-2_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/杀死比尔-2_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/杀死比尔-2_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/泰坦尼克.jpg');
App.progressCountCurrent = 10;
App.batchStatusString = '泰坦尼克.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/泰坦尼克_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/泰坦尼克_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/泰坦尼克_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|/windy/Money/example/nine/IMDB/image/缩略图/泰坦尼克_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/泰坦尼克_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/泰坦尼克_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/侠盗罗宾汉.jpg');
App.progressCountCurrent = 11;
App.batchStatusString = '侠盗罗宾汉.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/侠盗罗宾汉_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/侠盗罗宾汉_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/侠盗罗宾汉_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|/windy/Money/example/nine/IMDB/image/缩略图/侠盗罗宾汉_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/侠盗罗宾汉_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/侠盗罗宾汉_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
doc = fw.openDocument('file:///D|/windy/Money/example/nine/IMDB/poster/黑客帝国.jpg');
App.progressCountCurrent = 12;
App.batchStatusString = '黑客帝国.jpg';
if (!Files.exists('file:///D|/windy/Money/example/nine/IMDB/image/图像/黑客帝国_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/图像/黑客帝国_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/图像/黑客帝国_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|/windy/Money/example/nine/IMDB/image/缩略图/黑客帝国_jpg.jpg') || confirm('file:///D|/windy/Money/example/nine/IMDB/image/缩略图/黑客帝国_jpg.jpg 已经存在。点击确定替换该文件。')) 
fw.exportDocumentAs(doc, 'file:///D|/windy/Money/example/nine/IMDB/image/缩略图/黑客帝国_jpg.jpg',({applyScale:true, colorMode:"24 bit", exportFormat:"JPEG", jpegQuality:60, jpegSmoothness:2, jpegSubsampling:1, name:"JPEG - Smaller File", numEntriesRequested:0, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
fw.closeDocument(doc);
'done';