Save/Restore SketchUp 7 Workspace for Windows

General discussion related to SketchUp Pro and Make

Save/Restore SketchUp 7 Workspace for Windows

Postby Jim » Sat Sep 05, 2009 10:49 pm

Sep 6, 2009

Attached is a save_workspace.bat file renamed as a .txt file. It simply creates a backup file of your SketchUp7 registry settings.

Once your toolbars are to your liking, close sketchup and run the 'save_workspace' script. All of your SketchUp settings - toolbars, toolbar locations, shortcut keys, etc. are saved in a single file named "workspace1.reg" - but you get the option to enter your own name.

It should be possible to create multiple "workspace" files which would allow you to switch between settings. I'm not sure how well this will work; so if you are up to testing that please do.

When you need to restore the saved settings, close Sketchup and open the workspace1.reg file to restore your registry. Right-click the workspace.reg file and select "Merge"

Use at your own risk - modifying your registry can cause your system to become unstable (although I have not had any problems.)

This is not a perfect solution. You still need to remember to save periodically as your settings change. And there is nothing I can do when a new plugin's toolbar is installed - restoring in this case won't help because when you re-open sketchup the toolbar will auto-show again.

A previous version used a load_workspace.bat file - it is no longer needed and can be deleted.

Let me know if it works for you or not. Thanks.

save_workspace.txt


Also available here: save_workspace.zip
0
Hi

Jim 
Global Moderator
 

Re: Save/Restore SketchUp 7 Toolbars for Windows

Postby Rich O Brien » Sat Sep 05, 2009 11:20 pm

Wow Jim, great script.

I'll get back to you on how it goes

ps if I don't get back it because it broke my PC! :berserk:
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: Save/Restore SketchUp 7 Toolbars for Windows

Postby xrok1 » Sun Sep 06, 2009 3:58 am

if there is a way for script writers to initially load their scripts as floating this whole problem could be resolved!!!!!!!
0
“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!

xrok1 
 

Re: Save/Restore SketchUp 7 Toolbars for Windows

Postby Jim » Sun Sep 06, 2009 12:05 pm

xrok1 wrote:if there is a way for script writers to initially load their scripts as floating this whole problem could be resolved!!!!!!!


That's a very good thought, but there isn't a conventional way to do it.
0
Hi

Jim 
Global Moderator
 

Re: Save/Restore SketchUp 7 Toolbars for Windows

Postby agrazdi » Sun Sep 06, 2009 1:12 pm

Worked fine with me.

1 - Is it possible to add the default template data to the file ?
2 - Is it possible to save several " workspace " data ?
3 - Can you do another one for Layout ?
4 - Is it possible by this method save folders options to decide which plugins load ?

Thanks

agrazdi
0

agrazdi 
 

Re: Save/Restore SketchUp 7 Toolbars for Windows

Postby marne » Sun Sep 06, 2009 1:33 pm

Oh thank you, your work saves nerves, it works great. A real release from the toolbar-pain sketchup causes regular :knockout: .

Thank you!!!!!
0

marne 
 

Re: Save/Restore SketchUp 7 Toolbars for Windows

Postby Jim » Sun Sep 06, 2009 2:58 pm

agrazdi wrote:Worked fine with me.

1 - Is it possible to add the default template data to the file ?
2 - Is it possible to save several " workspace " data ?
3 - Can you do another one for Layout ?
4 - Is it possible by this method save folders options to decide which plugins load ?

Thanks

agrazdi


What do you mean by default template data?

These are very good questions, but I don't know the answers right now. For these kinds of features, a computer language other than .bat would be better; something with a Windows Interface. I don't know what computer language to use - Visual Basic? I would need to learn the language, whatever it is.
0
Hi

Jim 
Global Moderator
 

Re: Save/Restore SketchUp 7 Toolbars for Windows

Postby Rich O Brien » Sun Sep 06, 2009 4:30 pm

Hi Jim,

Been using your latest script and it's working fine. I think its a major step towards keeping the toolbars organized. I think agrazdi idea's are great too. The possibilities of SU to mimic Photoshops workspace options would be a amazing.

But this alone is a brilliant option.

Congrats and thanks for all the hard work.

Rich
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: Save/Restore SketchUp 7 Toolbars for Windows

Postby Jim » Sun Sep 06, 2009 6:14 pm

I am making this harder than it needs to be. I will have a version that is much simpler. For some reason I am trying to export each group of settings separately - I can just backup the entire SketchUp7 registry in a single file. Then, you can have different workspaces by using different file names. This also eliminates the need for a loader script - just click on the .reg file to restore.

I am finding the Toolbars do not get restored if I completely clean-out the SU7 registry entries. Not sure why; but I can't think of a time when that would happen in reality. I'm not even sure if un-installing removes the registry entries.
0
Hi

Jim 
Global Moderator
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby xrok1 » Sun Sep 06, 2009 6:37 pm

how about if the script writters don't load a toolbar at all but simply present a msgbox if their script isn't loaded asking if you want to load it, that way all the other toolbars are already loaded into their previous positions before loading a new one?

another thought; could someone not write a ruby that writes a log of all installed scripts when SU closes, then when SU opens check for any new scripts and prompt you to load them or not?
0
“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!

xrok1 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby bonjoeryan » Tue Sep 29, 2009 5:30 am

Thank you!
Your plugin is really working!
0

bonjoeryan 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby Chris Fullmer » Tue Sep 29, 2009 6:40 am

Jim, I missed this plugin. It looks promising :)

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby haynesc » Sat Oct 03, 2009 7:39 pm

this is a great new feature !

i had lost a couple of my dialog boxs somehow maybe due to me using two screens ...

upgrading to 7.1 and using this new feature fixed the problem
0

haynesc 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby remus » Fri Oct 09, 2009 11:08 pm

hey jim, just got around to using this in anger.

Couple of suggestions: would it be possible to just save the toolbar positions, or perhaps have an option to save other things? Personally i find resetting keyboard shortcuts a little annoying.
0

remus 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby Jim » Fri Oct 09, 2009 11:48 pm

Hmm, the script saves the entire Sketchup 7 registry - toolbars, shortcuts, window sizes and positions.

It should have restored everything.
0
Hi

Jim 
Global Moderator
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby remus » Sat Oct 10, 2009 12:05 am

It does save everything and thats the problem :) I want to keep my shortcuts as they are and just reset the toolbars.
0

remus 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby agrazdi » Thu Oct 29, 2009 3:00 am

I tried in a Windows Vista and all i get is " Access denied " any idea the reason ? Firewall ?

Thanks

agrazdi
0

agrazdi 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby remus » Thu Oct 29, 2009 9:04 am

are you using an admin account? can you right click->run as administrator?
0

remus 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby inbal » Sat Jul 10, 2010 6:39 pm

Thank you soooo much!
I keep having my plugins and toolbars scrambelled and I spent so much time on arrenging them.
Thank you for saving me time :)
0

inbal 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby sketch3d.de » Tue Oct 05, 2010 3:51 pm

I've made a Windows executable for saving/restoring the SU prefs (no malware, no spyware, no adware, no installation).

tested w/ XP, should work w/ Vista/7 too; even though, use at own risk.

just holler if anything doesn't work or a something is missing.

Norbert
0
User avatar
sketch3d.de 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby ahnvtk » Thu Oct 21, 2010 11:13 pm

sketch3d.de:

[notwithstanding how long ago these posts were..] I was really hoping your program would solve this great annoyance in SketchUp 7 running on Windows 7; here's what happens:

When I click "Save", the dialog just disappears and reappears. Then when I go to "Restore", it brings up a file dialog prompting for a .reg file.. but no reg file was ever saved (or I don't know where), nor was I prompted to save one. :(

As for the script that started this thread, though it's necessarily complicated (why hasn't google addressed this annoyance??), it's a lifesaver, so THANX Jim!
0

ahnvtk 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby sketch3d.de » Tue Oct 26, 2010 11:12 am

ahnvtk wrote:When I click "Save", the dialog just disappears and reappears.

found & fixed

also some GUI changes.

have fun,
Norbert
0
User avatar
sketch3d.de 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby supangkat » Thu Dec 09, 2010 7:03 am

is there any .bat for skethcup 8 please???? :oops:
0

supangkat 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby Jim » Thu Dec 09, 2010 1:32 pm

supangkat wrote:is there any .bat for skethcup 8 please???? :oops:


Open the .bat in notepad.exe, edit the number 7 in line 20 - make it an 8.
0
Hi

Jim 
Global Moderator
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby jla303 » Mon May 09, 2011 7:52 pm

This Script is awesome, works great!
It saves me a lot of time not to re arrange my workspace on a dual monitor.
Thanks Jim
0

jla303 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby Pavel_G » Sat May 26, 2012 6:43 pm

Hi.
Is it possible to transfer tool-bar position settings between SU versions (from 7 to 8 in my case)? BackUping SU7 prefs and using this .reg file fore restoring SU8 (Windows executable by sketch3d.de) didn't work.
Thanks in advance.
0

Pavel_G 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby sketch3d.de » Tue May 29, 2012 11:47 am

Pavel_G wrote:BackUping SU7 prefs and using this .reg file fore restoring SU8 (Windows executable by sketch3d.de) didn't work.

the tool did not do any version conversion, selecting the SU version has effect on backing up only.

N.
0
User avatar
sketch3d.de 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby elatiara » Sat May 18, 2013 1:18 pm

wow great script thank you. I'm about to re-installing my SU from google to trimble, glad i found this thing
0

elatiara 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby Luds » Sat Feb 21, 2015 8:11 am

sketch3d.de wrote:I've made a Windows executable for saving/restoring the SU prefs (no malware, no spyware, no adware, no installation).

tested w/ XP, should work w/ Vista/7 too; even though, use at own risk.
Norbert

Script from sketch3d.de (Norbert) looked really promissing and easy to use :) . Thank you. Unfortunately, no go on Windows 8.1 with Sketchup 2015 (x64) as the script opens and seem to work normally, but nothing is saved.

Tried to save in 'Documents folder" to start with, then created a folder on the desktop, still no go. So unfortunately not working for me... :( Thank you anyway :|
0
Last edited by Luds on Thu Mar 05, 2015 8:51 am, edited 1 time in total.
User avatar
Luds 
 

Re: Save/Restore SketchUp 7 Workspace for Windows

Postby sketch3d.de » Wed Mar 04, 2015 4:55 pm

Luds wrote:...seem to work normally, but nothing is saved.

could be missing user rights (see lower left corner), try if running by "Right-Click > Run as Admin..." works.
0
User avatar
sketch3d.de 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to SketchUp Pro & Make Discussions

Who is online

Users browsing this forum: paolo1686 and 7 guests

Visit our sponsors: