Calendar.Alarm.GetAction
------------------------

Queries the action for this alarm.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Calendar](component_Calendar.md) | [3.5](newinversion35.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "Calendar.Alarm.GetAction"; alarmRef ) 

**MBS**( **"Calendar.Alarm.GetAction";** /\* Queries the action for this alarm. \*/  
**$alarmRef**) /\* The reference to the calendar alarm. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| alarmRef | The reference to the calendar alarm. | $alarmRef |

### Result

Returns action name or error.

### Description

Queries the action for this alarm.  
Action can be: Display, Email, Procudure or Sound.  
### See also

- [Calendar.Alarm.GetSound](CalendarAlarmGetSound.md)
- [Calendar.Alarm.GetURL](CalendarAlarmGetURL.md)
- [Calendar.Alarm.SetAction](CalendarAlarmSetAction.md)
- [Calendar.Item.GetLocation](CalendarItemGetLocation.md)

### Example Databases

- [Mac and iOS/Events/Calendar/Calendar Events](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Calendar/Calendar%20Events.shtml#1ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[Calendar.Alarm.GetAcknowledged](CalendarAlarmGetAcknowledged.md) - [Calendar.Alarm.GetEmailAddress](CalendarAlarmGetEmailAddress.md)

[HTML Version](CalendarAlarmGetAction.shtml)