Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Queries the paths being watched.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FSEvents | 5.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
Parameter | Description | Example |
---|---|---|
FSEventsRef | The reference number for this FSEvents object. | $fstream |
Returns path list or error.
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
Created 18th November 2015, last changed 13th March 2016
FSEvents.NextEvent - FSEvents.Release
Feedback: Report problem or ask question.