Mac OS X
New in version: 4.0 4.1 4.2 4.3 4.4 5.0 5.1 5.2 5.3 5.4 6.0 6.1 6.2 6.3 6.4 6.5 7.0 7.1 Statistic
Starts listening for a notification.
|NotificationName||The name of the notification.||"de.mbsplugins.MyTestNotification"|
|FileName||The name of the FileMaker File that contains the script|
|ScriptName||The name of the script to run|
Returns "OK" or error message.
DescriptionStarts listening for a notification.
Specify a filename and script name to have this script being called when a notification is received. The script parameter will be the notification name.
Although the notification name can be any text, you probably want to use reverse dns notation to avoid conflicts.
This is implemented with Distributed Notifications on Mac and named messaged on Windows. You can use our NSDistributedNotificationCenterMBS and WinNotificationMBS classes in the Real Studio plugins to send/receive this notifications.
With plugin version 6.0 or newer the script name can be a script ID number. In that case the plugin queries the script name for the given script ID. This allows to call scripts by ID and avoid problems if scripts are later renamed.
Registers script event:
Feedback: Report problem or ask question.