I'm trying to show a loading screen while a macro runs because the macro takes too long.
I've tried to set an element with a condition _loading=1 (variable) so when macro starts running I can set the variable to 1 and when it ends to 0 but it seems that the macro does not send variable changes to the document until it ends running.
I've also tried to add to the button 2 actions, first set the variable, then run a macro, but I get the same result, the variable is set only after the macro finishes.
Do you have any idea how can I make this work?