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

    How to list all Sketchup.send_action?

    Scheduled Pinned Locked Moved Developers' Forum
    9 Posts 4 Posters 959 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.
    • PixeroP Offline
      Pixero
      last edited by

      I know there is a way to list all SketchUp's send_action but I seem to have forgotten it.
      Can someone enlighten me? β˜€

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

        Unknown to me... the Ruby documentation have a list though.

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

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          Here's one but it won't work for me.

          http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=23321#p197850

          1 Reply Last reply Reply Quote 0
          • Dan RathbunD Offline
            Dan Rathbun
            last edited by

            !

            We have long had a snippet list of the actions strings in this forum:

            [Code] Sketchup.send_action() : Arguments to

            Be sure to read down the thread for updates, omissions, new actions found, old ones retired etc.


            @thomthom, I'll file an issue to update the official docs using this thread as a reference.

            I'm not here much anymore.

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by

              I have used a command line utility to scan the executable for strings ending in a colon. Something like this:

              
              > strings sketchup.exe | grep -e ";$"
              
              

              Hi

              1 Reply Last reply Reply Quote 0
              • PixeroP Offline
                Pixero
                last edited by

                @ Dan: Thanks, but how do you retrieve those string and numeric lists?
                Surely not by manually entering all numbers between 1 and 21560?

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by

                  @pixero said:

                  @ Dan: Thanks, but how do you retrieve those string and numeric lists?
                  Surely not by manually entering all numbers between 1 and 21560?

                  I don't know where the numbers come from, but the docs say they aren't guaranteed to work anyway.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • PixeroP Offline
                    Pixero
                    last edited by

                    Yeah, but I'm not going to make any public release of my script. It's purely for me. πŸ€“

                    1 Reply Last reply Reply Quote 0
                    • Dan RathbunD Offline
                      Dan Rathbun
                      last edited by

                      I can get some command ID numbers from menu items and buttons etc. by using a resource inspector utility. Currently I am using one named "Inspect Object" that comes with Microsoft Windows SDK, that can inspect GUI objects in realtime of all running applications.

                      P.S. - command ID integers only work on the Windows platform.

                      I'm not here much anymore.

                      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