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.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Queries the title of the calendar.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Calendar | 3.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
calendarRef | The id of the calendar to query. | $calendarRef |
Returns title or error.
Queries name of first calendar:
$list = MBS( "Calendar.Calendars" )
$calendarRef = GetValue( $list ; 1 )
$title = MBS( "Calendar.Calendar.GetTitle"; $calendarRef )
Get title for calendar by ID:
MBS( "Calendar.Calendar.GetTitle"; "B560017B-E414-4CD9-B3D1-3D6E7717D714" )
Query all the names of all calendars:
While(
[
names = "";
// query list of Calendar IDs
list = MBS( "Calendar.Calendars" );
count = ValueCount(list);
index = 1
] ;
index ≤ count ;
[
id = GetValue(list; index);
// query name for each ID
name = MBS( "Calendar.Calendar.GetTitle"; id);
names = names & name & ¶;
index = index + 1
] ;
// return all the names
names )
Example result:
Birthdays
Work
Family
This function checks for a license.
Created 18th August 2014, last changed 14th June 2022