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


Sets the file name for scheduled script start.

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


Parameter Description Example
FSEventsRef The reference number for this FSEvents object. $fstream
Filename The database file name where the script is located. "test.fmp12"


Returns OK or error.


Sets the file name for scheduled script start.


Sets script to trigger:

Set Variable [$r; Value:MBS("FSEvents.SetFilename"; $fstream; Get(FileName))]
Set Variable [$r; Value:MBS("FSEvents.SetScriptName"; $fstream; "FSEventsNotification")]

See also

This function checks for a license.

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

FSEvents.SetExclusionPaths - FSEvents.SetScriptName