0

Is there a way I can start a standalone GUI program from within my javascript code? What I intend is to display a button when in a particular website, which when clicked, opens up my GUI program and passes the URL to it, kinda like Internet Download Manager(IDM) does it.

2
  • 2
    Your GUI program needs to register a custom URL scheme on the OS level, like mailto:, skype: or steam: (en.wikipedia.org/wiki/…) Commented Jun 27, 2014 at 11:15
  • 1
    Is your question: "How can I launch a native application from a browser?" Everything you can see on the screen is GUI. Commented Jun 27, 2014 at 11:19

1 Answer 1

1

If your app registers as a handler for specific URL schemes, then opening a link using one of those URL schemes should do.

For instance, if your app says it can handle the myscheme scheme, then opening myscheme:somedata URL should trigger opening that app.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.