简体   繁体   中英

Start dialer.exe from browser?

I am actually around the internet development for quite a while now - but I never had to do the following and have no idea how to solve it:

Our computers have connected Telephones which are used with the Dialer.exe.

As I am working on an internal Clientdatabase in our network I would like to support the feature of clicking a "link" == telephonnumber in the browser in our database -> that click should execute the following task : open dialer.exe on users C:// , paste in telephonenumber in numberfield.

Thank you for your help.

That should be possible by adapting a Costum-URI-Sheme to your needs. See here: https://msdn.microsoft.com/en-us/library/aa767914%28v=vs.85%29.aspx

Problematic is that this solution is yet Windows only and that you need to set registry-entries on every machine. Probably those values are applicable with an appropriate infrastructure but if there's not domain existent this could be a horrendous amount of work...

Edit:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\telephone]
@="URL:Telephone Dialer"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\telephone\DefaultIcon]
@="\"C:\\Windows\\System32\\dialer.exe\",1"

[HKEY_CLASSES_ROOT\telephone\shell]
"URL Protocol"=""

[HKEY_CLASSES_ROOT\telephone\shell\open]

[HKEY_CLASSES_ROOT\telephone\shell\open\command]
@="\"C:\\Windows\\System32\\dialer.exe\" \"%1\""

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM