Component: FSEvents 
--------------------

File System Monitoring

Watch changes on folder or volume and get script triggered for changes.  
See [DirectoryWatcher](component_DirectoryWatcher.md) functions for Windows.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [5.4](newinversion54.md "First functions introduced with version 5.4.") / [13.0](newinversion130.md "Newest functions in version 13.0.") | ✅ Yes | ❌ No | ❌ No | ✅ 83%, on macOS | ❌ No |

  
| Item | Details | Server |
|:--|:--|:--|
| [FSEvents.Create](FSEventsCreate.md)   Creates a new FSEvents monitor. | Mac only   5.4 | ✅ Server |
| [FSEvents.CreateRelativeToDevice](FSEventsCreateRelativeToDevice.md)   Creates a new FSEvents monitor relative to a device. | Mac only   6.0 | ✅ Server |
| [FSEvents.CurrentEventId](FSEventsCurrentEventId.md)   Queries current event ID for system. | Mac only   5.4 | ✅ Server |
| [FSEvents.Description](FSEventsDescription.md)   Queries description event for this FSEvents object. | Mac only   5.4 | ✅ Server |
| [FSEvents.DeviceBeingWatched](FSEventsDeviceBeingWatched.md)   Queries device ID of device watched. | Mac only   6.0 | ✅ Server |
| [FSEvents.DeviceID](FSEventsDeviceID.md)   Queries the DeviceID for a disk. | Mac only   6.0 | ✅ Server |
| [FSEvents.EventCount](FSEventsEventCount.md)   Queries number of events in queue. | Mac only   5.4 | ✅ Server |
| [FSEvents.FlushASync](FSEventsFlushASync.md)   Flushes events asynchronously. | Mac only   5.4 | ✅ Server |
| [FSEvents.FlushSync](FSEventsFlushSync.md)   Flushes events synchronously. | Mac only   5.4 | ✅ Server |
| [FSEvents.GetEvaluate](FSEventsGetEvaluate.md)   Queries string to evaluate. | Mac only   6.2 | ✅ Server |
| [FSEvents.GetExclusionPaths](FSEventsGetExclusionPaths.md)   Queries list of exclusion paths. | Mac only   6.0 | ✅ Server |
| [FSEvents.GetFileName](FSEventsGetFileName.md)   Returns the file name for the scheduled script start. | Mac only   5.4 | ❌ Server |
| [FSEvents.GetScriptName](FSEventsGetScriptName.md)   Returns the script name for the scheduled script start. | Mac only   5.4 | ❌ Server |
| [FSEvents.HasNextEvent](FSEventsHasNextEvent.md)   Checks if there is a pending event in the queue. | Mac only   5.4 | ✅ Server |
| [FSEvents.LastEventIdForDeviceBeforeTime](FSEventsLastEventIdForDeviceBeforeTime.md)   Queries event ID for a given time on a device. | Mac only   6.0 | ✅ Server |
| [FSEvents.LatestEventId](FSEventsLatestEventId.md)   Queries latest Event ID for this stream. | Mac only   5.4 | ✅ Server |
| [FSEvents.List](FSEventsList.md)   Lists all IDs of file system event objects. | Mac only   13.0 | ✅ Server |
| [FSEvents.NextEvent](FSEventsNextEvent.md)   Queries next event in queue. | Mac only   5.4 | ✅ Server |
| [FSEvents.PathsBeingWatched](FSEventsPathsBeingWatched.md)   Queries the paths being watched. | Mac only   5.4 | ✅ Server |
| [FSEvents.Release](FSEventsRelease.md)   Releases the FSEvents object. | Mac only   5.4 | ✅ Server |
| [FSEvents.ReleaseAll](FSEventsReleaseAll.md)   Frees all FSEvents objects. | Mac only   10.5 | ✅ Server |
| [FSEvents.SetEvaluate](FSEventsSetEvaluate.md)   Sets the expression for evaluate when database changes. | Mac only   6.2 | ❌ Server |
| [FSEvents.SetExclusionPaths](FSEventsSetExclusionPaths.md)   Sets directories to be filtered from the EventStream. | Mac only   6.0 | ✅ Server |
| [FSEvents.SetFileName](FSEventsSetFileName.md)   Sets the file name for scheduled script start. | Mac only   5.4 | ❌ Server |
| [FSEvents.SetScriptName](FSEventsSetScriptName.md)   Sets the script name for scheduled script start. | Mac only   5.4 | ❌ Server |
| [FSEvents.Show](FSEventsShow.md)   Shows details for this FSEvents object on console. | Mac only   5.4 | ✅ Server |
| [FSEvents.Start](FSEventsStart.md)   Starts FSEvents monitor. | Mac only   5.4 | ✅ Server |
| [FSEvents.Started](FSEventsStarted.md)   Queries if FSEvents monitor is started. | Mac only   5.4 | ✅ Server |
| [FSEvents.Stop](FSEventsStop.md)   Stops FSEvent monitor. | Mac only   5.4 | ✅ Server |
| [FSEvents.UUIDForDevice](FSEventsUUIDForDevice.md)   Gets the UUID associated with a device. | Mac only   6.0 | ✅ Server |

30 functions shown.

These functions require a license (60%).

### Release notes

- **Version 13.0**
    - Added [FSEvents.List](https://www.mbsplugins.eu/FSEventsList.shtml) function.
- **Version 10.5**
    - Added [CFunction.ReleaseAll](https://www.mbsplugins.eu/CFunctionReleaseAll.shtml), [CGImageSource.ReleaseAll](https://www.mbsplugins.eu/CGImageSourceReleaseAll.shtml), [CLibrary.ReleaseAll](https://www.mbsplugins.eu/CLibraryReleaseAll.shtml), [DynaPDF.ReleaseAll](https://www.mbsplugins.eu/DynaPDFReleaseAll.shtml), [ECKey.ReleaseAll](https://www.mbsplugins.eu/ECKeyReleaseAll.shtml), [FSEvents.ReleaseAll](https://www.mbsplugins.eu/FSEventsReleaseAll.shtml), [MarkDown.ReleaseAll](https://www.mbsplugins.eu/MarkDownReleaseAll.shtml), [MenuItem.ReleaseAll](https://www.mbsplugins.eu/MenuItemReleaseAll.shtml), [SendMail.ReleaseAll](https://www.mbsplugins.eu/SendMailReleaseAll.shtml), [Shell.ReleaseAll](https://www.mbsplugins.eu/ShellReleaseAll.shtml), [SmartCard.ReleaseAll](https://www.mbsplugins.eu/SmartCardReleaseAll.shtml), [TouchBar.ReleaseAll](https://www.mbsplugins.eu/TouchBarReleaseAll.shtml), [UserNotification.ReleaseAll](https://www.mbsplugins.eu/UserNotificationReleaseAll.shtml), [WMFP.ReleaseAll](https://www.mbsplugins.eu/WMFPReleaseAll.shtml), [WMIQuery.ReleaseAll](https://www.mbsplugins.eu/WMIQueryReleaseAll.shtml) and [WindowsUserNotification.ReleaseAll](https://www.mbsplugins.eu/WindowsUserNotificationReleaseAll.shtml).

### Blog Entries

- [Combine MBS functions to automate processes in FileMaker](https://www.mbsplugins.de/archive/2019-04-11/Combine_MBS_functions_to_autom/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.4pr5](https://www.mbsplugins.de/archive/2017-09-11/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin Schulung auf Deutsch bei der FMK 2017](https://www.mbsplugins.de/archive/2017-09-11/MBS_FileMaker_Plugin_Schulung_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.1 - Über 4400 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2017-03-14/MBS_FileMaker_Plugin_71_-_Übe/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.1 - More than 4400 Functions In One Plugin](https://www.mbsplugins.de/archive/2017-03-14/MBS_FileMaker_Plugin_71_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 6.0 for OS X/Windows](https://www.mbsplugins.de/archive/2016-01-28/MBS_FileMaker_Plugin_60_for_OS/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 5.4 for OS X/Windows](https://www.mbsplugins.de/archive/2015-11-24/MBS_FileMaker_Plugin_54_for_OS/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2020, Seite 25](https://filemaker-magazin.de/neuigkeit/4118-Appetithappen-FMM_202006)

### Example Databases

- [Mac only/FSEvents](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/FSEvents.shtml#1ScriptAnchor_)

[HTML Version](component_FSEvents.shtml)