Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
