Skip to main content
Participant
Nov 17, 2009 5:56 PM UTC
Answered

charIDToTypeID( "xxx" ) Reference

I am using scriptlistener to record some scripts.  It is of course filled with this stuff

var id41 = charIDToTypeID( "Vrtc" );

var id42 = charIDToTypeID( "#Rlt" );

I can figure some of it out. But I some I can't. In this case I am not sure what" #Rlt" means or if there are perhaps any other options that migh be used there.

Is there a reference somewhere to all of these codes?  Or is this just magic?

TIA

This topic is closed to new replies. Start a new post to keep the conversation going.
Paul Riggott
Paul RiggottCorrect answer
Inspiring
Nov 17, 2009 8:52 PM UTC

The nearest official documentation will proberbly be the Javascript Reference Appenddix A : Event ID Codes.

This document should be found C:\Program Files\Adobe\Adobe Photoshop CS4\Scripting\Documents

8 replies

Paul Riggott
Inspiring
Nov 17, 2009 7:35 PM UTC

I think X and Mike are the experts in this field but sometimes you can get something meaningful using:

$.writeln(typeIDToStringID(charIDToTypeID( "#Rlt")));

In this case it returns "distanceUnit" but I call it relative to 72pixels as that is normally what it is.

Translate
toddgeistAuthor
Participant
Nov 17, 2009 7:54 PM UTC

Thanks for the response, that does help a bit, but I m still wondering if this stuff is written down anywhere?  Maybe it isn't?

Translate
Paul Riggott
Paul RiggottCorrect answer
Inspiring
Nov 17, 2009 8:52 PM UTC

The nearest official documentation will proberbly be the Javascript Reference Appenddix A : Event ID Codes.

This document should be found C:\Program Files\Adobe\Adobe Photoshop CS4\Scripting\Documents

Translate