SRL Archive - OSR Help

Reading a word list


Dynamite

2011-12-27 19:00:12

Hi gaize,
So I want a script that will read a word list from file then go through the list once inputting each into the text box then checking if the word is good or bad (there is a little icon) after checking each one, it needs to click the text box and remove the text and try the next word, Rinse and Repeat.
If the word is good then I need it to click on a button then stop the script.

<3 for help :)

-Boom

Brandon

2011-12-27 19:24:31

Explain what you mean by good or bad.. I'm actually quite qualified for this job as are many others lol. I'd most likely use a RegEx to detect if the word has numbers or characters.. if it doesn't then I would assume it's good..

I can write such a regex in prob 5 minutes.. As for reading in the contents of the file.. ReadFileString.. For each '\n' aka newline.. read that into a string.. split the string into words by checking for delimiters such as a space..

Or read each word until the end of the file into an array.. pass each value of the array to your text box.