App.progressCountTotal = 2; App.progressCountCurrent = 0; fw.dismissBatchDialogWhenDone = true; doc = fw.openDocument('file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/amenouzumenomikotoshikishi.jpg'); App.progressCountCurrent = 1; App.batchStatusString = 'amenouzumenomikotoshikishi.jpg'; if (!Files.exists('file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/images/amenouzumenomikotoshikishi_jpg.jpg') || confirm('file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/images/amenouzumenomikotoshikishi_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/images/amenouzumenomikotoshikishi_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:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/thumbnails/amenouzumenomikotoshikishi_jpg.jpg') || confirm('file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/thumbnails/amenouzumenomikotoshikishi_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/thumbnails/amenouzumenomikotoshikishi_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:-144, ySize:-144})); fw.closeDocument(doc); doc = fw.openDocument('file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/Sarutahikonookamishikishi.jpg'); App.progressCountCurrent = 2; App.batchStatusString = 'Sarutahikonookamishikishi.jpg'; if (!Files.exists('file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/images/Sarutahikonookamishikishi_jpg.jpg') || confirm('file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/images/Sarutahikonookamishikishi_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/images/Sarutahikonookamishikishi_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:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/thumbnails/Sarutahikonookamishikishi_jpg.jpg') || confirm('file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/thumbnails/Sarutahikonookamishikishi_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Tommy/My Documents/My Webs/New Folder/images/shikishi/thumbnails/Sarutahikonookamishikishi_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:-144, ySize:-144})); fw.closeDocument(doc); 'done';