App.GetDockBadgeLabel
---------------------

Returns the tile's current badge label.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [App](component_App.md) | [2.6](newinversion26.md) | ✅ 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](AppSetDockBadgeLabel.md)"; "123" )\]  
Show Custom Dialog \[MBS ( "App.GetDockBadgeLabel" )\]  
### See also

- [App.SetDockBadgeLabel](AppSetDockBadgeLabel.md)

### Release notes

- **Version 10.5**
    - Improved [App.GetDockBadgeLabel](https://www.mbsplugins.eu/AppGetDockBadgeLabel.shtml) and [App.SetDockBadgeLabel](https://www.mbsplugins.eu/AppSetDockBadgeLabel.shtml) for iOS to not cause warning message.
- **Version 7.2**
    - Implemented [App.SetDockBadgeLabel](http://www.mbsplugins.eu/AppSetDockBadgeLabel.shtml) and [App.GetDockBadgeLabel](http://www.mbsplugins.eu/AppGetDockBadgeLabel.shtml) for iOS.

### Blog Entries

- [MBS FileMaker Plugin, version 10.5pr1](https://www.mbsplugins.de/archive/2020-10-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.2pr3](https://www.mbsplugins.de/archive/2017-04-19/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.6pr6](https://www.mbsplugins.de/archive/2012-03-12/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[App.Exit](AppExit.md) - [App.GetDockIcon](AppGetDockIcon.md)

[HTML Version](AppGetDockBadgeLabel.shtml)