How to stop some plugin toolbars from appearing at startup
-
Hi there. I've been building up a library of very cool plugins. A couple of them seem to open little toolbars at startup. eg Profile Builder (what an awesome plugin) and Hatchface. Is there a way to stop this from happening?
-
First undock these toolbars (drag the off the toolbar area so that they are floating. Maybe you will need to restart SU to see if this has taken a permanent effect.
Now go to View > Toolbars and here uncheck what you do not want to appear. Again, at this area you can now save the toolbar positions (just in case)
Undocking is important first otherwise when you enable them again, they will try to find their places in the dock and mess up your other toolbars. This way, if you need them temporarily (and go to the View menu again to check them), they will appear floating.
-
hey Caaba.. I believe Troy is on a Mac in which case, the problem lies in how the plugin is coded.
it's a simple fix (one or two lines of code need edited) but with profile builder, it's not such a simple fix because it's a scrambled code.. so Whaat (orig author) would have to modify it then redistribute.
there is a thread or two around here discussing what needs changed. I'll try to search for it in a bit. (on a phone & at work so no promises on finding the threads )
-
Thanks guys. Yes, I'm on a Mac. I might contact Whaat via PM (if OK) and let him know. Will also do a bit of a search on the fix. I assume it means manually editing the ruby code. That's cool. I've been doing a bit of reading about that and was going to have a go at some scripting myself.
-
here's one such post:
http://forums.sketchucation.com/viewtopic.php?p=147126#p147126
there are more scattered about in various thread with me asking the authors to make the required changes
it's something to do with toolbar.show and or toolbar.restore
-
@unknownuser said:
here's one such post:
http://forums.sketchucation.com/viewtopic.php?p=147126#p147126
there are more scattered about in various thread with me asking the authors to make the required changes
it's something to do with toolbar.show and or toolbar.restore
Thanks mate. That was a point in the right direction. I opened up the Hatchfaces.rb file and found the line with "toolbar.show" in it. I commented that out, restarted SU and it never shows on startup, which probably suits me considering how often I'll use it. If I close SU with the HF toolbar still open, it won't be there next time I start up.
Just for kicks, I substituted the line:
toolbar.show
with:
## start troypiggo edit #toolbar.show state = toolbar.get_last_state if (state == TB_VISIBLE) toolbar.restore end ## end troypiggo edit
and now it does indeed remember the state of the toolbar when SU was quit. Thanks again for the pointer.
Profile Builder does appear to be a scrambled ruby script, so I'll need to contact the author. I bought the pro version, so hoping it's supported
-
it used to be where every plugin with toolbars had this problem. most of the authors have been very good about making their code cross platform these days and maybe they're doing something different than as shown in that thread..
hopefully TIG or thomthom (or fredo or jim etc) sees this thread as they'll be able to offer something a lot more meaningful/concrete than what I've spewed out here
-
Sorry guys, it's too hot here. Thanks Jeff for helping out!
-
Just found the SoapSkinBubbleTool and it's a little different to stop toolbar opening every time.
In the plugins folder there's a folder called SoapSkinBubble, and in there is a file called SoapSkinBubbleMenu.rb. Edit that file and find the line:
sbToolbar.show
and change that to:
## start troypiggo edit # sbToolbar.show state = sbToolbar.get_last_state if (state == TB_VISIBLE) sbToolbar.restore end ## end troypiggo edit
Advertisement