Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

138
Vistas
Can't understand or decipher photoshop scripting function

I have the following function in a script:

function makeSelectionFromRGB()
{
    var idsetd = charIDToTypeID( "setd" );
    var desc2237 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    var ref970 = new ActionReference();
    var idChnl = charIDToTypeID( "Chnl" );
    var idfsel = charIDToTypeID( "fsel" );
    ref970.putProperty( idChnl, idfsel );
    desc2237.putReference( idnull, ref970 );
    var idT = charIDToTypeID( "T   " );
    var ref971 = new ActionReference();
    var idChnl = charIDToTypeID( "Chnl" );
    var idChnl = charIDToTypeID( "Chnl" );
    var idRGB = charIDToTypeID( "RGB " );
    ref971.putEnumerated( idChnl, idChnl, idRGB );
    desc2237.putReference( idT, ref971 );
    executeAction( idsetd, desc2237, DialogModes.NO );
}

This function makes selections on an image based on something I can't find out, and its's what I want to find out. I have tried to view the history panel, but it doesn't provide details. The history log only says that a script was run. How can I recreate this script's actions in photoshop?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda