Synchronize variables via web server

I gather this isn’t possible now, but could it be added as a feature?

There are no current plans to add this feature.

You could create a file (plist or JSON perhaps) and store it on DropBox.

Or you could create a folder on DropBox with a set of files, one for each “Variable” you want to sync in it, and then when you want to use the variable, use the Read File action to read it and the Write File action to write it.

That's a great idea! Let me highlight and expand on it:

Method to Sync KM Variables

Setup

  1. Use DropBox (or other Cloud sync service).
  • Create a folder named "KM Variables" (or whatever you like).
  • Create a KM Variable (on all Macs) for the path to this folder.
    I'll call it "DND__KMVarPath"
    (I use "DND__" as a prefix for Do Not Delete)
    • Create using the KM Editor Preferences > Variables:
      .
      .
      .
    • Since I already had a KM sync folder for DropBox, I just added a "Variables" subfolder.

Use in Macros

1 To create/update a sync file for a KM Variable, use the Write to a File action (KM Wiki):
.
.
.
2. To Use/Get a Sync Variable, use the Read a File action (KM Wiki):
.
.

Of course, you can expand on this by creating macros that read all sync'd variables at Mac login/wake, and write all of them at sleep/shutdown.

You might also want to assign a prefix to your sync'd variables, like "SYNC__".
So instead of "myVar1", you would have "SYNC__myVar1". This would make it easy to find/view all of these variables in the KM Editor Preferences > Variables pane.

Hope this helps you guys, and gives you some ideas.

Good luck!