I'm surprised this doesn't happen automatically, but I would like my applications window to open automatically when the Dock icon is clicked.
Just to clarify, when i open the app, the window automatically opens, but when I click the cross for the window but leave the App running, the window won't open when i click the dock icon.
In MacOS if you use HyperDock you can press Shift+Click on Dock icon, and it will Hide the application. It's equivalent to pressing keyboard shortcut Cmd+H - Hide.
Answer: A: System Preferences > Dock & Menu Bar. Change "Double-click a window's title bar to": minimize.
Method 1: Drag Application Icon to Dock With Finder active, look at the menu bar across the top of the screen. Click “Go,” then select “Applications” from the list. Your Applications folder will open in a Finder window. Locate the app that you want to put in the Dock, then click and drag its icon into the Dock.
Go to Finder > Applications and open the Office app you want. In the Dock, Control+click or right-click the app icon and choose Options > Keep in Dock.
Implement - (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag
in your app delegate. Check the documentation for the details of the return value.
Document based apps and non-document based apps behave slightly differently. If there are no open windows when the dock icon of a document based app is clicked then it will create a new document. If there are no open windows when the dock icon of a non-document based app is clicked then it will do nothing.
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