Hi @martin,
some spare time came up so I completed the plugin for you.
This is the file:
TFL Set Multi Variables.zip (552.7 KB)
To install the plugin just download the zip file and drag it onto the KM icon in the dock. Then be sure to quit the KM engine (in File>Quit Engine) and then restart the engine (File>Launch Engine). The plugin will now be available as an action to add to your macros as normal.
The default appearance is this:
and in use it might look like this:
As you can see, you can specify a delimiter to separate the variables from their values (the default is ",") but you can be more adventurous as shown in the example.
You can also use variable tokens as shown.
NOTES:
- Each variable/value pair must be a single line of text even after any tokens have been expanded.
- The plugin in will fail with error code -999 if it encounters ANY error - such as multiple-line assignments, or incorrect/mismatching delimiters. In such a case a brief notification will appear while the full error message can be found in the KM log.
- If you use the plugin you do so at your own risk and I accept no liability for any loss; I have performed limited testing on the plug in so I am confident it will not misbehave, but YMMV. You have been warned.
When I get time I will post this plug in to the Plug Ins category of the KM forum, but that won't be for a few days now.
Hope that helps but if you use the plug in let me know how you get on.
The plugin and full description can be found here