“Get Layer Info Code” is a code utility script using the JSON Action Manager scripting library.
This stand-alone script written in JavaScript opens a dialog box with a text field containing the code used to get information in JSON AM Data Format from the currently active layer.
This script can be used in Adobe Photoshop CS3 or later. It has been successfully tested in CS4 on Mac OS X, but should be platform agnostic.
This Software is copyright © 2016 by Michel MARIANI.
This Software is licensed under the GNU General Public License (GPL) v3.
Download the Zip file and unzip it.
Move the script to the Presets/Scripts
folder in the default preset location of the Adobe Photoshop application. On next launch, the script will appear in the File>Automate submenu.