“Get Current Gradient” is a gradients 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 JSON simplified format of the current gradient, making use of the JSON Action Manager scripting library; you can copy and/or save the generated text in Gradient Object Simplified Format and use it in your own scripts by passing it to the function jamHelpers.toGradientObject
.
This script can be used in Adobe Photoshop CS4 or later. It has been successfully tested in CS4 on Mac OS X, but should be platform agnostic.
This Software is copyright © 2011-2015 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.