Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Component: DirectoryWatcher

Watch directories for changes on Windows.

Watch changes on directories and get script triggered for changes.
See FSEvents functions for Mac.

Version macOS Windows Linux Server iOS SDK
7.1 / 12.4 ❌ No ✅ Yes ❌ No 🔶 54%, on Windows ❌ No

Item Details Server
DirectoryWatcher.AddDirectory
Adds a directory to watch.
Win only
7.1
  ✅ Server
DirectoryWatcher.ChangeCount
Queries the change count.
Win only
7.1
  ✅ Server
DirectoryWatcher.Create
Creates a new directory watcher.
Win only
7.1
  ✅ Server
DirectoryWatcher.GetEvaluate
Queries the expression to evaluate.
Win only
7.1
  ❌ Server
DirectoryWatcher.GetFileName
Returns the file name for the watcher.
Win only
7.1
  ❌ Server
DirectoryWatcher.GetScriptName
Returns the script name for the watcher.
Win only
7.1
  ❌ Server
DirectoryWatcher.NextChange
Queries next change in queue.
Win only
7.1
  ✅ Server
DirectoryWatcher.Release
Releases directory watcher.
Win only
7.1
  ✅ Server
DirectoryWatcher.ReleaseAll
Releases all directory watchers.
Win only
7.4
  ✅ Server
DirectoryWatcher.SetEvaluate
Sets the expression to evaluate.
Win only
7.1
  ❌ Server
DirectoryWatcher.SetFileName
Sets the file name for watcher.
Win only
7.1
  ❌ Server
DirectoryWatcher.SetScriptName
Sets the script name for watcher.
Win only
7.1
  ❌ Server
DirectoryWatcher.TotalChangeCount
Queries the total number of changes seen.
Win only
12.4
  ✅ Server

13 functions shown.

These functions require a license (54%).

Release notes

Blog Entries

Example Databases