Oh my God!
Honestly I can't believe I ask for this help. I included something like this in a project few months ago.
It escape my memory and I got stuck.
You just refreshed my memory.
You see what I was saying yesterday, even if you are a macrodroid veteran, somehow you will need some kind of brain refresh.
Thanks bro.