Jump to content
UBot Underground

How To: Watched Folders


Recommended Posts

Hi all,

 

Noobie Alert!

 

I want to set up a watched folder of images and then perform an action on each one of them - no repeats and continually monitor for new files arriving.

 

Using a List and GetFiles I can perform a one off loop but that will only pick up the list fo files from the folder and perform the action. That bit works ok but it's not what I require.

 

In a "Watched Folder" situation I wish to continually monitor the folder for any arriving images and and perform a one off action on the image. Once actioned they do not need to be processed any more.

 

A bit of a conumdrum for me so apologies.

 

I did toy with the idea of a list feeding another list and comparing the two or moving the image once processed - I can't rename the extension as the images will need to be archived at some point, but that's as as far as as my brain has got.

 

Does anyone have a working solution for "Watched Folders"?

 

Thank you.

Edited by welby
Link to post
Share on other sites

Moving the image once processed is probably the easiest way.

 

You can also do the two lists method but you will have to be sure to save all of the file names somewhere so that you can load them in the next run.

 

 

Thank you for your reply - yes thinking it through the easiest method would be to move the image once processed.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...