I need it to pick randomly from these. Single,Double, Triple. But I can't enter text into the input
field anyone no how I can do this or if it can even be done. Cheers.
The idea is I want the app to give me a random number to hit but also tell me to hit either a triple a double or a single
Neither, I was trying to enter it in to the screen on variable Randomize.
I have this
New Task.
Variable Randomize
Name= %RANDOMNUMBER
min = 1
Max = 20
Then I just added a button to my scene and added that task to the button so it runs on tap. Then I added a Text Element which I wrote in %RANDOMNUMBER. So everytime I pressed the button the number updates to a new random number.
I don't no were to begin with the Random Text Variable tho, I tried writing it into variable Randomize but new it wouldn't work because it only accepts numbers.
I'm trying to create a text element that randomly cycles through the words Single, Double,Triple whenever I press the button. Hope that makes sense.cheers.
Jay M
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
Great idea that should work cheers.
Jay M
Try an array... Here's a stand alone task I just wrote, but you should be able to integrate something similar into your scene.
Dart Zone (105)
A1: Array Push [ Name:%Zone Position:1 Value:single Fill Spaces:Off ]
A2: Array Push [ Name:%Zone Position:2 Value:double Fill Spaces:Off ]
A3: Array Push [ Name:%Zone Position:3 Value:triple Fill Spaces:Off ]
A4: Variable Randomize [ Name:%z_pos Min:1 Max:3 ]
A5: Flash [ Text:%Zone(%z_pos) Long:Off ]
A4
That works great azwell I never used an array before so thanks for exporting that for me it really helps.
Jay M
Nice, I think il have to start using arrays there sweeeet.
Jay M