Get Equivalent ID Strings

Description

“Get Equivalent ID Strings” is a miscellaneous utility script using the JSON Action Manager scripting library.

This stand-alone script written in JavaScript opens a dialog box with an input text field expecting either a CharID or a StringID string. Equivalent strings get automatically listed in two read-only text fields, provided they exist; the first field displays the equivalent CharID string, and the second field displays all possible StringIDs, including colliding/conflicting ones.

By convention, a CharID string is expressed here as 'xxxx' (or even "'xxxx'"), since they are made of four-letter “mnemonic” strings originating from the C language character constants used to represent 32-bit integers, while a StringID string is just "xxxxxxxx", in plain, human-readable, standard string format.

Get Equivalent ID Strings Example - "red"

Get Equivalent ID Strings Example - "green"

Get Equivalent ID Strings Example - 'Grn '

Get Equivalent ID Strings Example - 'Bl  '

Get Equivalent ID Strings Example - 'GrdL'

Get Equivalent ID Strings Example - "bookID"

Get Equivalent ID Strings Example - 'Intr'

Requirements

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.

Copyright

This Software is copyright © 2013-2016 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

  • 1.5

    • Added dialog centering.
    • Restricted script to CS3 or later for lack of appropriate layout support.
  • 1.4

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

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

    • Added display of example at start-up.
    • Used new version 4.0 of scripting library modules.
  • 1.1

    • Used new version of scripting library modules.
  • 1.0

    • Initial release.

Tags: , , , ,

Comments are closed.