sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Web dialogues

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 3 Posters 212 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      remus
      last edited by

      Is it possible to make web dialogues open in a browser other than IE?

      This is for personal use only, by the way.

      http://remusrendering.wordpress.com/

      1 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • R Offline
          remus
          last edited by

          I take it is hard wired in to SU to load web dialogues in IE then, no handy registry setting you can tweak?

          http://remusrendering.wordpress.com/

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            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.

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement