shuffling a table

archel

Client
Регистрация
02.05.2011
Сообщения
175
Благодарностей
22
Баллы
18
Hi

New to the version 4 and I want to make a template in v4 which I already have in v3.

In this template in version 3:
- I take the content of a text file
A1|B1|C1|D1
A2|B2|C2|D2
A3|B3|C3|D3
A4|B4|C4|D4

- I shuffle it (without saving it into the same/other file)
A2|B2|C2|D2
A4|B4|C4|D4
A3|B3|C3|D3
A1|B1|C1|D1

- I take a line of the shuffle according to a counter (starts with first line)
- I take first column of the taken row,....

---------------
Now, I'm stuck on how to do this in version 4.
In version 4:
- I need to import the content of the text file as a table, I guess?
-> but I can't shuffle via table processnig

- And if I take it as a list
-> I can shuffle it but can't extract columns, if I'm right?


Someone knows a solution for this?
Thanks
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
I'm not sure i see logical reason for columns if you you wanna shuffle lines and colums and mess all data)))

If each column = particular type of data (i dont know, year, city of something like this), just make a list and separate txt file for each type of data.
 
  • Спасибо
Реакции: archel

archel

Client
Регистрация
02.05.2011
Сообщения
175
Благодарностей
22
Баллы
18
No, I just wanted to shuffle the rows of the table. It's for an automated seo system where I can't post two times to the same random url (attached to its unique username/password)...I'll spare you the details.

But I saw that you don't need to shuffle in v4, and the same effect has been reached by:
- inputting the file data into a table without checking the "save changes of table to file"
- taking a random line via table processing and checking "remove after getting"

Quite handy that new table feature.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
That was a night))) i thought you shuffle columns too)) :rolleyes:
 

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