I have a task to make a folder watcher, where I need to monitor,
if a file (in this case .jpg file) is added into the folder, there will be some indicator that says “Online”.
and if after sometimes no file added, it will say offline.
What kind of help do you need? You should ask a specific question about a particular piece of code you wrote and you have issues with.
Please keep in mind that this forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.