Question

DirectoryWatcher

  • 19 January 2015
  • 1 reply
  • 5 views

Badge +21
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.

1 reply

Userlevel 4
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

Reply