Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.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


UNNotification.SetLocationTrigger   -   UNNotification.SetSound

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins