Page 1 of 1

Email alert when subfolder empty

Posted: Tue Jun 06, 2006 12:54 am
by VERDI
Hi, trying to set an alert to tell me when subfolders are empty, and also another alert to tell me when something has been put into the folders. any suggestions?

Email alert when subfolder empty

Posted: Tue Jun 06, 2006 10:12 am
by Oleg
Use "File monitor" in order to get notifications about new, changed, and deleted files in desired forlder and subfolders.

In order to check empty folder you should use some algorithm like this:

set variable "Status" to "False"
File loop    //on files with subfolders
   set variable "Status" to "True"
   break
end loop

Thus, variable Status will contain "False" value if your folder is empty, otherwise "True".

Email alert when subfolder empty

Posted: Tue Jun 06, 2006 7:28 pm
by VERDI
Thanks for the advice, I will try it today.