sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [WebDialog writer's tool] JavaScript Console

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 4 Posters 611 Views 4 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.
    • M Offline
      MartinRinehart
      last edited by

      This is earning its keep.

      js_console.gif

      Bet you wouldn't guess some of the answers its giving in this screenshot.

      This is a fragile little hack that does not respond well to malformed JavaScript. Reload after errors.

      To install, extract to any handy directory and open the HTML with Chrome, Firefox or Opera.

      PC only. Mac? Can be done. Ask here.


      HTML, .js, .gif

      Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

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

        Theres a javascript console built in to chrome if you were just looking for something for personal use (developer->javascript console, i think.)

        If not, a cool little utility ๐Ÿ‘

        http://remusrendering.wordpress.com/

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

          @martinrinehart said:

          Bet you wouldn't guess some of the answers its giving in this screenshot.

          Wasn't aware JS returned infinity.

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

          1 Reply Last reply Reply Quote 0
          • M Offline
            MartinRinehart
            last edited by

            @remus said:

            Theres a javascript console built in to chrome

            I've looked at it. Especially looked for the Help button. Have you figured out how to use it?

            @thomthom said:

            Wasn't aware JS returned infinity.

            That makes two of us.

            And if Jim stops by, maybe he could tell me how to synch the textarea size to the page size. Jim?

            Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

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

              No idea how it works myself, my javascript skills can currently be summed up with the phrase 1+2, so i dont really know hows its meant to work. having said that it looks fairly fully featured compared to the ruby console options available for SU.

              http://remusrendering.wordpress.com/

              1 Reply Last reply Reply Quote 0
              • M Offline
                MartinRinehart
                last edited by

                @remus said:

                No idea how it works myself, my javascript skills can currently be summed up with the phrase 1+2...

                Later this weekend, maybe tomorrow!, I'll announce Chapters 18 and 19 of my tutorial: 18==HTML/CSS, 19==JavaScript/WebDialogs. Recruiting people who want to learn more.

                @remus said:

                it looks fairly fully featured compared to the ruby console options available for SU.

                It looks great. It also looks like they forgot that only in their offices can you just lean over and ask the person in the next cube how to use it. I leaned over and asked my pet Python, Monty. He just said, "If you waste your time writing Ruby, you'll never learn."

                Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  CPhillips
                  last edited by

                  Again, I have to recommend Firebug Lite. It has a full featured Javascript console plus HTML DOM and CSS browsers. It works on IE, Safari, Firefox and Chrome and you can add it to any HTML doc with only one (long) line:

                  <a href="javascript&#058;var firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);">Firebug Lite</a>
                  

                  http://getfirebug.com/lite.html

                  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