Personal tools
  •  
You are here: Home Anthropology Anthropology of Religion AnthroReligion: buildPhotoAlbum.jsf

AnthroReligion: buildPhotoAlbum.jsf

Document Actions
  • Bookmarks
  • CourseFeed

Click here to get the file

Size 4.7 kB - File type text/plain

File contents

             App.progressCountTotal = 3;
App.progressCountCurrent = 0;
fw.dismissBatchDialogWhenDone = true;
doc = fw.openDocument('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/BuddahCalmWaters2.jpg');
App.progressCountCurrent = 1;
App.batchStatusString = 'BuddahCalmWaters2.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/BuddahCalmWaters2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/BuddahCalmWaters2_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/BuddahCalmWaters2_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/ch3_images/thumbnails/BuddahCalmWaters2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/thumbnails/BuddahCalmWaters2_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/thumbnails/BuddahCalmWaters2_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/ch3_images/GraveyardShrine2.jpg');
App.progressCountCurrent = 2;
App.batchStatusString = 'GraveyardShrine2.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/GraveyardShrine2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/GraveyardShrine2_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/GraveyardShrine2_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/ch3_images/thumbnails/GraveyardShrine2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/thumbnails/GraveyardShrine2_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/thumbnails/GraveyardShrine2_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/ch3_images/pict0021.jpg');
App.progressCountCurrent = 3;
App.batchStatusString = 'pict0021.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/pict0021_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/pict0021_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/images/pict0021_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/ch3_images/thumbnails/pict0021_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/thumbnails/pict0021_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch3_images/thumbnails/pict0021_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 January 07, 2011, from Free Online Course Materials — USU OpenCourseWare Web site: http://ocw.usu.edu/Anthropology/Anthropology_of_Religion/buildPhotoAlbum_2.jsf-view.html. This work is licensed under a Creative Commons License Creative Commons License