Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Events.Reminder.SetCompleted

Whether or not the reminder is completed.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.Reminder.SetCompleted"; EKReminder; Completed )   More

Parameters

Parameter Description Example
EKReminder The reference to the reminder. $Reminder
Completed Pass 1 for completed or 0 if not. 1

Result

Returns OK or error.

Description

Whether or not the reminder is completed.
Setting it to 1 will set the completed date to the current date.
Setting it to 0 will set the completed date to undefined.

Examples

Set completed.

Set Variable [ $reminder; Value: "7579BC2E-C7E5-4C31-8D17-4C72FFF687CD" ]
Set Variable [ $r; Value: MBS( "Events.Reminder.SetCompleted"; $reminder; 1 ) ]
Set Variable [ $r; Value: MBS( "Events.SaveReminder"; $reminder; 1 ) ]

See also

This function checks for a license.

Created 10th March 2016, last changed 12nd June 2024


Events.Reminder.GetStartTimestamp - Events.Reminder.SetCompletionDate