Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

UNNotification.SetScript

Sets which script to call when a notification is presented.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
UNNotification 7.2 No No No No Yes

MBS( "UNNotification.SetScript"; Filename; ScriptName )

Parameters

Parameter Description Example value
Filename The database file name where the script is located. "test.fmp12"
ScriptName The script name. "MyScript"

Result

Returns OK or error.

Description

Sets which script to call when a notification is presented.
Called for both local and remote notifications.
Parameter to the script is the ID of the notification.

Examples

Sets script:

MBS( "UNNotification.SetScript"; Get(Filename); "NotificationReceived" )

See also

Created 15th April 2017, last changed 17th April 2017


UNNotification.SetLocationTrigger   -   UNNotification.SetSound

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos