FSEvents.CurrentEventId
-----------------------

Queries current event ID for system.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FSEvents](component_FSEvents.md) | [5.4](newinversion54.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |

MBS( "FSEvents.CurrentEventId" ) ### Parameters

none

### Result

Returns ID or error.

### Description

Queries current event ID for system.  
Fetches the most recently generated event ID, system-wide (not just for one stream). By the time it is returned to your application even newer events may have already been generated.  
### Examples

Show current event ID:

 Show Custom Dialog \["Current event ID"; MBS ( "FSEvents.CurrentEventId" )\]  
### See also

- [FSEvents.LatestEventId](FSEventsLatestEventId.md)

This function is free to use.

Created 18th November 2015 , last changed 13th March 2016

  
[FSEvents.CreateRelativeToDevice](FSEventsCreateRelativeToDevice.md) - [FSEvents.Description](FSEventsDescription.md)

[HTML Version](FSEventsCurrentEventId.shtml)