Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

135
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda