@rleidt
I think you made a little mix
go to Menu -->Other Options -->Edit event scripts
or
in the hfs.exe directory, create a text file called HFS.EVENTS and edit it
add only the quoted following content in it
[at 0:00]
{.set|#actionday|0.}
{.switch|{.lower|{.time|dddd.}.}|,|tuesday,wednesday,thursday,friday|{:{.set|#actionday|1.}:}/switch.}
at 0:00 set the var #actionday to 1 when the current day is in the list, else 0
----------------------------------------------------------------------------
on VFS -> select the real folder -> go to his properties -->edit diff template
[file=folder=link|private]
{.if|{.and|{.^#actionday.}|{.is file|%item-resource%.}|{.>|{.round|{.calc|%now%-%item-modified-dt%.}.}|60.}/and.}|
{:{.delete|%item-resource%|bin=0|forced=1.}:}|
[+file=+folder=+link|private]
<tr class='{.if|{.mod|{.count|row.}|2.}|even.}'><td>
<input type='checkbox' class='selector' name='selection' value="%item-url%" {.if not|{.or|{.get|can delete.}|{.get|can access.}|{.get|can archive item.}.}|disabled='disabled'.} />
{.if|{.is file protected|%item-name%.}|<span class='flag'> NEW </span>.}
{.if not|{.get|can access.}|<img src='/~img_lock'>.}
<a href="%item-url%"><img src="%item-icon%"> %item-name%</a>
{.if| {.length|{.?search.}.} |{:{.123 if 2|<div class='item-folder'>{.!item folder.} |{.breadcrumbs|{:<a href="%bread-url%">%bread-name%/</a>:}|from={.count substring|/|%folder%.}/breadcrumbs.}|</div>.}:} .}
{.123 if 2|<div class='comment'>|{.commentNL|%item-comment%.}|</div>.}
[+file]
<td>%item-size%B<td>%item-modified%<p>{.round|{.calc|%now%-%item-modified-dt%.}.}<td>%item-dl-count%
[+folder]
<td class='nosize'>folder<td>%item-modified%<p>{.round|{.calc|%now%-%item-modified-dt%.}.}<td>%item-dl-count%
[+link]
<td class='nosize'>link<td colspan='2'>
[+file=+folder=+link|private]
/if.}
the action is running every day indicated, and
only if a user display the directory on that day
otherwise you have to use an external program to perform the actions of delete, launched with the exec macro as told by rejetto