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

App.GetDockBadgeLabel

Returns the tile's current badge label.

Component Version macOS Windows Linux Server iOS SDK
App 2.6 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "App.GetDockBadgeLabel" )

(old name: AppDockTile.getBadgeLabel)

Parameters

none

Result

Returns text or error.

Description

Returns the tile's current badge label.
Available in macOS v10.5 and later.

iOS added in 7.2, but the badge is a number.

Examples

Set and query dock badge:

Set Variable [$r; Value:MBS( "App.SetDockBadgeLabel"; "123" )]
Show Custom Dialog [MBS( "App.GetDockBadgeLabel" )]

See also

Release notes

Blog Entries

This function checks for a license.

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


App.Exit - App.GetDockIcon