Get Current Gradient

Description

“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.

Current Gradient Tool Bar

Get Current Gradient Dialog (Mac OS X)

Current Gradient Editor Dialog

Requirements

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.

Copyright

This Software is copyright © 2011-2015 by Michel MARIANI.

License

This Software is licensed under the GNU General Public License (GPL) v3.

Download

Installation

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.

Version History

  • 4.2

    • Used new version 4.4.4 of jamEngine scripting library module.
  • 4.1

    • Used new version 4.4.1 of scripting library modules.
  • 4.0

    • Used new version 4.3 of jamHelpers scripting library module.
  • 3.9

    • Used new version 4.0 of scripting library modules.
  • 3.8

    • Used new version of jamEngine scripting library module.
  • 3.7

    • Used new version of scripting library modules.
    • Used new explicit format.
  • 3.6

    • Used new version of scripting library modules.
  • 3.5

    • Used jamUtils.writeTextFile () in replacement of custom code.
  • 3.4

    • Added ‘TEXT’ Mac OS type to newly created JSON file.
  • 3.3

    • Used new version of scripting library modules.
  • 3.2

    • Incremented version number to keep in sync with scripting library modules.
  • 3.1

    • Incremented version number to keep in sync with scripting library modules.
  • 3.0

    • Applied the redefined JSON AM Reference format.
  • 2.0

    • Initial release.

Tags: , , , ,

Comments are closed.