ChangeDetect [GlobalVariable] [Value] --> Macro (v1.0)

Just for your interest - a KM plug in I wrote a while back allows you to do what you're after like this:

KM 0 2021-08-16_13-39-33

The output trace being:

KM 1 2021-08-16_13-40-11

I didn't write the plugin in for this specific purpose!

You can find it here Set Multiple Variables Plug In Action