Skip to main content
Participant
November 17, 2009
Resuelto

charIDToTypeID( "xxx" ) Reference

  • November 17, 2009
  • 8 respuestas
  • 8752 visualizaciones

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

Este tema ha sido cerrado para respuestas.
Mejor respuesta de 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

8 respuestas

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.

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 RiggottRespuesta
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