Mac reopens last file.
-
Hi
you can disable the 'Resume' feature for SketchUp from Ruby Console using
`defaults write com.google.sketchuppro8 NSQuitAlwaysKeepsWindows -bool false`
replace text if it's not pro8. [i.e. com.google.sketchup7]
you need to restart SU twice before it works.to turn the feature back on use
`defaults write com.google.sketchuppro8 NSQuitAlwaysKeepsWindows -bool true`
same conditions apply.
john
-
@troypiggo said:
]
Should the first one of those be "true" instead of false?well spotted, [but the other way around]
Edited the second code block above, true turns it on, false turns it off.
john
Note, once it's in your .plist file you can open it and tick the box for on. -
Sorry I am new to using the ruby script... just type that all into the command line?
-
@dvsone1440 said:
Sorry I am new to using the ruby script... just type that all into the command line?
Sorry about that,
with the code block above use 'Select All' and 'Cmd C' [Apple copy]
open SketchUp go to the Menu bar, go to Window and select Ruby Console.
at the prompt use 'Cmd V'[Apple Paste], thenif your not using 'pro8' use your arrow keys to go to that text delete and change just the characters, e.g. delete pro for 8, don't add or delete any spaces.
once done hit Return,
to check, quit SU with a drawing open, reopen [should be same drawing], quit SU and when you re-open it should now be your default Template.
You can use terminal.app instead without the `` around the code, or you can open the .plist and add the info manually.
The other method for doing it 'infrequently' is use 'Cmd Shift Q' to quit SU or any other app, only effects the next opening.
john
-
This free preference pane allows you to choose which apps not to restore simply.
-
That worked great... thank you.
-
Thank you, thank you!!!!
This is the sole reason I moved back to snow leopard. This behavior is really annoying, and I didn't knew how to disable it! I now can go back to lion!
Cheers
s
-
I've found this annoying with other apps as well, like Word and Excel/Office. Since this thread, I've been searching around, and looks like if you go to System Prefs->General, untick the "Restore windows when quitting and re-opening apps" stops it from happening globally I think.
-
Thank you, thank you, thank you for this thread. I just lost an hour to perpetual crashing on start up on my Mac. I've never used a ruby script before, so it was a big deal for me, but it worked! I had to change the name from sketchuppro8 to sketchuppro15
defaults write com.google.sketchuppro15 NSQuitAlwaysKeepsWindows -bool false
-
that shouldn't work...
google sold sketchUp and Trimble don't use it's name on the folders...
so for 13, 14, 15, 16 just change the last digit...
com.sketchup.SketchUp.2016
john
Advertisement