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.GetDockIcon

Queries the dock icon.

Component Version macOS Windows Linux Server iOS SDK
App 3.2 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "App.GetDockIcon" { ; ImageType; FileName } )   More

Parameters

Parameter Description Example Flags
ImageType The type of image to return.
Either JPEG, PNG, GIF or BMP. Default is JPEG.
"JPEG" Optional
FileName The filename to use for the picture.
Default is "image" with the extension matching the image type.
"test.jpg" Optional

Result

Returns image or error.

Description

Queries the dock icon.
Only queries a dock item image you set before with App.SetDockIcon
Returns nothing if no image was set.

See also

Blog Entries

Created 18th August 2014, last changed 29th September 2020


App.GetDockBadgeLabel - App.GetProcessName

Feedback: Report problem or ask question.