Help with file columns

cesario678

Client
Регистрация
10.03.2022
Сообщения
171
Благодарностей
12
Баллы
18
I have a CSV file with 2 columns. Column A has several URLs, one per line, and column B is empty. In column B, I would like to put the names of people that I specify at the beginning of the bot. The question is, how can I read a URL from column A and create a function next to it that puts the name of the person in column B for that same URL, in the same row? For example, URL X, person X, without making any mistakes. Did you understand? Thank you
 

myndeswx

Client
Регистрация
15.05.2017
Сообщения
436
Благодарностей
104
Баллы
43
Use a temporary table, say you have your 'good' table and create another empty table (don't load from file, it must be empty at the begining)

Templates logic:
use 'Get line' action to get from 'good table' check 'remove after getting' > put the A columns value to 'temp' variable
add to 'temp' table > 'temp' variable;'name' variable
When 'good' table is empty - use the 'save table' action to save the temp table in the same place with same name as the 'good' table

voila :- )
 
  • Спасибо
Реакции: cesario678

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