Adding a Dock icon in MAC OS via the installer has been answered in this link. However, when the Dock icon is added, it opens up all the minimized windows. If there are 10 windows minimized, all are getting opened up. This happens because of refreshing the Dock using the following XML code in the installer,

    <programArguments>-HUP Dock</programArguments>

This seems to be mandatory in order for the added Dock icon to be shown. So when the Dock is refreshed how to prevent it from opening up all the minimized windows?

asked 03 Feb '16, 11:22

Codename%20K's gravatar image

Codename K
accept rate: 50%

I'm afraid that it's a limitation of the Dock itself. It seems that it's the regular behaviour when restarting the Dock. As an alternative, you can skip restarting it and show a message saying the icon will appear after the next reboot / login.


answered 04 Feb '16, 07:02

alejandror's gravatar image

alejandror ♦♦
accept rate: 31%

OK and thanks for the idea.

(04 Feb '16, 07:07) Codename K
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 03 Feb '16, 11:22

Seen: 684 times

Last updated: 04 Feb '16, 07:07