Open a link in Safari

I am finalizing my first app using Xojo. This is a small utility to send midi notes.

I would like to know how from an entry in the Help menu I can open a link in the mac browser that points to my website.

Certainly in the MenuHandler of the menu but how?

Use System.GotoURL(TheURL), and don’t forget to include the https (or http) part, to tell the method to open a web URL (see the documentation).

1 Like

Thanks @Arnaud_N

MenuHandler method :

// Open browser
System.GotoURL("https://www.xojo.com")
Return True
1 Like