Sitelet https://github.com/DimyDisconzi/DesktopAppLink
Skip to content

About

Creates hyperlinks to call desktop applications from

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

15 Commits

Folders and files

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages