How to create a URI Scheme
to open a program.
URI Scheme
is what the Torrent , Skype , TeamSpeak , Discord among other programs use to open itself program by WEB
.
Example: ts3server://servidor.com.br:4000
How to create a URI Scheme
to open a program.
URI Scheme
is what the Torrent , Skype , TeamSpeak , Discord among other programs use to open itself program by WEB
.
Example: ts3server://servidor.com.br:4000
You need to register your URI Scheme in the windows registry follow the path of the registry:
HKEY_CLASSES_ROOT/
your-protocol-name/
(Default) "URL:your-protocol-name Protocol"
URL Protocol ""
shell/
open/
command/
(Default) PathToExecutable
Practical example:
HKEY_CLASSES_ROOT/
alert/
(Default) = "URL:Alert Protocol"
URL Protocol = ""
DefaultIcon
(Default) = "alert.exe,1"
shell/
open/
command/
(Default) = "C:\Program Files\Alert\alert.exe" "%1"
More details: link