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

FSEvents.Start

Starts FSEvents monitor.

Component Version macOS Windows Linux Server iOS SDK
FSEvents 5.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "FSEvents.Start"; FSEventsRef )   More

Parameters

Parameter Description Example
FSEventsRef The reference number for this FSEvents object. $fstream

Result

Returns 1, 0 or error.

Description

Starts FSEvents monitor.
Returns 1 on success or 0 on failure.
Attempts to register with the FS Events service to receive events per the parameters in the stream.
Once started, the stream can be stopped via FSEvents.Stop.

Examples

Start FSEvents:

Set Variable [$r; Value:MBS("FSEvents.Start"; $fstream)]

See also

Example Databases

This function checks for a license.

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


FSEvents.Show - FSEvents.Started