Reply to: Create toolbar button or macro to go to URLMay 18, 2012 at 7:50 pm
There's an API for that:
Where strURL is the page you wish to display.
If the user has never specified the path to a browser (they would need to have selected File > Preview in Browser) then they will be prompted to provide that path when this API is first called. That value is saved in their per-user copy of xmetal##.ini (in your case xmetal46.ini).
Using the Windows Script Host “Run” API:
The alternative would be to “run” the URL and allow Windows to decide which application to launch based on the user's file associations or the format of the URL. It may or may not launch a browser though it should for most people. Example:
var oWSH = new ActiveXObject("WScript.Shell");
oWSH = null;