Reading OSX Dock Information?

I am trying to read dock information and get applications and their positions on the dock.

Can someone give me a pointer on how to do this?

Change From ~ / Library / Preferences / com.apple.dock.plist I can get all the information related to static (fixed) applications and folders, but not about running and minimized fragments of applications.

For running applications, we can use NSWorkspace.

Is the big question still minimizing application tiles?

+6
source share
1 answer

~ / Library / Preferences / com.apple.dock.plist contains information about which applications are displayed in the Dock. However, it only lists which of them are permanently stored there - not any other applications that can be opened.

+2
source

Source: https://habr.com/ru/post/912955/


All Articles