Skip to main content
joehwang1234
Participant
October 3, 2014
Answered

How can I find stringIDToTypeID() argument?

  • October 3, 2014
  • 3 replies
  • 4064 views

Hi there,

I can't not find stringIDToTypeID() argument  in  ADOBE PHOTOSHOP CS6 SCRIPTING GUIDE  and   ADOBE PHOTOSHOP JAVASCRIPT SCRIPTING REFERENCE.

How can I find stringID list,like "placedLayerEditContents","patternFill","targetLayers" ?

thanks

This topic has been closed for replies.
Correct answer xbytor2

You can find most of them here:

http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/xlib/PSConstants.js

This includes everything up through PS CC. I'll do an update for CC 2014 when I get a chance.

This probably does not include stuff that is loaded dynamically or in 3rd part plugins.

If anybody has a more complete list, please let me know so I can update this file.

-X

3 replies

joehwang1234
Participant
October 3, 2014

Thanks everyone

ScriptListener plug-in solved my problem.

xbytor2Correct answer
Inspiring
October 3, 2014

You can find most of them here:

http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/xlib/PSConstants.js

This includes everything up through PS CC. I'll do an update for CC 2014 when I get a chance.

This probably does not include stuff that is loaded dynamically or in 3rd part plugins.

If anybody has a more complete list, please let me know so I can update this file.

-X

Inspiring
October 3, 2014

AFAIK, Adobe does not  provide a comprehensive documented list of these or the charIDs. I have a perl script that extracts the information from the PS dev kit and generates ths PSConstants file which I occasionally have to go in and tweak when new versions drop.

-X

pixxxelschubser
Community Expert
Community Expert
October 3, 2014

joehwang1234,

do you really mean Javascript or perhaps ScriptListener-Code (AM-Code) ?