Action button

Qarboz

Well-known member
I thought about requesting this as a feature myself, but figured, there must be a way to already do it, as it's such an essential feature, but it always displays the variable name, instead of the value. There must be another way to use variables other than the syntax that it uses when MacroDroid automatically produces the syntax. See: https://www.macrodroidforum.com/index.php?threads/problem-using-variables.3039/
I requested a different feature, the ability to set the value of a variable when the button is pressed.
I recommend you to open a new thread with your request
 

dan1

New member
I requested a different feature, the ability to set the value of a variable when the button is pressed.
I recommend you to open a new thread with your request
Apologies, as I misunderstood.

Anyway, what you'd like to can already be done if you call an action block when the buttons are pressed. The action block simply sets an output variable to the input variable. You then pass the value of the variable as the input to the action block, and the variable you want set as the output. This also allows you to determine which button was pressed, as you can use different values for each button.
 
Top