Skip to content

Creates hyperlinks to call desktop applications from

License

Notifications You must be signed in to change notification settings

DimyDisconzi/DesktopAppLink

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DesktopAppLink

With DesktopAppLink any app on your system can be opened from your browser

[Usage]:

It's fairly simple to use:

 DesktopAppLink.CreateLink(
      "applink.sample", 
      "\"<path to exe>\"", 
      "<optionalStaticArgument>");

You then create link like this:

<a href="applink.sample:optionalArgumentsFromLink">Run Desktop App</a>

[Arguments]:

There are 2 types of arguments:

  • static args (passed to the protocol upon creation)
  • arguments that are passed with the protocol when invoking (via webbrowser)

[Static Arguments]:

Static args are store in the registry of windows next to your protocol. The can only be changed using regedit.

[Arguments from Hyperlink]:

Links from hyperlink will always be passed with the protocolname to the application:

<a href="mycustomprotocol:origin=web">Click me!</a>

Results:

Chrome:

Firefox:

About

Creates hyperlinks to call desktop applications from

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%