Some questions

player

Client
Регистрация
06.06.2011
Сообщения
154
Благодарностей
16
Баллы
0
1. Is there a possibility to tell ZP to not delete a file from harddisk? E.g. i have a file with 160 url's. ZP takes a URL and deletes it after successful execution. If the file is empty ZP deletes the file. I don't want to create a new file with this name, so i want that it stays as empty file on harddrive.

2. How can i tell ZP to quit the execution of a template automatically? I want to quit the template if the file is empty, how is that possible? thx

EDIT: second question was answered:

{-File.CountOfStrings-|-\Resources\filename.txt-} use this macros
and also logic
if count of strings == 0
than exit
 

joma

Client
Регистрация
06.03.2011
Сообщения
107
Благодарностей
13
Баллы
0
you can use the macro 'copy the existing file into a new location' under files and folders, before you re taking lines from it. this way u keep a backup of the initial file and can replace again when u need it... can always do that mannualy ..
 
  • Спасибо
Реакции: player

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
You can put a blank line as the first and in your macro always pull #1.
 
  • Спасибо
Реакции: player

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