• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Show and Hide your toolbar

Scheduled Pinned Locked Moved Plugins
29 Posts 16 Posters 33.8k Views
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.
  • G Offline
    gavvy
    last edited by 12 Aug 2010, 05:42

    😎
    Here is a plugin which can help you to show or hide the toolbars

    Usage put it to the plugins floder and assign it a hotkey!
    πŸ˜›

    Double hit the hotkey ,or load the command twice in a second it will show or hide the "LargeToolset" πŸ˜›

    Thanks for the help by Master Thomthom.


    showhidetoolbars.rb

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 12 Aug 2010, 13:15

      Ehm... Where and how can I find/launch the plugin?

      There is (now?) an entry under my Plugins menu "Relist toolbars". Is that it?

      I get a popup that "Relisted finished" but nothing happens.

      Gai...

      1 Reply Last reply Reply Quote 0
      • G Offline
        gavvy
        last edited by 13 Aug 2010, 02:24

        @gaieus said:

        Ehm... Where and how can I find/launch the plugin?

        There is (now?) an entry under my Plugins menu "Relist toolbars". Is that it?

        I get a popup that "Relisted finished" but nothing happens.

        β˜€
        There is 2 item
        "Show Hide Toolbars" :to show or hide your toolbars
        "Relist Toolbars" :to relist the toolbars (just relist)

        at the begin ,you just to launch the "Show Hide Toolbars" twice IT WILL BE OK πŸ˜†

        1 Reply Last reply Reply Quote 0
        • C Offline
          charly2008
          last edited by 13 Aug 2010, 10:50

          Hi,

          it works. Only one click at "Show and Hide toolbar". To reverse it click again "Show and Hide toolbar". The result looks like this! It would be nice if the tool would make sorting a little better. Is that possible in this script?

          I have found a way. When you first use "Show and Hide toolbar" sort the toolbars manually as desired. The next time you use it, all the toolbars are in this sort available again.

          But I've noticed when I undo "Show and Hide toolbar" my toolbars disappear in the top and upper bar. the have to be refurbished.

          Charly


          Unbenannt.JPG


          Unbenannt.JPG


          Unbenannt.JPG

          He who makes no mistakes, makes nothing

          1 Reply Last reply Reply Quote 0
          • B Offline
            Burkhard
            last edited by 13 Aug 2010, 16:21

            Any chance to get it for Mac? It does not work here.

            [http://www.ia-plus.de(http://www.ia-plus.de)]

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gaieus
              last edited by 13 Aug 2010, 18:26

              OK, I got it to work, thanks for the help.

              Gai...

              1 Reply Last reply Reply Quote 0
              • G Offline
                gavvy
                last edited by 14 Aug 2010, 03:46

                @charly2008 said:

                Hi,

                it works. Only one click at "Show and Hide toolbar". To reverse it click again "Show and Hide toolbar". The result looks like this! It would be nice if the tool would make sorting a little better. Is that possible in this script?

                I have found a way. When you first use "Show and Hide toolbar" sort the toolbars manually as desired. The next time you use it, all the toolbars are in this sort available again.

                But I've noticed when I undo "Show and Hide toolbar" my toolbars disappear in the top and upper bar. the have to be refurbished.

                Charly

                En....May be Jim will know how to get the position of the toolbars!
                In the Sketchep Api Webside,i can't find the toolbar's position method.
                But like the hotkey ,the position of toolbars are restored in the Registry of Windows.
                If you want to do this ,maybe you have to restart the sketchup .It's that the best way ? 😲

                By the way ,I have not touch the MAC system 😳 πŸ˜† .SO i don't know if it can run on mac or not.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 14 Aug 2010, 12:55

                  @gavvy said:

                  May be Jim will know how to get the position of the toolbars!

                  You would need to use Win32API on Windows, and I don't know for the Mac.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gavvy
                    last edited by 15 Aug 2010, 10:47

                    @jim said:

                    @gavvy said:

                    May be Jim will know how to get the position of the toolbars!

                    You would need to use Win32API on Windows, and I don't know for the Mac.

                    πŸ˜• OH YEAR ~.I remeber a plugin have the example to sort the toolbar in side .em but i don't remember the name of it . 😳

                    Win32api is a good tool to do this ,but it always get wrong for the string 😠 Why?

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gavvy
                      last edited by 15 Aug 2010, 10:51

                      πŸ˜•
                      here is my toolbars . πŸ˜›

                      and the toolbar plugins (modify on Jim's Customtoolbar)


                      111.jpg

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Gaieus
                        last edited by 15 Aug 2010, 11:00

                        My problem with this plugin is that it shows all the toolbars that I do not even use when I set it. There are a couple of plugins that I do not use regularly and only switch off when I need them. This plugin activates all inactive toolbars, too (on top of all I also use Jim's custom toolbar).

                        Gai...

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          gavvy
                          last edited by 17 Aug 2010, 05:33

                          @gaieus said:

                          My problem with this plugin is that it shows all the toolbars that I do not even use when I set it. There are a couple of plugins that I do not use regularly and only switch off when I need them. This plugin activates all inactive toolbars, too (on top of all I also use Jim's custom toolbar).

                          I will upgade it .the pre version ,I had a txt to control which is not show ,and which will show .
                          Next I will add the webDiaglo to control it β˜€

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Gaieus
                            last edited by 17 Aug 2010, 06:52

                            Please, don't get me wrong, the plugin seems to be very useful - and I am probably one of those few who keeps plugins under the hood and only activates toolbars when needed (I sometimes do not use a plugin for months but then a certain projects comes and I use it daily).

                            Now if only we could save toolbar locations as well so they do not get cluttered all the time when activating / deactivating certain ones.
                            πŸ˜’

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jim
                              last edited by 1 Sept 2010, 00:30

                              There it is!

                              UI.set_toolbar_visible("FullToolSet", true)

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • X Offline
                                xrok1
                                last edited by 28 Feb 2011, 16:48

                                this plugin is awsome! has anyone figured how to get it to open only active plugs?
                                begreat if you could have it only toggle the ones you want it to or only undocked bars as well. that way you could float the larger ones or the ones you don't use as often. πŸ˜„

                                β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                                http://www.Twilightrender.com try it!

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  nikus_knx
                                  last edited by 20 May 2011, 09:31

                                  How to hide Scene Tabs ? Any idea? UI.set_toolbar_visible("Scene Tab", false) doesn't work...

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by 20 May 2011, 12:24

                                    @nikus_knx said:

                                    How to hide Scene Tabs ? Any idea? UI.set_toolbar_visible("Scene Tab", false) doesn't work...
                                    AFAIK the Scene Tabs can't be toggled through the API.
                                    If you were on a PC you could assign a shortcut key to that View > Scene Tabs menu item and then call a WinScript command to mimic the key-stroke, but since it's a 'toggle', then knowing whether you will turn the Tabs on or off is problematical...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • N Offline
                                      nikus_knx
                                      last edited by 20 May 2011, 15:05

                                      I get it :

                                      Sketchup.send_action 10534 
                                      

                                      Do it two times the first time (there 's a bug in Sketchup about the connected checkbox)

                                      Enjoy

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by 20 May 2011, 15:07

                                        @nikus_knx said:

                                        I get it :

                                        Sketchup.send_action 10534 
                                        

                                        Do it two times the first time (there 's a bug in Sketchup about the connected checkbox)

                                        Enjoy
                                        However, that's PC only... πŸ˜•
                                        Because it's a toggle there's no way of knowing it the tabs are on before running it, so if they are already off it'll switch them on ?

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          driven
                                          last edited by 20 May 2011, 15:53

                                          @tig said:

                                          @nikus_knx said:

                                          How to hide Scene Tabs ? Any idea? UI.set_toolbar_visible("Scene Tab", false) doesn't work...
                                          AFAIK the Scene Tabs can't be toggled through the API.
                                          If you were on a PC you could assign a shortcut key to that View > Scene Tabs menu item and then call a WinScript command to mimic the key-stroke, but since it's a 'toggle', then knowing whether you will turn the Tabs on or off is problematical...

                                          on a Mac you can use an osascript call to do the same sort of thing,

                                          along these lines, but you need to double check all the escapes

                                          System "osascript -e 'tell application "System\ Events" -e click menu item "Scene\ Tabs" -e of menu 1 of menu bar item "View" -e of menu bar 1 of application process "SketchUp"e- "end tell"'"

                                          PM me if you want a working version or have a play.

                                          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
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement