func init // checks installation Adobe Photoshop and adds references include("AdobePhotoshop") end func doCrop(data) blk.println(d("Document", 20), '.Crop(', sys.convert_array(data, 'Bounds', 'double', 'object'), ', ', d("Angle", 7), ', ', d("Width", 7), ', ', d("Height", 7), ');') end