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

141
Vistas
Is it possible to get the parameter of a custom url protocol on Photoshop?

I'm working on a Photoshop plugin in JavaScript and I would like to be able to get a parameter that I send thanks to a custom url protocol when the user clicks on a button on a web page.

The html file looks like this :

<html>
<body>
    Hey, I'm a web page !
    <a id="href-custom-protocol" href="my-prot://params">Run Photoshop</a>
    <script>
        var params = 1;
        var linkCustomProtocol = document.getElementById('href-custom-protocol');
        var url = "my-prot://" + params;
        linkCustomProtocol.setAttribute('href', url);
    </script>
</body>

This is my custom url protocol :

reg add HKEY_CLASSES_ROOT\my-prot /t REG_SZ /d "My Description" /f
reg add HKEY_CLASSES_ROOT\my-prot /v "URL Protocol" /t REG_SZ /d "" /f
reg add HKEY_CLASSES_ROOT\my-prot\shell /f
reg add HKEY_CLASSES_ROOT\my-prot\shell\open /f
reg add HKEY_CLASSES_ROOT\my-prot\shell\open\command /t REG_SZ /d c:\Windows\photoshop.exe /f

I thought of going to search in the regedit for the data of the custom url (via the path) but I do not know how to go about it.

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