This document provides information about StringIDs and CharIDs in Photoshop. It has been mostly inferred from the data available in the files PITerminology.h and PIStringTerminology.h of the Adobe Photoshop SDK.
Note: the following utility scripts are also quite useful:
app.stringIDToTypeID equivalent to a call to app.charIDToTypeID.| class | enumType | enumValue | event | key | |
|---|---|---|---|---|---|
"'Algn'" |
"align" |
"align""alignment" |
|||
"'AntA'" |
"antiAliasedPICTAcquire" |
"antiAlias" |
|||
"'BckL'" |
"backgroundLayer" |
"backgroundLevel" |
|||
"'BlcG'" |
"blackGenerationType" |
"blackGenerationCurve" |
|||
"'BlcL'" |
"blackLevel""blackLimit" |
||||
"'Blks'" |
"blacks""blocks" |
||||
"'BlrM'" |
"blurMethod" |
"blurMore" |
"blurMethod" |
||
"'BrgC'" |
"brightnessContrast" |
"brightnessContrast""brightnessEvent" |
|||
"'BrsD'" |
"brushesDefine" |
"brushDetail" |
|||
"'Brsh'" |
"brush" |
"brush""brushes" |
|||
"'Clcl'" |
"calculation" |
"calculations" |
"calculation" |
||
"'ClrP'" |
"colorPalette" |
"coloredPencil" |
"coloredPencil" |
||
"'Cnst'" |
"constant""constrain" |
||||
"'CntC'" |
"conteCrayon" |
"conteCrayon" |
"centerCropMarks" |
||
"'Cntr'" |
"center" |
"center""contrast" |
|||
"'CrtD'" |
"createDuplicate" |
"createDroplet" |
|||
"'CstP'" |
"customPhosphors" |
"customPalette" |
|||
"'Cstm'" |
"customPattern" |
"custom" |
"custom" |
||
"'Drkn'" |
"darken" |
"darkness" |
|||
"'Dstr'" |
"distribution" |
"distort" |
"distribute" |
"distortion"
"distribution" |
|
"'Dstt'" |
"desaturate" |
"desaturate" |
"destWhiteMax" |
||
"'FlIn'" |
"fileInfo" |
"fileInfo""fillInverse" |
"fileInfo" |
||
"'Gd '" |
"guide" |
"good" |
|||
"'GnrP'" |
"generalPrefs""preferencesClass" |
"generalPreferences" |
"generalPrefs" |
||
"'GrSt'" |
"graySetup" |
"grainStippled" |
"graySetup" |
||
"'Grdn'" |
"gradientClassEvent" |
"gradientClassEvent" |
"gradientClassEvent""gridMinor" |
||
"'Grn '" |
"grain""green" |
"grain" |
"grain""green" |
||
"'Grns'" |
"greens" |
"graininess" |
|||
"'HstP'" |
"historyPreferences" |
"historyPrefs" |
|||
"'HstS'" |
"historyState" |
"historyStateSourceType" |
|||
"'ImgP'" |
"imagePoint" |
"imageCachePreferences" |
|||
"'In '" |
"stampIn" |
"in" |
|||
"'IntW'" |
"intersectWith" |
"interfaceWhite" |
|||
"'Intr'" |
"intersect" |
"intersect" |
"interfaceIconFrameDimmed""interlace""interpolation" |
||
"'JPEG'" |
"JPEGFormat" |
"JPEG" |
|||
"'LghD'" |
"lightDirection" |
"lightDirectional" |
"lightDirection" |
||
"'LghO'" |
"lightenOnly""lightOmni" |
||||
"'LghS'" |
"lightSource" |
"lightSpot" |
"lightSource" |
||
"'Lns '" |
"lens" |
"lines" |
"lens" |
||
"'Mgnt'" |
"magenta""magentas" |
"magenta" |
|||
"'MrgL'" |
"mergedLayers" |
"mergeLayers" |
|||
"'Mxm '" |
"maximumQuality" |
"maximum" |
"maximum" |
||
"'NTSC'" |
"NTSC" |
"NTSCColors" |
|||
"'NmbL'" |
"numberOfLayers""numberOfLevels" |
||||
"'PlgP'" |
"pluginPrefs" |
"pluginPicker" |
"pluginPrefs" |
||
"'Pncl'" |
"pencilEraser" |
"pencilWidth" |
|||
"'Pnt '" |
"point" |
"point" |
"paint" |
||
"'Prsp'" |
"perspective" |
"perspectiveIndex" |
|||
"'PrvM'" |
"previewMagenta" |
"previewMacThumbnail" |
|||
"'Pstr'" |
"posterize" |
"posterize" |
"posterization" |
||
"'RGBS'" |
"RGBSetupSource" |
"RGBSetup" |
|||
"'Rds '" |
"reds" |
"radius" |
|||
"'ScrD'" |
"screenDot" |
"scratchDisks" |
|||
"'ShdI'" |
"shadingIntensity""shadowIntensity" |
||||
"'ShpC'" |
"shapingCurve" |
"shapeCurveType""shapingCurve" |
|||
"'ShrE'" |
"sharpenEdges" |
"shearEd" |
|||
"'Shrp'" |
"sharpen" |
"sharpness" |
|||
"'SplC'" |
"splitChannels" |
"supplementalCategories" |
|||
"'Spot'" |
"spotColor" |
"spot" |
|||
"'SprS'" |
"separationSetup""sprayedStrokes" |
"sprayedStrokes" |
|||
"'StrL'" |
"strokeLocation" |
"strokeLength" |
|||
"'Strt'" |
"saturation" |
"saturation""start" |
|||
"'TEXT'" |
"textType" |
"textType" |
|||
"'TIFF'" |
"TIFFFormat" |
"TIFF" |
|||
"'TglO'" |
"toggleOptionsPalette" |
"toggleOthers" |
|||
"'TrnG'" |
"transparencyGridSize" |
"transparencyGamutPreferences" |
"transparencyGrid""transparencyGridSize" |
||
"'TrnS'" |
"transparencyStop" |
"transferSpec""transparencyShape" |
|||
"'Trns'" |
"transparent" |
"transparency" |
|||
"'TxtC'" |
"textClickPoint""textureCoverage" |
||||
"'TxtF'" |
"textureFill" |
"textureFile" |
|||
"'UsrM'" |
"userMaskOptions" |
"userMaskEnabled" |
|||
"'null'" |
"null" |
"null" |
"null" |
"null""target" |
|
| class | enumType | enumValue | event | key |
JSON data extracted from the file jamEngine.jsxinc, part of the JSON Action Manager scripting library, representing a table of all known conflicting StringIDs:
{
"'Algn'": [ "align", "alignment" ],
"'AntA'": [ "antiAlias", "antiAliasedPICTAcquire" ],
"'BckL'": [ "backgroundLayer", "backgroundLevel" ],
"'BlcG'": [ "blackGenerationType", "blackGenerationCurve" ],
"'BlcL'": [ "blackLevel", "blackLimit" ],
"'Blks'": [ "blacks", "blocks" ],
"'BlrM'": [ "blurMethod", "blurMore" ],
"'BrgC'": [ "brightnessEvent", "brightnessContrast" ],
"'BrsD'": [ "brushDetail", "brushesDefine" ],
"'Brsh'": [ "brush", "brushes" ],
"'Clcl'": [ "calculation", "calculations" ],
"'ClrP'": [ "colorPalette", "coloredPencil" ],
"'Cnst'": [ "constant", "constrain" ],
"'CntC'": [ "centerCropMarks", "conteCrayon" ],
"'Cntr'": [ "center", "contrast" ],
"'CrtD'": [ "createDroplet", "createDuplicate" ],
"'CstP'": [ "customPalette", "customPhosphors" ],
"'Cstm'": [ "custom", "customPattern" ],
"'Drkn'": [ "darken", "darkness" ],
"'Dstr'": [ "distort", "distortion", "distribute", "distribution" ],
"'Dstt'": [ "desaturate", "destWhiteMax" ],
"'FlIn'": [ "fileInfo", "fillInverse" ],
"'Gd '": [ "good", "guide" ],
"'GnrP'": [ "generalPreferences", "generalPrefs", "preferencesClass" ],
"'GrSt'": [ "grainStippled", "graySetup" ],
"'Grdn'": [ "gradientClassEvent", "gridMinor" ],
"'Grn '": [ "grain", "green" ],
"'Grns'": [ "graininess", "greens" ],
"'HstP'": [ "historyPreferences", "historyPrefs" ],
"'HstS'": [ "historyState", "historyStateSourceType" ],
"'ImgP'": [ "imageCachePreferences", "imagePoint" ],
"'In '": [ "in", "stampIn" ],
"'IntW'": [ "interfaceWhite", "intersectWith" ],
"'Intr'": [ "interfaceIconFrameDimmed", "interlace", "interpolation", "intersect" ],
"'JPEG'": [ "JPEG", "JPEGFormat" ],
"'LghD'": [ "lightDirection", "lightDirectional" ],
"'LghO'": [ "lightOmni", "lightenOnly" ],
"'LghS'": [ "lightSource", "lightSpot" ],
"'Lns '": [ "lens", "lines" ],
"'Mgnt'": [ "magenta", "magentas" ],
"'MrgL'": [ "mergeLayers", "mergedLayers" ],
"'Mxm '": [ "maximum", "maximumQuality" ],
"'NTSC'": [ "NTSC", "NTSCColors" ],
"'NmbL'": [ "numberOfLayers", "numberOfLevels" ],
"'PlgP'": [ "pluginPicker", "pluginPrefs" ],
"'Pncl'": [ "pencilEraser", "pencilWidth" ],
"'Pnt '": [ "paint", "point" ],
"'Prsp'": [ "perspective", "perspectiveIndex" ],
"'PrvM'": [ "previewMacThumbnail", "previewMagenta" ],
"'Pstr'": [ "posterization", "posterize" ],
"'RGBS'": [ "RGBSetup", "RGBSetupSource" ],
"'Rds '": [ "radius", "reds" ],
"'ScrD'": [ "scratchDisks", "screenDot" ],
"'ShdI'": [ "shadingIntensity", "shadowIntensity" ],
"'ShpC'": [ "shapeCurveType", "shapingCurve" ],
"'ShrE'": [ "sharpenEdges", "shearEd" ],
"'Shrp'": [ "sharpen", "sharpness" ],
"'SplC'": [ "splitChannels", "supplementalCategories" ],
"'Spot'": [ "spot", "spotColor" ],
"'SprS'": [ "separationSetup", "sprayedStrokes" ],
"'StrL'": [ "strokeLength", "strokeLocation" ],
"'Strt'": [ "saturation", "start" ],
"'TEXT'": [ "char", "textType" ],
"'TIFF'": [ "TIFF", "TIFFFormat" ],
"'TglO'": [ "toggleOptionsPalette", "toggleOthers" ],
"'TrnG'": [ "transparencyGamutPreferences", "transparencyGrid", "transparencyGridSize" ],
"'TrnS'": [ "transferSpec", "transparencyShape", "transparencyStop" ],
"'Trns'": [ "transparency", "transparent" ],
"'TxtC'": [ "textClickPoint", "textureCoverage" ],
"'TxtF'": [ "textureFile", "textureFill" ],
"'UsrM'": [ "userMaskEnabled", "userMaskOptions" ],
"'c@#^'": [ "inherits", "pInherits" ],
"'comp'": [ "comp", "sInt64" ],
"'doub'": [ "floatType", "IEEE64BitFloatingPoint", "longFloat" ],
"'long'": [ "integer", "longInteger", "sInt32" ],
"'magn'": [ "magnitude", "uInt32" ],
"'null'": [ "null", "target" ],
"'shor'": [ "sInt16", "sMInt", "shortInteger" ],
"'sing'": [ "IEEE32BitFloatingPoint", "sMFloat", "shortFloat" ]
}
JSON data extracted from the file jamEngine.jsxinc, part of the JSON Action Manager scripting library, representing a disambiguating rules table, used to choose among conflicting StringIDs the most adequate meaningful one in context:
{
"'Algn'":
{
"<classKey>":
{
"bevelEmboss": "align",
"frameFX": "align",
"gradientFill": "align",
"gradientLayer": "align",
"patternFill": "align",
"patternLayer": "align"
},
"<event>": "align",
"<key>": "alignment"
},
"'AntA'":
{
"<class>": "antiAliasedPICTAcquire",
"<key>": "antiAlias"
},
"'BckL'":
{
"<class>": "backgroundLayer",
"<key>": "backgroundLevel"
},
"'BlcG'":
{
"<enumType>": "blackGenerationType",
"<key>": "blackGenerationCurve"
},
"'BlcL'":
{
"<classKey>":
{
"'GEfc'": "blackLevel",
"CMYKSetup": "blackLimit"
},
"<eventKey>":
{
"reticulation": "blackLevel"
}
},
"'Blks'":
{
"<typeValue>":
{
"colors": "blacks",
"extrudeType": "blocks"
}
},
"'BlrM'":
{
"<enumType>": "blurMethod",
"<event>": "blurMore",
"<key>": "blurMethod"
},
"'BrgC'":
{
"<class>": "brightnessContrast",
"<event>": "brightnessContrast"
},
"'BrsD'":
{
"<enumValue>": "brushesDefine",
"<key>": "brushDetail"
},
"'Brsh'":
{
"<class>": "brush",
"<classKey>":
{
"brushPreset": "brush",
"currentToolOptions": "brush",
"displayPrefs": "brush"
},
"<key>": "brushes"
},
"'Clcl'":
{
"<class>": "calculation",
"<enumValue>": "calculations",
"<key>": "calculation"
},
"'ClrP'":
{
"<typeValue>":
{
"'GEft'": "coloredPencil"
},
"<enumType>": "colorPalette",
"<event>": "coloredPencil"
},
"'Cnst'":
{
"<classKey>":
{
"channelMatrix": "constant"
},
"<unknown>": "constrain"
},
"'CntC'":
{
"<typeValue>":
{
"'GEft'": "conteCrayon"
},
"<event>": "conteCrayon",
"<key>": "centerCropMarks"
},
"'Cntr'":
{
"<classKey>":
{
"'GEfc'": "contrast",
"brightnessContrast": "contrast",
"document": "center",
"polygon": "center",
"quadrilateral": "center"
},
"<eventKey>":
{
"adaptCorrect": "contrast",
"brightnessEvent": "contrast",
"grain": "contrast",
"halftoneScreen": "contrast",
"sumie": "contrast",
"tornEdges": "contrast",
"waterPaper": "contrast"
},
"<enumValue>": "center"
},
"'CrtD'":
{
"<enumValue>": "createDuplicate",
"<event>": "createDroplet"
},
"'CstP'":
{
"<class>": "customPhosphors",
"<key>": "customPalette"
},
"'Cstm'":
{
"<enumValue>": "customPattern",
"<event>": "custom",
"<key>": "custom"
},
"'Drkn'":
{
"<enumValue>": "darken",
"<key>": "darkness"
},
"'Dstr'":
{
"<classKey>":
{
"'GEfc'": "distortion"
},
"<eventKey>":
{
"glass": "distortion",
"addNoise": "distribution"
},
"<enumType>": "distribution",
"<enumValue>": "distort",
"<event>": "distribute"
},
"'Dstt'":
{
"<enumValue>": "desaturate",
"<event>": "desaturate",
"<key>": "destWhiteMax"
},
"'FlIn'":
{
"<typeValue>":
{
"fillColor": "fillInverse",
"menuItemType": "fileInfo"
},
"<class>": "fileInfo",
"<key>": "fileInfo"
},
"'Gd '":
{
"<class>": "guide",
"<enumValue>": "good"
},
"'GnrP'":
{
"<class>": "preferencesClass",
"<enumValue>": "generalPreferences",
"<key>": "generalPrefs"
},
"'GrSt'":
{
"<class>": "graySetup",
"<enumValue>": "grainStippled",
"<key>": "graySetup"
},
"'Grdn'":
{
"<class>": "gradientClassEvent",
"<event>": "gradientClassEvent",
"<key>": "gridMinor"
},
"'Grn '":
{
"<typeValue>":
{
"'GEft'": "grain"
},
"<classKey>":
{
"'GEfc'": "grain",
"RGBColor": "green",
"blackAndWhite": "green",
"channelMatrix": "green",
"channelMixer": "green"
},
"<eventKey>":
{
"blackAndWhite": "green",
"channelMixer": "green",
"filmGrain": "grain"
},
"<enumValue>": "green",
"<event>": "grain"
},
"'Grns'":
{
"<enumValue>": "greens",
"<key>": "graininess"
},
"'HstP'":
{
"<enumValue>": "historyPreferences",
"<key>": "historyPrefs"
},
"'HstS'":
{
"<class>": "historyState",
"<enumType>": "historyStateSourceType"
},
"'ImgP'":
{
"<class>": "imagePoint",
"<enumValue>": "imageCachePreferences"
},
"'In '":
{
"<enumValue>": "stampIn",
"<key>": "in"
},
"'IntW'":
{
"<event>": "intersectWith",
"<key>": "interfaceWhite"
},
"'Intr'":
{
"<typeValue>":
{
"shapeOperation": "intersect"
},
"<classKey>":
{
"GIFFormat": "interlace",
"SaveForWeb": "interlace",
"application": "interfaceIconFrameDimmed",
"computedBrush": "interpolation",
"dBrush": "interpolation",
"gradientClassEvent": "interpolation",
"photoshopEPSFormat": "interpolation",
"sampledBrush": "interpolation"
},
"<eventKey>":
{
"convertMode": "interpolation",
"imageSize": "interpolation",
"transform": "interpolation"
},
"<event>": "intersect"
},
"'JPEG'":
{
"<class>": "JPEGFormat",
"<enumValue>": "JPEG"
},
"'LghD'":
{
"<enumType>": "lightDirection",
"<enumValue>": "lightDirectional",
"<key>": "lightDirection"
},
"'LghO'":
{
"<typeValue>":
{
"diffuseMode": "lightenOnly",
"lightType": "lightOmni"
}
},
"'LghS'":
{
"<class>": "lightSource",
"<enumValue>": "lightSpot",
"<key>": "lightSource"
},
"'Lns '":
{
"<enumType>": "lens",
"<enumValue>": "lines",
"<key>": "lens"
},
"'Mgnt'":
{
"<typeValue>":
{
"channel": "magenta",
"colors": "magentas",
"guideGridColor": "magenta"
},
"<key>": "magenta"
},
"'MrgL'":
{
"<enumValue>": "mergedLayers",
"<event>": "mergeLayers"
},
"'Mxm '":
{
"<enumValue>": "maximumQuality",
"<event>": "maximum",
"<key>": "maximum"
},
"'NTSC'":
{
"<enumValue>": "NTSC",
"<event>": "NTSCColors"
},
"'NmbL'":
{
"<classKey>":
{
"'GEfc'": "numberOfLevels",
"document": "numberOfLayers"
},
"<eventKey>":
{
"cutout": "numberOfLevels"
}
},
"'PlgP'":
{
"<class>": "pluginPrefs",
"<enumValue>": "pluginPicker",
"<key>": "pluginPrefs"
},
"'Pncl'":
{
"<enumValue>": "pencilEraser",
"<key>": "pencilWidth"
},
"'Pnt '":
{
"<typeValue>":
{
"textType": "point"
},
"<class>": "point",
"<event>": "paint"
},
"'Prsp'":
{
"<enumValue>": "perspective",
"<key>": "perspectiveIndex"
},
"'PrvM'":
{
"<enumValue>": "previewMagenta",
"<key>": "previewMacThumbnail"
},
"'Pstr'":
{
"<class>": "posterize",
"<event>": "posterize",
"<key>": "posterization"
},
"'RGBS'":
{
"<enumType>": "RGBSetupSource",
"<key>": "RGBSetup"
},
"'Rds '":
{
"<enumValue>": "reds",
"<key>": "radius"
},
"'ScrD'":
{
"<enumValue>": "screenDot",
"<key>": "scratchDisks"
},
"'ShdI'":
{
"<classKey>":
{
"'GEfc'": "shadowIntensity"
},
"<eventKey>":
{
"watercolor": "shadowIntensity"
},
"<unknown>": "shadingIntensity"
},
"'ShpC'":
{
"<classKey>":
{
"application": "shapingCurve"
},
"<class>": "shapingCurve",
"<key>": "shapeCurveType"
},
"'ShrE'":
{
"<event>": "sharpenEdges",
"<key>": "shearEd"
},
"'Shrp'":
{
"<event>": "sharpen",
"<key>": "sharpness"
},
"'SplC'":
{
"<event>": "splitChannels",
"<key>": "supplementalCategories"
},
"'Spot'":
{
"<enumValue>": "spotColor",
"<key>": "spot"
},
"'SprS'":
{
"<typeValue>":
{
"'GEft'": "sprayedStrokes"
},
"<enumValue>": "separationSetup",
"<event>": "sprayedStrokes"
},
"'StrL'":
{
"<enumType>": "strokeLocation",
"<key>": "strokeLength"
},
"'Strt'":
{
"<classKey>":
{
"currentToolOptions": "saturation",
"fileNamingRules": "start",
"HSBColorClass": "saturation",
"hueSatAdjustment": "saturation",
"hueSatAdjustmentV2": "saturation",
"lineClass": "start",
"range": "start",
"vibrance": "saturation"
},
"<eventKey>":
{
"replaceColor": "saturation",
"variations": "saturation",
"vibrance": "saturation"
},
"<enumValue>": "saturation"
},
"'TEXT'":
{
"<enumType>": "textType",
"<key>": "textType"
},
"'TIFF'":
{
"<class>": "TIFFFormat",
"<enumValue>": "TIFF"
},
"'TglO'":
{
"<enumValue>": "toggleOptionsPalette",
"<key>": "toggleOthers"
},
"'TrnG'":
{
"<classKey>":
{
"application": "transparencyGrid",
"transparencyPrefs": "transparencyGridSize"
},
"<enumType>": "transparencyGridSize",
"<enumValue>": "transparencyGamutPreferences"
},
"'TrnS'":
{
"<classKey>":
{
"bevelEmboss": "transparencyShape",
"dropShadow": "transparencyShape",
"innerGlow": "transparencyShape",
"innerShadow": "transparencyShape",
"outerGlow": "transparencyShape"
},
"<class>": "transparencyStop",
"<unknown>": "transferSpec"
},
"'Trns'":
{
"<enumValue>": "transparent",
"<key>": "transparency"
},
"'TxtC'":
{
"<classKey>":
{
"'GEfc'": "textureCoverage",
"textLayer": "textClickPoint"
},
"<eventKey>":
{
"underpainting": "textureCoverage"
}
},
"'TxtF'":
{
"<event>": "textureFill",
"<key>": "textureFile"
},
"'UsrM'":
{
"<enumType>": "userMaskOptions",
"<key>": "userMaskEnabled"
},
"'null'":
{
"<class>": "null",
"<enumValue>": "null",
"<event>": "null",
"<key>": "target"
}
}
Doc version: 1.0
Date: 2018-04-18
Copyright: © 2018 Michel MARIANI
Disclaimer: this information is provided 'as is' without warranty of any kind, express or implied; use it at your own risk.