Registry Hack for Locking su toolbars
-
Hi everyone.. i eventually got the pdf file in my pc.. that i downloaded from this forum only.. has anyone tried this trick in sketchup 7.1 explained in this pdf.. ?? Is there a possibility that one can incorporate the registry hacks explained in this pdf to make a new ruby plugin?? I hope that's possible... I'm not confident about playing with my registry....
-
Works ok, IΒ΄ve been doing this since V5 as I work across multiple machines at work and home.
-
I am presently being plagued by this problem as I have jsut moved to Windows 7 and SU 7.1 I am a bit reticent to get this deep into the guts of my computer stuff. YOu would think there would be a little button that you could click and it would say "Lock TOolbars"
it's never easy is it?
Chris. . .get on it!
-
As I use SU on 4 differents machines I like to keep toolbars in identical locations. A tip is to take a screenshot of your setup on one machine and replicate on others.
This screen shot helps when you install new plugins and everything gets messed up.
-
@unknownuser said:
This screen shot helps when you install new plugins and everything gets messed up.
I've been using this trick for quite some time...but as no. of plugin toolbars increase the time taken in their management also increases...so the workspace screenshot is not a very good solution...eventually you do have to spend some time to arrange your workspace...I don't understand what is the damn bug that's causing all this toolbar crashes?? I mean what exactly goes wrong behind all the crashing workspace??
-
@unknownuser said:
YOu would think there would be a little button that you could click and it would say "Lock TOolbars" it's never easy is it?
What an idea Sirji!! can anyone make a plugin that can add this option?? pleeez!!!
-
Really truly we have tried (I'm not saying its absoultely impossible) but a lot of brains very much smarter than mine have poured over this topic and came to no conclusion about how to manipulate the regisrty in such a way that the toolbars stay put.
It is all in the hands of the developers who made the UI that SketchUp uses. Hopefully some day we'll see a new UI software that does not do that.
Chris
-
i wonder if they don't keep it inaccessible on purpose so SU doesn't get entirely hijacked but the coders. google wouldn't recognize they're own software!
anyway, does this registry hack thingy work good or no?
do scripters even have access to the registry? -
There is always risk with editing the registry, but if willing, a plugin can easily run a cmd code that will edit the registry. Not sure, but I don't think that editing the registry from SU will do anything for the current instance. Maybe someone else can answer that. If correct, the pdf's procedure will not "lock the toolbar", or restore it to a current instance. You can however, save the current toolbar configurations at any time, shut down SU after the tool bar is damaged, then restore it. You can also place the cmd shortcuts on the OS's start bar and access them while SU is running.
-
i was thinking you could have a save current and restart with previous ruby toolbar; these ruby buttons could do the registry hacking for you by saving reg settings when toolbars are good and when toolbars go bad you could set a flag to get it to restore to previous either before shutdown or before startup of SU.
-
Sure, something close to that can be done with the pdf's cmd file, not sure that you can restart with the current file, but you can stop SU with a plugin and restart SU from the cmd file. But, with the risk of damaging the registry I would not want to be the one to publish this plugin. Perhaps this post should move to developers?
-
The registry hack toolbar fix is only applicable to PCs, not Mac unfortunately.
You can't rewrite the registry within SketchUp because SUp only reads/writes the registry at start/close, and when SUp exits it rewrites the registry to the current settings - thereby undoing what you just changed in the registry. You can have a convoluted script running within SUp on a PC - say one button to remember the toolbar settings as they are, by taking a 'snapshot' of the registry and saving it somewhere safe; then the second button to 'restore' the toolbars as they were - it'd close SUp after it has written [to remember the SKP etc] a .bat/.cmd/.vbs [etc] file and then started its process [UI.openURL("C:/Temp/mytoolbarfixer.bat)
or similar] - the "cmd" itself then waits till SUp is fully closed and then it rewrites the registry settings using the earlier 'snapshot' of it; the "cmd" process can then reopen the SKP it just closed or a new instance of SUp if it were an unsaved skp before, and finally erase itself...
This is easy to do but using the twocmd
files safely to one side in a sub-folder means you must deliberately save and reset the toolbars registry settings - which I think is the safest and what I use... -
is it possible to incorporate all the hacks explained in the pdf in a ruby plugin?? i'm really looking forward to it...
-
@tig said:
The registry hack toolbar fix is only applicable to PCs, not Mac unfortunately.
Not too unfortunately - they don't have this problem.
-
@arjunmax09 said:
is it possible to incorporate all the hacks explained in the pdf in a ruby plugin?? i'm really looking forward to it...
See TIGs post above - it isn't that easy.
Personally I've surrendered on this matter. We've gone through so many possible hacks and none really works out. If it could have been done it would have been done.
I'm just hoping that SU8 will address this. Enough time has been spent by the community to try to fix this. So much more useful things could have been created instead.
-
@thomthom said:
@arjunmax09 said:
is it possible to incorporate all the hacks explained in the pdf in a ruby plugin?? i'm really looking forward to it...
See TIGs post above - it isn't that easy.
Personally I've surrendered on this matter. We've gone through so many possible hacks and none really works out. If it could have been done it would have been done.
I'm just hoping that SU8 will address this. Enough time has been spent by the community to try to fix this. So much more useful things could have been created instead.
it would be a (continuing) joke if we had to wait for SU8 to fix this since its such a core problem! should be fix in SU 7.2 !
-
The method in the QuarrIT pdf is the best way to remember your toolbars and restore them BUT if there's a version update or you have several new installed then running it can give unexpected results, you need to make regular backups of your registry so that when it does fail you know where you'll 'restore' back to...
Advertisement