[SOLVED] bug:: "Write to file" not working anymore

bogdann

Client
Регистрация
03.08.2012
Сообщения
14
Благодарностей
2
Баллы
0
I don't know what happened, a few days ago i created an hotmail template, everything was working, suddenly, write to file is not working anymore, bug or what?

write to file config
zn.PNG
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
This action has a bug in it.
Its fixed and will work ok in next build

You can use lists and save data by syncing them with files on hard drive
 

bogdann

Client
Регистрация
03.08.2012
Сообщения
14
Благодарностей
2
Баллы
0
next build update when?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
Yes i know about that bug. Long time ago spoke about that. But @bogdann bug did not appeared suddenly it was here all the time.
 

bogdann

Client
Регистрация
03.08.2012
Сообщения
14
Благодарностей
2
Баллы
0
was working on hotmail template lokiys, i have made some accounts on hotmail a few days ago, then i created a pinterest.com template, and not writing for both templates. Next update when?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

bogdann

Client
Регистрация
03.08.2012
Сообщения
14
Благодарностей
2
Баллы
0

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Create a list
In its settings set path to file where you wanna save your data and check two checkboxes (save changes to files)

Then use action:

List processings - Write line

And that way you can write data to your txt file
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
there is even third option... Use macros from version 3
 

bogdann

Client
Регистрация
03.08.2012
Сообщения
14
Благодарностей
2
Баллы
0

bogdann

Client
Регистрация
03.08.2012
Сообщения
14
Благодарностей
2
Баллы
0

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Add line :-)
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 770
Благодарностей
1 182
Баллы
113
{-File.AppendString-|-C:\zenno\accounts.txt-|-{-Profile.Login-}-|-true-}

C:\zenno\accounts.txt <=== change that part to your path

{-Profile.Login-} <=== change that to what you need to save

Add that to work with text and add to variable. (or something, i have russian version not sure translated right)...

Thats it... Will work 100% right :-)
 

bogdann

Client
Регистрация
03.08.2012
Сообщения
14
Благодарностей
2
Баллы
0
worked like this:
1.write to file.PNG2.write to file.PNG3.write to file.PNG
 

jimmybrown710

Client
Регистрация
20.12.2012
Сообщения
15
Благодарностей
0
Баллы
0
Version 4.3.7.1 Write To File not working for me. Always a blank file.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Attach sample screenshot or template to check what exactly you do and why it's not working
 

jimmybrown710

Client
Регистрация
20.12.2012
Сообщения
15
Благодарностей
0
Баллы
0
Well I have already changed the template to use the workaround above.

This is what I was doing.

I am using the Files widget in a template to store data to a pre-existing text file.

The option selected is "Write Text"

The filepath is set to "{-Variable.RandomFileName-}" - Name and path of the file

The What To Write is set to "URL (Spintax Allowed):" - Text content written to file

Append File is checked

Add line break at the end is checked

The file is always empty at the end of the template run. The file is created but no data is saved to the file.

I am running Zenno MP v4.3.7.1

BTW how come no Create New File option in the Files widget?
 

jimmybrown710

Client
Регистрация
20.12.2012
Сообщения
15
Благодарностей
0
Баллы
0
Sorry can't edit my post. what I was doing looks like the screenshot in Post #1.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Do you have any value in RandomFileName variable?
 

jimmybrown710

Client
Регистрация
20.12.2012
Сообщения
15
Благодарностей
0
Баллы
0
Yes, full path and filename of the empty text file was in the RandomFileName variable.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

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