Example files for Photoshop Action API - https://www.adobe.io/photoshop/api/
https://www.adobe.io/photoshop/api/