Skip to main content
Question

DirectoryWatcher

  • January 19, 2015
  • 1 reply
  • 22 views

sigtill
Supporter
Forum|alt.badge.img+25
Any possibility to run a workspace after a dedicated time of a DirectoryWatcher? Typically I do now want to run a workspace every time a user copies file to a directory (for instance when copying 100 files to a folder) - however I want the workspace to run when there have been "no activity" after a certain while - so I run the workspace after all, or multiple files have been copied.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Celebrity
  • January 20, 2015
Hi,

 

 

this might be a good task for the PythonCreator, if you can write a script that triggers the creation of a feature depending on your condition.

 

 

A few good examples on how to monitor a directory with Python here:

 

http://timgolden.me.uk/python/win32_how_do_i/watch_directory_for_changes.html

 

 

David