Web dialogues
-
Is it possible to make web dialogues open in a browser other than IE?
This is for personal use only, by the way.
-
Remus,
From the built-in WebDialog Ruby API, I am afraid you have no choice than to open the default browser control of the current OS, so IE on Windows (but can be IE6, IE7 or even IE8) depending on the most recent version you have. Same on Mac, where it is Safari. At least Sketchup is sure that they are around on the machine, and where to find them.
There may be ways to launch other browsers, by launching directly the exe of the browser of choice (by invoking
UI.openURL <path to the exe, with arguments>
for Windows). But then, I am not sure you can establish communication at Ruby level, and you'll have to do everything in Javascript.Fredo
It's good that you mention this is for personal use. For us, Ruby writers, that may not be a so good idea to have too many browsers to support. For GUI, it's already a nightmare to have a few versions of IE and Safari. And unless we all agree on a portable Javascript library, it would be even worse if we start having to support the full collection of browsers invented by the Web Community.
-
I take it is hard wired in to SU to load web dialogues in IE then, no handy registry setting you can tweak?
-
I remember there was a hack to make applications embed Mozilla engine instead of the IE engine. But I'm not sure if it still works. There was some possibility for incompatibility as well.
Advertisement