Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

140
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!