Ok... Feature probably on @MacroDroidDev to do list.... But isn't there a work around to mimic it? Am in dam need for this.Magic text in "random" in set variable action
So we can get dynamic variable random values. It would fix bugs at least in the random audio player macro in the storewww.macrodroidforum.com
Use Random() fonction insteadAm trying to load a variable with a random number 1 - 12. Ofcouse this is very possible as u can see from the screenshot below... But how do you replace the 1 and 12 with a magic text?
I try using Expression but but no luck.
Can I use Magic Text? I tried it and it did not work. I would appreciate it if you could upload a sample macro.Use Random() fonction instead
No you cannot seed Random function: it has no argument.Can I use Magic Text? I tried it and it did not work. I would appreciate it if you could upload a sample macro.
Use this Set variable actionIf the seed is not generated by RANDOM, awk's limitation will generate the same random number when called within 1 second.
I use RANDOM to avoid this.
If I simply used RANDOM(), I could not generate a random number.
(RANDOM()*[lv=max])+1
I feel that the results are inferior to MacroDroid's standard random because it does not always start with 1 or 0.Use this Set variable action
(RANDOM()*[lv=max])+1
Random number is a decimal number 0<d<1I feel that the results are inferior to MacroDroid's standard random because it does not always start with 1 or 0.
I am making it so that I can specify a minimum and maximum value in awk.
Isn't that what @OscariBot is looking for?
If the minimum value is 1, there is no need to specify it, if the maximum value is dic2, it is like this.By the way wat is the use of the RANDOM () Expression?