AnthroReligion: buildPhotoAlbum.jsf
Size 9.4 kB - File type text/plainFile contents
App.progressCountTotal = 6;
App.progressCountCurrent = 0;
fw.dismissBatchDialogWhenDone = true;
doc = fw.openDocument('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/GroupMealPrayerBuddah2.jpg');
App.progressCountCurrent = 1;
App.batchStatusString = 'GroupMealPrayerBuddah2.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/GroupMealPrayerBuddah2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/GroupMealPrayerBuddah2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/GroupMealPrayerBuddah2_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/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/GroupMealPrayerBuddah2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/GroupMealPrayerBuddah2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/GroupMealPrayerBuddah2_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/Cory/My Documents/Anthropology/images/ch2_images/MealForIdol2.jpg');
App.progressCountCurrent = 2;
App.batchStatusString = 'MealForIdol2.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/MealForIdol2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/MealForIdol2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/MealForIdol2_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/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/MealForIdol2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/MealForIdol2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/MealForIdol2_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/Cory/My Documents/Anthropology/images/ch2_images/pict0043.jpg');
App.progressCountCurrent = 3;
App.batchStatusString = 'pict0043.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/pict0043_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/pict0043_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/pict0043_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/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/pict0043_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/pict0043_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/pict0043_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/Cory/My Documents/Anthropology/images/ch2_images/PrayingwBulb2.jpg');
App.progressCountCurrent = 4;
App.batchStatusString = 'PrayingwBulb2.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/PrayingwBulb2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/PrayingwBulb2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/PrayingwBulb2_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/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/PrayingwBulb2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/PrayingwBulb2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/PrayingwBulb2_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/Cory/My Documents/Anthropology/images/ch2_images/RobesforBuddah2.jpg');
App.progressCountCurrent = 5;
App.batchStatusString = 'RobesforBuddah2.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/RobesforBuddah2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/RobesforBuddah2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/RobesforBuddah2_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/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/RobesforBuddah2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/RobesforBuddah2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/RobesforBuddah2_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/Cory/My Documents/Anthropology/images/ch2_images/Waterfall2.jpg');
App.progressCountCurrent = 6;
App.batchStatusString = 'Waterfall2.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/Waterfall2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/Waterfall2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/images/Waterfall2_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/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/Waterfall2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/Waterfall2_jpg.jpg already exists. Click OK to replace the file.'))
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch2_images/thumbnails/Waterfall2_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';
Copyright 2008,
by the Contributing Authors.
Cite/attribute Resource.
admin. (2005, August 02). AnthroReligion: buildPhotoAlbum.jsf. Retrieved November 08, 2009, from Free Online Course Materials — USU OpenCourseWare Web site: http://ocw.usu.edu/Anthropology/Anthropology_of_Religion/buildPhotoAlbum_1.jsf.
This work is licensed under a
Creative Commons License.







Click here to get the file
