Get User Colors Code

Description

“Get User Colors 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 set user colors to the current foreground and background values, making use of the JSON Action Manager scripting library; you can copy any part of the code, in particular the color data in Color Object Simplified Format expected by the function jamHelpers.toColorObject.

Get User Colors Code Dialog (Mac OS X)

User Colors

Requirements

This script can be used in Adobe Photoshop CS or later. It has been successfully tested in CS and 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 get directly accessible from Photoshop’s File menu: in Photoshop CS or CS2, it will appear in the File>Scripts submenu, among all other scripts sorted by lexical order; from Photoshop CS3, it will appear grouped by category in the File>Automate submenu.

Version History

  • 4.1

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

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

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

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

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

    • Used new version of scripting library modules.
    • Used new explicit format.
    • Added rounding of color component numerical values.
  • 3.5

    • Used new version of scripting library modules.
  • 3.4

    • Used new version of scripting library modules.
  • 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.