Skip to main content
Participant
November 17, 2009
Answered

charIDToTypeID( "xxx" ) Reference

  • November 17, 2009
  • 1 reply
  • 8708 views

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 has been closed for replies.
Correct answer Paul Riggott

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

1 reply

Paul Riggott
Inspiring
November 17, 2009

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.

toddgeistAuthor
Participant
November 17, 2009

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?

Paul Riggott
Paul RiggottCorrect answer
Inspiring
November 17, 2009

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