Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

FSEvents.CreateRelativeToDevice

Creates a new FSEvents monitor relative to a device.

Component: FSEvents
Version: 6.0
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

MBS( "FSEvents.CreateRelativeToDevice"; DeviceID; PathList; sinceWhen { ; Flags; latency } )

Parameters

Parameter Description Example value
DeviceID The device ID. Either a number or the path to a file/folder of that device. "/"
PathList List of folders to watch. $path
sinceWhen The event ID from where to start. Can be the latest ID you saw last time or you pass "now" to start with now. "now"
Flags Optional
The flags. Can be a combination of NoDefer, WatchRoot, IgnoreSelf, FileEvents or MarkSelf.
"IgnoreSelf,FileEvents"
latency Optional
The latency.
2

Result

Returns reference number or error.

Description

Creates a new FSEvents monitor relative to a device.
You can only pass one path in the pathList. Pass empty text there to watch the root of the device.

Examples

Watch root device with root folder since now:

MBS("FSEvents.CreateRelativeToDevice"; "/"; ""; "now")

See also


FSEvents.Create   -   FSEvents.CurrentEventId

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Pfarrgemeinde Ministranten Nickenich