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!
    โš ๏ธ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    ?

    Scheduled Pinned Locked Moved SketchyPhysics
    3 Posts 2 Posters 516 Views 2 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.
    • P Offline
      Physicsguy1
      last edited by

      I noticed that you can set a message box to appear after a certain event. I was wondering if you could program the message box buttons like "ok" and such to trigger a certain event. if you were to set a message box to appear when you press space, imagine that that there would be two possible events to choose. maybe one for setting a variable to 1 and another for setting a variable to 0. Is this possible?

      1 Reply Last reply Reply Quote 0
      • B Offline
        BTM
        last edited by

        Yup, but you'd have to learn ruby and the SketchUp API to do it. ... Or if you specified, I might be able to find it out for you. I know some of the API. Heck, a lot more than THAT is possible. ๐Ÿ˜†

        as for message boxes, I'm using one that comes up when you press the 'h' key, for a help/ info menu.
        Picture 1.png

        1 Reply Last reply Reply Quote 0
        • P Offline
          Physicsguy1
          last edited by

          OK. Nice, love the idea of a help window!

          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