sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Question about palettes

    Scheduled Pinned Locked Moved Developers' Forum
    22 Posts 4 Posters 1.9k 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.
    • thomthomT Offline
      thomthom
      last edited by

      Along with a require 'toggleWindows.rb' to ensure it's loaded before accessing the code.

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

      1 Reply Last reply Reply Quote 0
      • CadFatherC Offline
        CadFather
        last edited by

        that's not fair TIG - you're hacking your own code! πŸ˜†

        i'll give it a spin..

        ok folks, seriously what the heck have you got in those brains...i'm thinking of early retirement.. πŸ˜’

        Thank You

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

          Ain't no backing out now! πŸ˜‰

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

          1 Reply Last reply Reply Quote 0
          • CadFatherC Offline
            CadFather
            last edited by

            you must be joking, i'm going out for a drink to forget!

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

              You'll be drinking binary

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

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

                Note that TIG's current example works on English Sketchup only. It needs a bit of work to retrieve the localized window titles from the exe's resources, in order to work for all language locale editions.

                I'm not here much anymore.

                1 Reply Last reply Reply Quote 0
                • CadFatherC Offline
                  CadFather
                  last edited by

                  that's true.. it works fine, but it greys out many context commands on starting SU... πŸ‘Ž

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    How are you making the commands? - make one only attached to the toolbar.
                    The reason for the grey-outs is 'too many commands'.
                    It's possible to accidentally create a new command every time it's used...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • CadFatherC Offline
                      CadFather
                      last edited by

                      i went through most plugins commands, numbered them all differently (e.g. cmd1, cmd2, etc)

                      also got rid of some plugins - right now it works - but i'm keeping an eye...

                      many thanks again TIG... i owe you quite a few pints! πŸ˜„

                      1 Reply Last reply Reply Quote 0
                      • CadFatherC Offline
                        CadFather
                        last edited by

                        ok, updated version with better commands and icons. works fine on my pc

                        TogglePanels.zip

                        1 Reply Last reply Reply Quote 0
                        • CadFatherC Offline
                          CadFather
                          last edited by

                          yes, maybe i'm better at it after a few guinness...

                          meantime here's the result - i don't have a mac so do not know whether it works there.

                          only thing is that upon reopening, the windows always dock at the bottom of the stack.. πŸ˜’

                          Cheers

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

                          Advertisement