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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


App.Exit - App.GetDockIcon

Feedback: Report problem or ask question.