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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

FSEvents.SetFileName

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

Parameters

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

Result

Returns OK or error.

Description

Sets the file name for scheduled script start.

Examples

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

💬 Ask a question or report a problem