Edited SharedPreferences read on SketchUp startup

It is my Understanding that SharedPreferences are;

  • Read on Startup
  • Saved on Close

I have edited my SharedPreferences Keyboard Shortcuts in a text editor but on Startup the file that is saved is not read.

SketchUp seems to load with an older version of SharedPreferences.

The SharedPreferences file is saved in AppData/Roaming/SketchUp/SketchUp 2021/SketchUp.

How do I edit SharedPreferences and get SketchUp to read that data on Startup?

That is not the location for the SharedPreferences.json on Mac, it should be in the user library:
~/Library/Application Support/SketchUp/SketchUp 2020/SketchUp

Thanks Mike,

The problem I am seeing is on Windows.

Your profile indicates you are using Mac.

I will look into my profile.

I use both Operating systems because neither is a complete solution for my workflow.

That’s fine. To avoid confusion in the future, please state which your issue is with.

Ah, I thought you where looking in the Main Library or something.
You have to be sure SketchUp is closed, and preferably use a plain texteditor.
You will also have to have the right permissions tos save on the location.

To test, while SketchUp is still open, navigate to the location.

%AppData%Roaming\SketchUp\SketchUp 2021\SketchUp
check the timestamp of the file.
Close SketchUp and check again.

Here is a part that controls the shortcuts:

“Settings”: {
“Num_Shortcuts”: 26,
“Shortcut_1”: “0 0 0 H selectDollyTool:”,
“Shortcut_10”: “0 0 0 P selectPushPullTool:”,
“Shortcut_11”: “0 0 0 R selectRectangleTool:”,

That part isn’t quite right. %AppData% gets you into Roaming. %LocalAppData% gets you into Local. %AppData%Roaming\ leads to an error.