how can i choose the latest file add in the folder?

usbiz

Client
Регистрация
07.02.2012
Сообщения
94
Благодарностей
0
Баллы
6
i add files auto to an folder and use zp post it
i want to pick up the latest file
how to set it?
 

usbiz

Client
Регистрация
07.02.2012
Сообщения
94
Благодарностей
0
Баллы
6
can i set zp do this?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
ZennoPoster doesnt have that kind of option.
 

usbiz

Client
Регистрация
07.02.2012
Сообщения
94
Благодарностей
0
Баллы
6
can be added in next version
i think it is an important option
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
Use c# action. Initialize variable dirPath before using this action

JavaScript:
var directory = new System.IO.DirectoryInfo(project.Variables["dirPath"].Value);
var myFile = (from f in directory.GetFiles()
             orderby f.LastWriteTime descending
             select f).First();
return myFile;
 

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