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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

Calendar.Item.SetPriority

Sets the priority of a task/reminder.

Component Version macOS Windows Linux Server iOS SDK
Calendar 3.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Calendar.Item.SetPriority"; reminderRef; value )   More

Parameters

Parameter Description Example
reminderRef The reference to the reminder. $reminderRef
value The new priority level.

Result

Returns error or OK.

Description

Sets the priority of a task/reminder.
The iCalendar specification allows priority to be specified with an integer in the range of 0-9, with 0 representing an undefined priority, 1 the highest priority, and 9 the lowest priority. When a user sets the priority to high, medium or low in iCal saves the priority as 1, 5, or 9 respectively. Clients are encouraged to use these values when setting a task's priority, but is is possible to specify any integer value from 0 to 9. In iCal, a task with a priority in the range of 1-4 will show up as high priority, a task with a priority of 5 will be displayed as having medium priority, and 6-9 will be displayed as having a low priority.

See also

Blog Entries

This function checks for a license.

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


Calendar.Item.SetNotes - Calendar.Item.SetStartDate

💬 Ask a question or report a problem