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

FSEvents.PathsBeingWatched

Queries the paths being watched.

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

MBS( "FSEvents.PathsBeingWatched"; FSEventsRef )

Parameters

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

Result

Returns path list or error.

Description

Queries the paths being watched.

Examples

Query paths being watched:

Delete All Records [No dialog]
Set Variable [$path; Value:MBS( "Folders.UserDesktop" )]
Set Variable [$sinceWhen; Value:"now"]
If [not IsEmpty(FSEvents::LastID)]
    Set Variable [$sinceWhen; Value:FSEvents::LastID]
End If
Set Variable [$fstream; Value:MBS("FSEvents.Create"; $path; $sinceWhen; "IgnoreSelf, FileEvents, WatchRoot"; 2)]
If [MBS("IsError")]
    Show Custom Dialog ["Error"; "Failed to create file system event monitor."]
Else
    Show Custom Dialog ["Paths"; MBS( "FSEvents.PathsBeingWatched"; $fstream )]
    ....
End If

See also


FSEvents.NextEvent   -   FSEvents.Release

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Pfarrgemeinde St. Arnulf Nickenich