sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Mac reopens last file.

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    12 Posts 6 Posters 2.8k Views 6 Watching
    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.
    • T Offline
      troypiggo
      last edited by

      @driven said:

      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 false`
      

      same conditions apply.

      john

      Should the first one of those be "true" instead of false? 😉

      This is not my signature. I type it at the end of every message for quality control.

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by

        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

        learn from the mistakes of others, you may not live long enough to make them all yourself...

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by

          @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.

          learn from the mistakes of others, you may not live long enough to make them all yourself...

          1 Reply Last reply Reply Quote 0
          • D Offline
            dvsone1440
            last edited by

            Sorry I am new to using the ruby script... just type that all into the command line?

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by

              @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], then

              if 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

              learn from the mistakes of others, you may not live long enough to make them all yourself...

              1 Reply Last reply Reply Quote 0
              • wind-borneW Offline
                wind-borne
                last edited by

                This free preference pane allows you to choose which apps not to restore simply.

                Link Preview Image
                毒舌加速器破解版永久免费-毒舌加速器官方正版下载-毒舌加速app官方免费下载手机版

                毒舌加速器破解版永久免费 智慧城市建设需要大量的网络数据传输。 毒舌加速器官方正版下载 可以有效提高智慧城市的网络性能,满足智慧城市建设的需求。网络加速器可广泛应用于智慧交通、智慧医疗、智慧教育等领域,以提升智慧城市的建设效率和水平。

                favicon

                (restoremenot.info)


                Screen Shot 2012-07-11 at 6.37.56 AM.png

                "To read between the lines was easier than to follow the text."OSX 10.11.6

                %(#BF80BF)[SU 8 pro

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dvsone1440
                  last edited by

                  That worked great... thank you.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    caronte01
                    last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      troypiggo
                      last edited by

                      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.

                      This is not my signature. I type it at the end of every message for quality control.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Szonja
                        last edited by

                        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

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          driven
                          last edited by

                          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

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

                          Advertisement