I've seen this way, but can't find it in the forums.
Basically, you have a list like:
text = random text here
text2 = random text here
text3 = random text here
And then a line that will randomly pick from text, text2 or text3.
Does this make sense?
Thanks!
Randomize output
Started by
SilverFish
, Feb 16 2011 02:51 PM
6 replies to this topic
#1
-
Posted 16 February 2011 - 02:51 PM
<!-- m -->http://www.autohotke...topic67348.html<!-- m -->
#2
-
Posted 16 February 2011 - 03:00 PM
text= ( this is the first line of random text this is the second line of random text this is the third line of random text this is the fourth line of random text this is the fifth line of random text this is the sixth line of random text this is the seventh line of random text this is the eighth line of random text this is the ninth line of random text this is the tenth line of random text ) F7:: Sort, text, Random ; MsgBox % text Loop, parse, text, `n { MsgBox % A_LoopField break } return
#3
-
Posted 16 February 2011 - 03:01 PM
Very close. It is working as it should, but I noticed a little tweaking that should happen.
Here's an example of what I have:
text = Random text.`n`nThanks,`nBubba
I know what to do, but don't seem to know how to do it.
Here's an example of what I have:
text = Random text.`n`nThanks,`nBubba
I know what to do, but don't seem to know how to do it.
#4
-
Posted 16 February 2011 - 05:35 PM