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

    Mac Toolbars Editable?

    Scheduled Pinned Locked Moved Developers' Forum
    15 Posts 7 Posters 2.6k Views 7 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.
    • D Offline
      driven
      last edited by

      thanks Jeff,

      I use to have them 'stay' in V7 by doing that, but I'd completely forgotten it was a workaround...

      that you probably suggested in the first place...

      john

      learn from the mistakes of others, you may not live long enough to make them all yourself...

      1 Reply Last reply Reply Quote 0
      • wind-borneW Offline
        wind-borne
        last edited by

        Does anyone know if the 'measurements box' png in the Mac toolbar is accessible and editable?
        I like the box top center yet frown upon the word invading the landscape. 😲


        SketchUp1.png

        "To read between the lines was easier than to follow the text."OSX 10.11.6

        %(#BF80BF)[SU 8 pro

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

          @wind-borne said:

          Does anyone know if the 'measurements box' png in the Mac toolbar is accessible and editable?
          I like the box top center yet frown upon the word invading the landscape. 😲

          On PC its not a png, it's dynamically generated text. It changes (because it's a prompt,) depending on the Tool in use, and what step you are at in the Tool.

          In fact there are Ruby methods to set the VCB text prompt for coders writing their own Tool plugins.

          VCB = Value Control Box (another name for the Measurements Control.)

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • wind-borneW Offline
            wind-borne
            last edited by

            Duh,

            I always just looked inside the box but now I see words outside changing to reflect the action.

            Thanks

            "To read between the lines was easier than to follow the text."OSX 10.11.6

            %(#BF80BF)[SU 8 pro

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by

              @unknownuser said:

              it's that the plugins folder, i assume, is accessed later in the launch sequence than the toolbar being made..
              try this:
              put a ruby icon in the custom toolbar
              quit sketchup
              launch sketchup (the icon won't be up there at this point)
              open a new window (there's the icon)

              I also remembered the 'auto activate paint tool' preference 'bug' stops if your doing this and have also added a shortcut to Model Info window... to stop it popping up when you hit the space bar (set for 'select'), after using paint bucket.

              john

              learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                @unknownuser said:

                it's that the plugins folder, i assume, is accessed later in the launch sequence than the toolbar being made..
                try this:
                put a ruby icon in the custom toolbar
                quit sketchup
                launch sketchup (the icon won't be up there at this point)
                open a new window (there's the icon)

                Ah, thanks - this is what I had missed. Each Ruby Command on a Toolbar does show up as an individual item on the Mac custom toolbar dialog, but sometimes not in the first opened window. It would suggest there's a timing issue.

                Each platform seems to have half the solution. Users need to be able to create their own Toolbars (or Tool Palettes on Mac), and also be able add/remove individual Commands from it.

                Hi

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

                  @jim said:

                  Each platform seems to have half the solution. Users need to be able to create their own Toolbars (or Tool Palettes on Mac), and also be able add/remove individual Commands from it.

                  I did some more work on my Menu and Toolbar hack today. Got full hierarchy of Menus with access to menu text and procs. It would be possible to intercept the creation of the menus and place them at custom locations. Same thing can be done to toolbars.
                  Just want to make a quick Webdialog to go along with the proof of concept - then I'll post it here in the developers section so we can have collective review and brainstorming.

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

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

                    Also, are Mac Toolbars always vertical? In Windows, you can drag their border to change their aspect.

                    Oop, nevermind - drag them to the edge of the screen and they change automatically.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      driven
                      last edited by

                      jim, thom

                      you can edit the nibs on NSPanels, and I guess you could change the content if you know all the tool codes...
                      bit tricky getting transparent backgrounds right for each button

                      john

                      learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                        How did you do that?

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

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          driven
                          last edited by

                          I've sent a PM, you need Xcode and interface builder, and know where to find the files...

                          I'm not sure if 10.6 lets you, but 10.5.8 does, there not locked, just buried...

                          john

                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            haynesc
                            last edited by

                            @driven said:

                            jim, thom

                            you can edit the nibs on NSPanels, and I guess you could change the content if you know all the tool codes...
                            [attachment=0:1e21rm0n]<!-- ia0 -->tool palettes .jpg<!-- ia0 -->[/attachment:1e21rm0n]

                            john

                            hi i want this can you show me how?

                            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