func init // checks installation Adobe Photoshop and adds references include("AdobePhotoshop") end func doBatch(data) blk.println(d("Photoshop", 20), '.Batch(', sys.convert_array(data, 'InputFiles', 'string', 'object'), ', ', d("Action", 2, "Sepia Toning (layer)"), ', ', d("Group", 2, "Default Actions"), ', ', d("Options", 20, 'Type.Missing'), ');') end