sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Port Shortcuts from windows to mac

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    4 Posts 4 Posters 607 Views 4 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.
    • C Offline
      cmac14
      last edited by

      Greetings,
      I'm trying to import my Preferences.dat file from windows into my mac. Anyone know how?

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Find your current MAC's Shortcuts.plist and your desired PC's Preferences.dat file and ZIP them up and attach to a post in this thread...
        Then we can comment on how to perhaps convert between them...

        TIG

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

          @cmac14 said:

          Greetings,
          I'm trying to import my Preferences.dat file from windows into my mac. Anyone know how?

          The attached Ruby script should do the job (this is a plain script, not a plugin). WARNING this has been tested some, but could contain bugs! If it makes a mess, you can restore defaults in the SketchUp Preferences->Shortcuts panel.

          Also please be aware that this loads your Windows shortcuts to Mac, it does not merge existing Mac shortcuts with the Windows shortcuts. That could presumably be done, but would require a more complicated Ruby.

          To use this:

          1. Export your shortcuts in Windows SketchUp via the Window->Preferences->Shortcuts panel. Click the Export... button, then on the export dialog that pops up, click Options..., check the Shortcuts box and uncheck the File Locations box (Windows file locations don't make sense on the Mac anyway). Click OK, then select a destination folder and click Export. This will generate a Preferences.dat file in the chosen folder. (The OP clearly already knows how to do this - I described it for the benefit of any other viewers who might not know).

          2. Transfer the Preferences.dat file to your home Documents folder (I hard-wired this location)

          3. Download the attached ruby to your Downloads folder

          4. Run the ruby. You can do this using either a Terminal window or from within SketchUp.
            From a Terminal window type "ruby ~/Downloads/importprefs.rb" (without the quotes)
            From SketchUp, open the Ruby Console window and type 'load "~/Downloads/importprefs.rb"' (omit the single quotes, but include the double quotes). This will create a new file in your Documents folder named Shortcuts.plist

          5. Quit from SketchUp (it must not be running when you do this step. SketchUp only reads the Shortcuts.plist as it starts, and overwrites it when it quits. If you copy the file while SU is running, it will be overwritten. That's one reason the script creates it in Documents). Then copy the Shortcuts.plist file from your Documents folder to your SketchUp folder. For SU 2013, this is
            ~/Library/Application Support/SketchUp 2013/SketchUp
            For older versions it is
            ~/Library/Application Support/Google SketchUp 8/SketchUp (or another digit if you are pre-8)

          Note: your Library folder is hidden by default in Finder. To see it you can use the Go->Go to Folder menu item.

          1. Restart SketchUp and your shortcuts should have been imported.

          Let me know if you encounter issues.

          Steve


          importprefs.rb

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

            I need to migrate SU keyboard shortcuts from Mac to Windows. Any suggestions?

            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