Hello all.
I have a scene with buttons. When I press a button, the tap action is Perform task. %par1 contains %element_name. Now, I would like to create a global vairable with the name of this value.
The purpose is to make a general task that will work for a lot of different buttons in the scene, without neccessarily knowing the variable names.
Example:
I press Button1. That will Perform task with %par1 set to %element_name (i.e Button1)
Now, I'd like the task to create a new global variable with the name %Button1.
But how?
Please explain it in a simple way. Even though I've played quite a bit with Tasker, I am not a professional or a programmer, just learning on the way.
I have a scene with buttons. When I press a button, the tap action is Perform task. %par1 contains %element_name. Now, I would like to create a global vairable with the name of this value.
The purpose is to make a general task that will work for a lot of different buttons in the scene, without neccessarily knowing the variable names.
Example:
I press Button1. That will Perform task with %par1 set to %element_name (i.e Button1)
Now, I'd like the task to create a new global variable with the name %Button1.
But how?
Please explain it in a simple way. Even though I've played quite a bit with Tasker, I am not a professional or a programmer, just learning on the way.