Reputation: 1337
I would like to create a link on a web page, which points to a local file. Click it to start a local application to open it. Is it possible? If not, can a plugin of browser or any other approach achieve it?
Upvotes: 2
Views: 1377
Reputation: 1200
URL Scheme can help you. We are able to open a local application by a url like 'openmyapp://****',but you need to create a registry for your application. ON the Windows System,the content of the registry is like this
[HKEY_CLASSES_ROOT/Alitalk]
"URL Protocol"="openmyapp"
[HKEY_CLASSES_ROOT/Alitalk/Shell]
[HKEY_CLASSES_ROOT/Alitalk/Shell/Open]
[HKEY_CLASSES_ROOT/Alitalk/Shell/Open/Command]
@="/"C://Program Files//Alisoft//WangWang//WangWang.EXE/" %1"
Upvotes: 1