📄 buildphotoalbum.jsf
字号:
App.progressCountTotal = 14;App.progressCountCurrent = 0;fw.dismissBatchDialogWhenDone = true;doc = fw.openDocument('file:///D|/photos/hd1/fengjing5.jpg');App.progressCountCurrent = 1;App.batchStatusString = 'fengjing5.jpg';if (!Files.exists('file:///D|/DMX/Photo/images/fengjing5_jpg.jpg') || confirm('file:///D|/DMX/Photo/images/fengjing5_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/images/fengjing5_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|/DMX/Photo/thumbnails/fengjing5_jpg.gif') || confirm('file:///D|/DMX/Photo/thumbnails/fengjing5_jpg.gif already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/thumbnails/fengjing5_jpg.gif',({applyScale:true, colorMode:"indexed", exportFormat:"GIF", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:1, name:"GIF WebSnap 128", numEntriesRequested:128, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///D|/photos/hd1/beiying2.jpg');App.progressCountCurrent = 2;App.batchStatusString = 'beiying2.jpg';if (!Files.exists('file:///D|/DMX/Photo/images/beiying2_jpg.jpg') || confirm('file:///D|/DMX/Photo/images/beiying2_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/images/beiying2_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|/DMX/Photo/thumbnails/beiying2_jpg.gif') || confirm('file:///D|/DMX/Photo/thumbnails/beiying2_jpg.gif already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/thumbnails/beiying2_jpg.gif',({applyScale:true, colorMode:"indexed", exportFormat:"GIF", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:1, name:"GIF WebSnap 128", numEntriesRequested:128, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///D|/photos/hd1/beiying3.jpg');App.progressCountCurrent = 3;App.batchStatusString = 'beiying3.jpg';if (!Files.exists('file:///D|/DMX/Photo/images/beiying3_jpg.jpg') || confirm('file:///D|/DMX/Photo/images/beiying3_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/images/beiying3_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|/DMX/Photo/thumbnails/beiying3_jpg.gif') || confirm('file:///D|/DMX/Photo/thumbnails/beiying3_jpg.gif already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/thumbnails/beiying3_jpg.gif',({applyScale:true, colorMode:"indexed", exportFormat:"GIF", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:1, name:"GIF WebSnap 128", numEntriesRequested:128, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///D|/photos/hd1/beiying4.jpg');App.progressCountCurrent = 4;App.batchStatusString = 'beiying4.jpg';if (!Files.exists('file:///D|/DMX/Photo/images/beiying4_jpg.jpg') || confirm('file:///D|/DMX/Photo/images/beiying4_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/images/beiying4_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|/DMX/Photo/thumbnails/beiying4_jpg.gif') || confirm('file:///D|/DMX/Photo/thumbnails/beiying4_jpg.gif already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/thumbnails/beiying4_jpg.gif',({applyScale:true, colorMode:"indexed", exportFormat:"GIF", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:1, name:"GIF WebSnap 128", numEntriesRequested:128, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///D|/photos/hd1/fengjianren1.jpg');App.progressCountCurrent = 5;App.batchStatusString = 'fengjianren1.jpg';if (!Files.exists('file:///D|/DMX/Photo/images/fengjianren1_jpg.jpg') || confirm('file:///D|/DMX/Photo/images/fengjianren1_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/images/fengjianren1_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|/DMX/Photo/thumbnails/fengjianren1_jpg.gif') || confirm('file:///D|/DMX/Photo/thumbnails/fengjianren1_jpg.gif already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/thumbnails/fengjianren1_jpg.gif',({applyScale:true, colorMode:"indexed", exportFormat:"GIF", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:1, name:"GIF WebSnap 128", numEntriesRequested:128, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///D|/photos/hd1/fengjing2.jpg');App.progressCountCurrent = 6;App.batchStatusString = 'fengjing2.jpg';if (!Files.exists('file:///D|/DMX/Photo/images/fengjing2_jpg.jpg') || confirm('file:///D|/DMX/Photo/images/fengjing2_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/images/fengjing2_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|/DMX/Photo/thumbnails/fengjing2_jpg.gif') || confirm('file:///D|/DMX/Photo/thumbnails/fengjing2_jpg.gif already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/thumbnails/fengjing2_jpg.gif',({applyScale:true, colorMode:"indexed", exportFormat:"GIF", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:1, name:"GIF WebSnap 128", numEntriesRequested:128, percentScale:100, useScale:false, xSize:-100, ySize:-100}));fw.closeDocument(doc);doc = fw.openDocument('file:///D|/photos/hd1/fengjing3.jpg');App.progressCountCurrent = 7;App.batchStatusString = 'fengjing3.jpg';if (!Files.exists('file:///D|/DMX/Photo/images/fengjing3_jpg.jpg') || confirm('file:///D|/DMX/Photo/images/fengjing3_jpg.jpg already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/images/fengjing3_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|/DMX/Photo/thumbnails/fengjing3_jpg.gif') || confirm('file:///D|/DMX/Photo/thumbnails/fengjing3_jpg.gif already exists. Click OK to replace the file.')) fw.exportDocumentAs(doc, 'file:///D|/DMX/Photo/thumbnails/fengjing3_jpg.gif',({applyScale:true, colorMode:"indexed", exportFormat:"GIF", jpegQuality:80, jpegSmoothness:0, jpegSubsampling:1, name:"GIF WebSnap 128", numEntriesRequested:128, percentScale:100, useScale:false, xSize:-100, ySize:-100}));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -