The attachment failed, here is the script:
-David
////////////////////////////////////////////////////////////////////////////
// ADOBE SYSTEMS INCORPORATED
// (c) Copyright 2009 Adobe Systems Incorporated. All Rights Reserved
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
// with the terms of the Adobe license agreement accompanying it. If you have
// received this file from a source other than Adobe, then your use, modification,
// or distribution of it requires the prior written permission of Adobe.
////////////////////////////////////////////////////////////////////////////
/**
* Each Post-Processinig script must result in a JavaScript object
* with a function named proocess()*/
var makeWorldReadable = {};
// You can maintain state between calls to process()
// by adding custom properties to your post-processor object.
makeWorldReadable.counter = 0;
/**
* The process() function accetps an array of objects
* representing the exported JPEGs. It should return nothing.
*/
makeWorldReadable.process = function( exportsArray )
{
/*
* The exportsArray is an array of ojbects, each with the following propertyes..
* originalUri: The Bridge URI for the Thumbnaili object from which the JPEG was exported.
* exportPath: The file-system path to the exported JPEG.
*/
for( ex in exportsArray )
{
var exportInfo = exportsArray[ex];
var chmodCommand = "chmod o+r \"" + exportInfo.exportPath + "\"";
this.log( chmodCommand );
app.system( chmodCommand );
}
}
/*
* Your post-processor object may define and use
* it's own utility functions.
*/
makeWorldReadable.log =function( info )
{
//$.writeln( info );
}
makeWorldReadable;