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 3.1 kB - File type text/plain

File contents

             App.progressCountTotal = 2;
App.progressCountCurrent = 0;
fw.dismissBatchDialogWhenDone = true;
doc = fw.openDocument('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/King2.jpg');
App.progressCountCurrent = 1;
App.batchStatusString = 'King2.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/images/King2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/images/King2_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/images/King2_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/ch9_images/thumbnails/King2_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/thumbnails/King2_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/thumbnails/King2_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/ch9_images/pict0036.jpg');
App.progressCountCurrent = 2;
App.batchStatusString = 'pict0036.jpg';
if (!Files.exists('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/images/pict0036_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/images/pict0036_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/images/pict0036_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/ch9_images/thumbnails/pict0036_jpg.jpg') || confirm('file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/thumbnails/pict0036_jpg.jpg already exists. Click OK to replace the file.')) 
fw.exportDocumentAs(doc, 'file:///C|/Documents and Settings/Cory/My Documents/Anthropology/images/ch9_images/thumbnails/pict0036_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_8.jsf-view.html. This work is licensed under a Creative Commons License Creative Commons License