Cocktail is a general purpose utility for macOS that lets you clean, repair and optimize your Mac. It is a powerful digital toolset that helps hundreds of thousands of Mac users around the world get the most out of their computers every day.

Get Cocktail here

Avoid force ejecting mounted volumes

Sometimes, an external drive, disk image, or other mounted volume refuses to leave macOS of its own free will.

When using macOS, you certainly know if you’ve opened a Pages file or are editing an email. But, below the surface are files that macOS uses that you don’t see all the activity required for background processes, Time Machine backups, Spotlight indexing, and other system needs. When you want to eject a mounted volume, like a volume on an external SSD or hard drive, you can run afoul of macOS’s hidden needs.

You can try to eject a volume normally in these ways:

• Select it in the Finder and press Command-E
• Select it in the Finder and choose File > Eject
• Control-click/right-click the volume in the Finder and choose Eject

If you’re lucky, when you try to eject a volume, you will see a message with specific details, such as: The disk "My Photos" couldn't be ejected because "Adobe Photoshop 2024" is using it. Quitting Adobe Photoshop will let you eject “My Photos”, but if there’s something happening at a system level, you will see a message worded like this: The disk "My Photos" wasn’t ejected because one or more programs may be using it. You can try to eject the disk again or click Force Eject to eject it immediately. Cancel and Force Eject buttons are part of the dialog, and a progress spinner appears next to the phrase “Trying to eject.”. That does not help resolve the situation. Here’s what you can do to narrow down the problem:

Close Finder windows. As odd as it seems, sometimes merely having a window open in the Finder that shows the contents of the volume or a folder on it may make the Finder believe that a “program” is using that mounted item. Close the Finder window and try again.

Remove the volume from Spotlight. I’ve found that Spotlight can sometimes seize hold of a volume and mark it as unejectable even when indexing isn’t actively in process on that volume. You can check if that’s the problem by going to Apple menu  > System Settings... > Siri & Spotlight, scrolling down to the bottom of the view, and clicking Spotlight Privacy. Drag the volume into the window (or click + and navigate to it, then add it), and click Done. This immediately removes the volume from indexing. Try to eject now. If it works, that was the problem. However, if you want to search items on that volume, you will need to remove it from Spotlight Privacy later.

Check if Time Machine is backing up. If Time Machine is actively backing up the volume, you may be unable to eject it. Check the status of Time Machine either through its system menu or by going to Apple menu  > System Settings... > General > Time Machine. If it’s underway, you can choose Skip This Backup from the Time Machine system menu or click the “x” box next to the active session in the System Settings view and wait for Time Machine to wind down. You can exclude the volume from Time Machine by using the settings view: click Options, click the + (plus) sign at the bottom of Exclude from Backups, and add the volume while mounted. Click Done.

Shut down. For a physically connected external volume, choose Apple menu  > Shut Down. When your Mac is completely shut down, unplug the SSD or HDD. Press the power button on your Mac to start up. For a “logically” mounted volume, such as a disk image or networked volume, choose Apple menu  > Restart. On restart, the volume should be unmounted by default. If not, immediately select it and use an eject option listed above, which should now work.

Change keyboard shortcut for Type to Siri

The Type to Siri feature on Mac is super useful, particularly now that Siri has Apple Intelligence features. Using Type to Siri is perhaps even more handy for Mac users than using the voice activated Siri commands, but some Mac users may find themselves accidentally triggering Type to Siri by inadvertently pressing the initiating command sequence.

If you wish to change the keyboard shortcut for Type to Siri on Mac, you can do so rather quickly with a settings change:

• Go to the  Apple menu and choose “System Settings...”
• Select “Apple Intelligence & Siri”
• Select the “Keyboard Shortcut” dropdown menu to choose your desired keyboard shortcut for starting Type to Siri, the default options are: Globe/fn+S, Press Left Command key twice, Press Right command key twice, Press either command key twice or Customize (you can select just about any keyboard shortcut this way)

If you find yourself accidentally initiating the Type to Siri feature with the double press of command key, you might try switching the Type to Siri keyboard shortcut to Globe/fn+S instead, or something else entirely using the customize feature. Or, if you only use one of the Command keys, you might find switching the keyboard shortcut to the non-used Command key to be helpful as well.

 

Create webpage links that jump to the selected text

Posted in Safari Tips & Tricks

Sometimes when you share a webpage link with someone, you just want to bring their attention to a specific passage or sentence to make your point, rather than have them read through the entire article.

To copy link with highlight in Safari visit a web page and simply highlight the text you want to create a link to, then right-click and choose Copy Link with Highlight from the dropdown menu.

This will generate a special URL that includes a hash (#) symbol and "text" element, followed by a few words that bookend the selected text. All you need to do is share the link with someone, and when they click it they'll be sent directly to that part of the webpage with the specific passage highlighted.

Bear in mind that the look of highlighted text can differ depending on whether the page author has styled it to look a certain way. Also, text fragment linking does not work in PDFs.

 

Mastering the Application Switcher

Most long-time macOS users will be aware of the Application Switcher. It's invoked using the Command+Tab keyboard shortcut, and lists all of the apps currently running on your Mac, enabling you to quickly switch between them.

When you hold Command and press Tab, the Application Switcher overlay appears above all other open windows on your desktop, and remains visible until you release the Command key. Letting go switches you to the last active app, prior to the one you were just using.

Repeatedly tapping Tab with the Command key held down cycles you through the list of apps in the Application Switcher from left to right, while releasing Command takes you to the selected app. You can also press the right and left arrow keys to move the selection box forwards and backwards. A two-finger drag on a trackpad does the same thing, or you can use your mouse cursor to highlight an app in the list and then click to select it.


Bring back a minimized app

While the Application Switcher allows you to cycle through open apps, selecting an app with minimized windows doesn't automatically restore those windows. To do that, activate the Application Switcher and navigate through the row of icons. With the desired app highlighted, press and hold the Option key, then release the Command key. This action will restore the minimized window of the app in question.


Close and hide apps via the Application Switcher

Pressing the H key in the Application Switcher hides all the windows of the selected app (pressing the H key again reveals them). It's a neat way to quickly clear a space on a desktop cluttered with windows. This method streamlines window management by avoiding minimization. By invoking the Application Switcher again you can switch back to the hidden app.

Lastly, highlighting an icon in the Application Switcher and tapping Q has to be one of the fastest ways to individually quit open Mac apps.

Create and use Text Clippings

In macOS, a Text Clipping is a selection of text that you've dragged from an application to another location on your Mac, where it becomes a unique kind of standalone file. The relatively little-known feature has been around since at least Mac OS 9, and it offers a convenient way to save out pieces of text from pretty much anywhere for later use in another app or document.

To create a Text Clipping, simply highlight any piece of text, then hold left-click and drag it with your mouse to your Desktop or an open Finder window. This saves the highlighted text – including any rich text formatting – as a .textclipping file named after the first few words of text that you selected, but you can easily rename it to make it more identifiable.

To use the selected text in another file like a Pages document, drag the Text Clipping into the open document and the text will be automatically pasted wherever the cursor is located. You can paste the clipping in the same way into all sorts of open files and apps, including browser search engines, Mail compose windows, and more.

To quickly view the contents of a Text Clipping, simply double-click it to view the text in a dedicated window, and even highlight and copy (Command-C) just a snippet of the text from this window for pasting elsewhere.

Text clippings can speed up many repetitive tasks, making things like reusing email/letter templates and code snippets a cinch. Bear in mind that Text Clippings store content in a unique format that may not be compatible across all platforms or devices. So if you're sharing clippings, it's best to convert them into standard text formats to ensure they can be opened elsewhere.