delete all lines deleting file?

  • Автор темы Автор темы bill
  • Дата начала Дата начала

bill

Client
Регистрация
05.07.2014
Сообщения
355
Реакции
9
Баллы
18
i bind my list to a file, then i scrape some texts, then i run delete lines(remove all elements) for that list. and it deletes the file. then itry scraping more data and it doesn't output it to the file. how would I set it so it leaves a empty file and continues to output scraped data?
 
Последнее редактирование:
Try checking Save changes to file list instead of Leave empty file option in list settings. Thus file will be empty after you delete all lines, but if you add new lines, they will be added to file as well.
List settings.png
 
but i am creating a txt file and binding list to it, so should i check leave empty file and not set file path or...?
That's just sample screen. I advised to uncheck "Leave empty file" and check "Save changes to file". And the path to your txt file should be set of course.
 
leave empty file should be checked + Save changes to file should be checked
Path should be empty
within project use List processing - Bind to file action
 
  • Спасибо
Реакции: bill

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