Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsDirectoryWatcherMBS class.
WindowsDirectoryWatcherMBS.AddDirectory(path as folderitem, Recursive as boolean, Flags as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
path: Path to folder to watch.
Recursive: Whether to watch subdirectories.
Flags: What to watch for. Please combine kNotifyChange* constants with bitwiseOr.
Returns false on error and true on success.
You can add several directories to a watcher.
See also:
WindowsDirectoryWatcherMBS.AddDirectory(path as string, Recursive as boolean, Flags as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
path: Path to folder to watch.
Recursive: Whether to watch subdirectories.
Flags: What to watch for. Please combine kNotifyChange* constants with bitwiseOr.
Returns false on error and true on success.
You can add several directories to a watcher.
See also:
WindowsDirectoryWatcherMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
WindowsDirectoryWatcherMBS.NextChange as WindowsDirectoryChangeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Folder Change Watching | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Call this method in a loop in a timer until it returns nil.
This way you can get all the changes.
The items on this page are in the following plugins: MBS Win Plugin.