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,
<runProgram> <program>killall</program> <programArguments>-HUP Dock</programArguments> </runProgram>
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?
Please sign in to leave a comment.