Platforms to show: All Mac Windows Linux Cross-Platform
Folder Change Watching
Classes for watching for changes on files and folders.
- Classes
- class FSEventsMBS
- shared method Available as Boolean
- method Constructor(DeviceToWatch as Integer, path as string, sinceWhen as UInt64, latency as Double, flags as Integer)
- method Constructor(DeviceToWatch as Integer, paths() as string, sinceWhen as UInt64, latency as Double, flags as Integer)
- method Constructor(path as folderitem, sinceWhen as UInt64, latency as Double, flags as Integer)
- method Constructor(path as string, sinceWhen as UInt64, latency as Double, flags as Integer)
- method Constructor(paths() as folderitem, sinceWhen as UInt64, latency as Double, flags as Integer)
- method Constructor(paths() as string, sinceWhen as UInt64, latency as Double, flags as Integer)
- method Description as string
- method DeviceBeingWatched as Integer
- method ExclusionPaths as String()
- method FlushAsync as UInt64
- method FlushSync
- shared method GetAbsoluteTime(theDate as date) as Double
- shared method GetAbsoluteTime(theDate as DateTime) as double
- shared method GetCurrentEventId as UInt64
- shared method GetDeviceID(volume as folderitem) as Integer
- shared method GetLastEventIdForDeviceBeforeTime(DeviceID as Integer, theTime as Double) as UInt64
- method GetLatestEventId as UInt64
- shared method kFSEventStreamEventIdSinceNow as UInt64
- method PathsBeingWatched as String()
- shared method PurgeEventsForDeviceUpToEventId(DeviceID as Integer, EventID as UInt64) as boolean
- method SetExclusionPaths(paths() as String) as boolean
- method Show
- method Start as boolean
- method Stop
- shared method UUIDForDevice(DeviceID as Integer) as memoryblock
- property Handle as Integer
- property Running as Boolean
- event Callback(index as Integer, count as Integer, path as string, flags as Integer, eventID as UInt64)
- class WindowsDirectoryChangeMBS
- class WindowsDirectoryWatcherMBS
- method AddDirectory(path as folderitem, Recursive as boolean, Flags as Integer) as Boolean
- method AddDirectory(path as string, Recursive as boolean, Flags as Integer) as Boolean
- method Constructor
- method NextChange as WindowsDirectoryChangeMBS
- class WindowsFolderChangeMBS
- method Constructor(path as folderitem, subtree as boolean, FilterFlags as Integer)
- property ChangeCount as Integer
- property Handle as Integer
- event Changed
- class FSEventsMBS
- Examples
- /MacControls/Listbox and TableView Demos/NSOutlineView/Disk Browser
- /MacFrameworks/FSEvents/FSEvents
- /MacFrameworks/FSEvents/FSEvents for files
- /MacFrameworks/FSEvents/FSEvents for trash
- /MacFrameworks/FSEvents/FSEvents New Files in Documents
- /MacFrameworks/FSEvents/FSEvents on Boot Device
- /MacFrameworks/FSEvents/FSEvents on Boot Device Console
- /MacFrameworks/FSEvents/FSEventsMBS Demo
- /Win/Watch directory on Windows
- /Win/WindowsFolderChange Test
- Blog Entries
- MBS Plugins updated for Xojo 2019r2
- MBS Xojo Plugins, version 19.3pr1
- MBS Xojo Plugins, version 19.2pr7
- MBS Xojo / Real Studio Plugins, version 14.5pr4
- MBS Releases the MBS Real Studio plug-ins in version 12.0
- MBS Real Studio Plugins, version 11.4pr3
- MBS Real Studio Plugins, version 11.3pr12
- Notes from today
- MBS REALbasic plug-in 9.6
- MonkeyBread Software Releases the MBS Plugins 8.1
Release notes
- Version 19.3
- Improved destructor for FSEventsMBS class to avoid a possible crash.
- Version 19.2
- Fixed a problem with FSEventsMBS class.
The items on this page are in the following plugins: MBS MacControls Plugin, MBS MacFrameworks Plugin, MBS MacOSX Plugin, MBS Win Plugin.