How to select a random .txt file from folder and How to save random.txt to a folder?

etelliman

Client
Регистрация
08.07.2012
Сообщения
21
Благодарностей
1
Баллы
0
Hello guys, im kinda new at zenno. Btw, how to save a random.txt to a folder? i just created an article scraper based on dejans video, my problem is that i have to create a designated .txt file destination in every article that the program scraped, I want it to be fluid like zenno will scrape a bunch of articles and just save it on a random.txt file on a certain folder.also how to select a random .txt file from a folder to be posted in a blog?

Thanks!
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
hi

if you have checked all my videos you would already know answer to that :-)

in videos i show how to pull text from file, and how to save to file.
There is even example of random file path creation, which is basicly what you need (pulling random article from folder)

check it out and let me know if you need aditional help
 
  • Спасибо
Реакции: etelliman

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Use random action to generate random blababla and save it to variable.

When you use action file - and when you set path u use something like C:\folder\{-variable.yourrandomname-}
 
  • Спасибо
Реакции: etelliman

etelliman

Client
Регистрация
08.07.2012
Сообщения
21
Благодарностей
1
Баллы
0
hi

if you have checked all my videos you would already know answer to that :-)

in videos i show how to pull text from file, and how to save to file.
There is even example of random file path creation, which is basicly what you need (pulling random article from folder)

check it out and let me know if you need aditional help
Thank you dejan
 

etelliman

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

Jor1s

Client
Регистрация
25.06.2012
Сообщения
216
Благодарностей
3
Баллы
0
drvosjeca, can you give me link of your videos ?
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
  • Спасибо
Реакции: Jor1s

Jor1s

Client
Регистрация
25.06.2012
Сообщения
216
Благодарностей
3
Баллы
0
Yeah thanks i just found it.
 

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