I am trying to read information about the dock and retrieve the applications and their positions on the dock.
Can anyone give me a pointer on how to do this?
Edit: From ~/Library/Preferences/com.apple.dock.plist, I can get all information related to static(fixed) apps and folder but not about launched and minimized application tiles.
For launched apps, we can use NSWorkspace.
Big question is still minimized application tiles?
~/Library/Preferences/com.apple.dock.plist has information about which applications are displayed in the Dock. However, it only lists which ones are permanently stored there--not any other applications that may be open.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With