Once a change to the watched folder has triggered its command, apparently the watching ceases but the handle still exists. Suppose you want to resume watching for changes. Should the action remove the previous handle and reexecute the whan=file.watchfolder?
IOW, should I do:
win.debug("folder action occured")
if (win.exists(whan))
file.endwatchfolder(whan)
whan=file.watchfolder(...same entries as initial run...)
or is endwatchfolder just intended to cancel an unfulfilled watch?
Regards,
Sheri
