I’d like to know if I could open a specific webpage by running the system’s default browser, exactly how Rhino’s “Help” command does.
I know that a Rhino script like:
will run Chrome, but it might have several issues:
- I couldn’t get a URL to work, tried a few things. just got the browser to launch.
- It might not be the system’s default browser.
- I’m not sure that command could work cross-platform.
If this is not achievable in Rhino script I could also write a plugin and run the plugin’s command.
opening a URL in the default browser in windows should be easy, but then I’ll have to make sure it will somehow work for Mac as well.
Thanks for your help
Edit: as for my question, Graham’s answer below answers it, but eventually I went on to run the python script through my plugin, details below as well.