Pick random line in text file.

Fleataxi

Client
Регистрация
20.03.2012
Сообщения
19
Благодарностей
0
Баллы
1
Hi guys

Trying to make my email creator account look alittle less botlike and more human so i have a list of 30 UK citys and i want to pick one at random to answer the secret question which city were you born in?
What i am not to sure on is the format of the text file for zennoposter to use is it ok just to list them each city on a new line. Also do i use the copy text command to put the selection into the answer box.

Many thanks
Michael
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Create a list in you project
In list's settings you set path to your txt file.
each line = new city

And then use action:

List processing - Take line - random.

And you can use this variable in field for City =)

http://wiki.zennolab.com/doku.php?id=en:list
 
Последнее редактирование:

Fleataxi

Client
Регистрация
20.03.2012
Сообщения
19
Благодарностей
0
Баллы
1
rostonix

Thanks again for comign to my aid.

Michael
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

Fleataxi

Client
Регистрация
20.03.2012
Сообщения
19
Благодарностей
0
Баллы
1
Ok i have got it picking the city at random but i can not seem to get it to write it into the field i have secret answer set to {-Variable.RecognitionResult1-} which is where i am saving the output from the list.
Anyone got any ideas i just seem to be hitting a brick wall with it.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
You you use autovariable for captcha recognition for your city?
Just create another one in list processing where you take line from list
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)