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:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Creates a new alarm with a relative trigger time.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Offset | The offset from the event start that the alarm should fire. in Seconds. |
3*60 |
Returns reference number or error.
New alarm in 3 minutes:
MBS( "Events.NewAlarmWithRelativeOffset"; 3 * 60 )
Add display alarm:
Set Variable [$alarm1; Value:MBS( "Events.NewAlarmWithRelativeOffset"; 0 )]
Set Variable [$r; Value:MBS("Events.Item.AddAlarm"; $c; $alarm1)]
Add alarm with sound 15 minutes before event:
Set Variable [$alarm2; Value:MBS( "Events.NewAlarmWithRelativeOffset"; -15*60 )]
Set Variable [$r; Value:MBS( "Events.Alarm.SetSound"; $alarm2; "Submarine" )]
Set Variable [$r; Value:MBS("Events.Item.AddAlarm"; $c; $alarm2)]
Created 10th March 2016, last changed 24th March 2016
Events.NewAlarmWithAbsoluteDate - Events.NewCalendar
Feedback: Report problem or ask question.