Thanks Peter. That brought my macro up and running. I had to add a condition and a delay.
Now it looks like this:
And this is the Trigger:
And of course there is a matching macro for the other direction.
Seems to work fine ...
Thanks for your help.
John