Port Shortcuts from windows to mac
-
Greetings,
I'm trying to import my Preferences.dat file from windows into my mac. Anyone know how? -
Find your current MAC's
Shortcuts.plist
and your desired PC'sPreferences.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... -
@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:
-
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).
-
Transfer the Preferences.dat file to your home Documents folder (I hard-wired this location)
-
Download the attached ruby to your Downloads folder
-
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 -
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.
- Restart SketchUp and your shortcuts should have been imported.
Let me know if you encounter issues.
Steve
-
-
I need to migrate SU keyboard shortcuts from Mac to Windows. Any suggestions?
Advertisement