Is an event fired when lister contents change?

Suppose I have an open lister, and a file gets added to the directory it is displaying. Does an event get fired? Thanks.

Search for WatchTab to find threads/examples that do that.

Docs on it are here:!Documents/Scripting/Dialog.htm

(While it's tied to the Dialog object, you can make the dialog completely transparent so you never see it.)

Awesome. Thank you, Leo.

I am struggling to get this working, Leo. Can you give me a hint as to how I could modify that script to watch a particular directory and print out a message if a file gets added?

I think my problem might be I don't have a script resource to use with dlg.template, but this is a script and not triggered by a button and I have no idea what to do in this scenario.

Any help appreciated. Thank you.

Here's a working example:

Thank you, Ixp. I will look at that.