Miscellaneous stupid Mac tricks, cool Mac tricks, and stupid cool Mac tricks Thread

VirtualWolf

Ars Legatus Legionis
11,079
Subscriptor++
Another fun one in macOS is to hold Option and then click around the menu bar and menu extras – there’s all kinds of “hidden” information and features that’ll pop up. Like, option-click the Wifi icon and you’ll see all kinds of details about the network you’re currently connected to (IP address, security, channel, etc.). Really handy way to get at information you don’t regularly need.

Another one, Option-clicking the clock (in Big Sur or Monterey) or the little Notification Centre icon (in earlier versions) will turn on Do Not Disturb. And holding down Option while in the Apple menu changes "About This Mac" to "System Information" which will immediately open up System Profiler Information (apparently that's been renamed in the last release or two) rather than then having to click on the System Report button in the About This Mac window.
 

xoa

Ars Legatus Legionis
12,364
Subscriptor++
Plenty of people have multiple email addresses, and the other day a coworker once again sent an email CC'ing someone at the wrong address. Which reminded me that there is a somewhat obtuse way to change the default email used. Open the Contacts application, then Edit > Edit Distribution List... and pull up a contact. Then you can click an email/phone/address to make it the default (bold) option.
 

japtor

Ars Legatus Legionis
13,924
Option dragging the edge or corner of a window to expand in multiple directions, anchored to the center of the window.
Holy crap how long has this been around? I've used that forever in graphics apps and such and never thought to use it on windows. Shift to maintain aspect ratio also works as (now) expected.
 
  • Like
Reactions: Igorula

jeanlain

Ars Tribunus Angusticlavius
7,010
I think that was introduced at the same time as the other feature I mentioned. You can also option-double-click and edge or a corner.

I just noticed that shift dragging an edge expands/contracts a window in both dimensions. D:
I'm not sure how useful it is. It's much less precise than corner-dragging.

You can try option-shift drag for extra fun.
 

xoa

Ars Legatus Legionis
12,364
Subscriptor++
Making some notes to myself as I go through the process of setting up a my own new system for the first time in a very long time (with Monterey). First, it's still possible to change system-wide icons which means I get to keep my nice colorful good Folder ones from back in the day rather than Apple's modern shitty flat monochrome ones. Manually one can disable SIP, mount the read-only volume and modify "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources" .icns like in the good old days. I didn't end up playing with that too much though because it turns out there is now an application called "IconChamp" which makes it easy and takes the place of dearly departed theming software of old like CandyBar.

If you use FileVault but have multiple users and don't want to auto-login, that's still possible with the same old
Code:
sudo defaults write /Library/Preferences/com.apple.loginwindow DisableFDEAutoLogin -bool YES
Useful when a delay is desirable for one reason or another (my main account lives on the network for example), not all users should have boot capability, or authenticating to a network from the login window.

Another two aren't necessarily entirely "Mac" per se, but still some command line stuff I just needed again for the first time in years and remains darn useful. First, trying to eject an external volume and can't, classic "volume is in use" thing except there is no clear culprit. Took me a bit to remember lsof which lists open files, you can just use that and grep for the volume name and it'll tell you what's causing the hold up. So for a volume "ExternalDrive"
Code:
% sudo lsof | grep ExternalDrive
will do the trick.

For networking, tcpdump remains a powerful way to do some light troubleshooting. I was having issues getting my new Mac Mini talking through a Wireguard link to my NAS management earlier this week, with a few different moving parts in the mix. tcpdump -n proto \\icmp quickly and easily let me see whether pings were going through or not from each direction, which let me eliminate the Mac, routing, VPN or firewall as issues (TrueNAS needed a static route).
 
  • Like
Reactions: Axl

maxoakland

Ars Scholae Palatinae
1,309
When they were touting their GPU advanced window rendering, it was a big deal to hold the shift key when minimizing or using expose it'd do it in slow-motion...even while video was playing.

I loved that feature, but it’s gone now. I still try it sometimes hoping they’ll bring it back in a random update. It’s like a fidget toy for me
 
  • Haha
Reactions: Igorula

xoa

Ars Legatus Legionis
12,364
Subscriptor++
You can hide specific individual applications from Spotlight by adding them to its privacy pane, even though it says "Prevent Spotlight from searching these locations" as if you can only stop searching entire folders/drives. This is handy for if you regularly launch something via cmd-space and it keeps popping up something you don't want as default. Ie., I want to pull up System Preferences but it's decided that Simulator is what I wanted instead.

I don't know of any way to specifically control the order in a deterministic fashion, it seems instead to interpret continued typing beyond the first suggestion as meaning one didn't want it. So if I type "C" and that goes to "Contacts" but then I rapidly touch type out "Con" (which feels more natural) it starts at Contacts and by the time I hit enter has switched to "Console" instead. Shaving down the search list is brute force but can be handy particularly for applications that are slow to launch or trigger a bunch of other activity and you don't want them being launched accidentally.
 

heySkippy

Ars Legatus Legionis
10,070
Subscriptor++
I may be the last one to know, but Photos seems to have recently learned a new trick. I was looking at pictures of our cats and noticed an tiny icon with what looks like a paw print in it.

http://techquarium.com/gallery2z/d/7622 ... 10+PM.jpeg

I clicked the icon and up popped a dictionary style dialog with info about the breed of cat in the picture.

http://techquarium.com/gallery2z/d/7623 ... 48+PM.jpeg

Note in the first picture the little Plus sign with the info icon on the upper right. I went looking for other photos that had that Plus sign and found that this also works for plants.

http://techquarium.com/gallery2z/d/7623 ... 46+PM.jpeg

Along the way I did find some instances where it's obviously wrong about plants and cats. I don't have any dog pictures and haven't found any other category that Photos will try to identify, but I assume this is just a beginning. I like it! In the long run this will be more useful to me than facial recognition.

And example of a bad ID. This is not marijuana.

http://techquarium.com/gallery2z/d/7623 ... 47+PM.jpeg

Anyone know about any other categories it'll ID?
 

cateye

Ars Legatus Legionis
12,727
Moderator
This is not marijuana.
THAT MOST CERTAINLY IS THE DEVIL'S LETTUCE YOU FILTHY HIPPIE.

I want to say it works on a small set of physical locations as well, but I'm not sure what the trigger is (buildings? landforms? etc.)

As far as accuracy... yeah, it's a little hit or miss. I've found with plants it's reasonably accurate, getting at least close enough that using its identification as a starting point, Google can get you the rest of the way there. Pets, however... for some reason it thinks our Australian Labradoodle is a Golden Retriever (she looks nothing like a Golden). It correctly identifies our cat as a siamese, but not the correct sub-breed (Blue Point).
 

heySkippy

Ars Legatus Legionis
10,070
Subscriptor++
So, I found 3 more types of things it tries to ID.

First, a little icon that I'm guessing is supposed to be a book. It got this one hilariously wrong, though.

http://techquarium.com/gallery2z/d/7623 ... 53+PM.jpeg

Then, a little picture frame icon which, I guess, identifies a picture frame. Kind of weird that it drew a blank on the description, though, as all 3 people in the picture are featured prominently in my Photos library.

http://techquarium.com/gallery2z/d/7624 ... 02+PM.jpeg

And last, the location thing mentioned by cateye above is probably this. The weird thing about this is that it only appears on this one picture even though I took a half dozen shots of that sign. It has to have used the GPS information from the phone, there's no way in hell it knows where that is just based on the picture (it's not the Eiffel Tower, fer cry'n out loud) so why just that one picture and why bother at all?

http://techquarium.com/gallery2z/d/7624 ... 18+PM.jpeg
 

Arasirsul

Ars Tribunus Angusticlavius
6,449
Subscriptor++
Along the way I did find some instances where it's obviously wrong about plants and cats. I don't have any dog pictures and haven't found any other category that Photos will try to identify, but I assume this is just a beginning. I like it! In the long run this will be more useful to me than facial recognition.

Eventually, if it can ever get out of the "The best use for machine learning is comic relief" page.

This is how it classifies the 'dog' pictures in my library.

doggos.png


First? Yup, OK. Second, we're still pretty good here; she's got some lab mixed in there but she's a hound. It goes downhill quickly from there.
 

Entegy

Ars Legatus Legionis
18,133
I guess this kind of counts as a stupid Mac trick. And boy, do I really classify it as "stupid" because it really shouldn't be this way.

Read the how to page for Apple's MagSafe battery pack and you'll see that it has quietly released a firmware update to enable higher wattage charging from the battery pack. How do you get this update? Apparently, leave the pack attached to your iPhone for a week, or just plug it into a Mac for 5 minutes and silent processes will silently update the battery pack.

I imagine the missing info from that should be "recent Mac" because even though my iPhone on iOS 15.4.1 can sync to iTunes under High Sierra, this update never appeared.

I know the AirPods work the same way (just wait and eventually you get it) but it's really frustrating to not hae a way to initiate updates, or to never be informed of these kinds of updates that improve the accessory!

So, there you go. That's my trick. Can't update your Apple branded accessory? Plug it into your Mac, it may or may not update said accessory.
 
Shift-Control-Command-4 takes a screenshot, but COPIES IT TO THE CLIPBOARD instead of saving it to disk, so now you can just switch over to your Messages or Mail or whatever and just paste and send without having the crap cluttering up your filesystem somewhere.
Thanks, maxplanar, you've belatedly solved a problem that was bedeviling me early last week. I was having an e-mail exchange with ShipStation—Pay Pal's new pre-paid shipping label contractor—about the Customs Harmonized System code needed for creating labels for shipments to an Australian customer. I kept trying to make a paste-able screenshot—using Shift-Command-4—of the Customs declaration form I had generated for test purposes, but the screenshots weren't in the clipboard after the "camera click" sound. When I later minimized my Mac Mail window (I use side-by-side Firefox and Mac Mail windows on my 2011 27-inch LED Cinema Display), I found columns of .png screenshots on my desktop. I had used Mac Help from Firefox to find the proper keyboard combination, but it doesn't—at least in High Sierra—say anything about Shift-Control-Command-4 for putting the screenshot into the clipboard.

As a public service, I'll summarize what I eventually found out about Harmonized Systems codes. You must follow the first 4 digits (chapter and category) of the HS code with a decimal point followed by a 2-digit sub-category, or you'll confuse the heck out of foreign Customs clerks who won't recognize a 4 digit code as a legit HS code. My little legacy business sells guitar method books written by my late guitar teacher, for which the HS code then shown on ShipStation's HS code Info lookup was 4904 for "Music, printed or in manuscript, whether or not bound or illustrated". I entered 4904—without any trailing sub-category—for 3 separate packages shipped to a customer in the state of Western Australia, and tracking showed each of these packages was held up by Customs in Brisbane or Sydney for 8 days before being shipped onward to Perth. Customs in Sydney even sent one package on a round trip to JFK Airport in NYC, evidently for (non-existent) better Customs info. The ShipStation Info lookup now shows 4904.00, indicating a null sub-category. ShipStation's User Support didn't "have a clue", and lied.
 

JimCampbell

Ars Praefectus
3,336
Subscriptor
Shift-Control-Command-4 takes a screenshot, but COPIES IT TO THE CLIPBOARD instead of saving it to disk, so now you can just switch over to your Messages or Mail or whatever and just paste and send without having the crap cluttering up your filesystem somewhere.

Oh, that’s good — it’ll save me my weekly clear-out-all-the-screencaps routine.
 
  • Like
Reactions: pixelmonkey

maxplanar

Ars Centurion
207
Subscriptor++
Apple has been amazing at keeping these weird little keyboard shortcuts things exactly the same since the days of OS6.x, and I was sad when Apple finally got rid of Command-Shift-4 (or was it 5?), which used to send a screenshot directly to the printer. But, hey, such is life, and it wouldn't make sense now since we tend to want more granularity in our toolsets.
 

OSB

Ars Tribunus Militum
2,503
Subscriptor
Apple has been amazing at keeping these weird little keyboard shortcuts things exactly the same since the days of OS6.x, and I was sad when Apple finally got rid of Command-Shift-4 (or was it 5?), which used to send a screenshot directly to the printer. But, hey, such is life, and it wouldn't make sense now since we tend to want more granularity in our toolsets.

...and also because, like, printers?? ;)
 
  • Haha
Reactions: FoO

maxplanar

Ars Centurion
207
Subscriptor++
Apple has been amazing at keeping these weird little keyboard shortcuts things exactly the same since the days of OS6.x, and I was sad when Apple finally got rid of Command-Shift-4 (or was it 5?), which used to send a screenshot directly to the printer. But, hey, such is life, and it wouldn't make sense now since we tend to want more granularity in our toolsets.

...and also because, like, printers?? ;)

You're not wrong. Printers are the spawn of Satan.
 
One you're in Shift-Command-4 or Shift-Control-Command-4 (i.e., when the cursor is a reticle), if you hit space you can select a window and it will take a screenshot of just that window, with transparent background and drop shadow.

Yes, I found that out from Mac Help in High Sierra; that's what I was using repeatedly on my test Customs Declaration (addressed to the current business of one of the two Australians who were my direct bosses when I worked in Teaneck NJ 1999-2004) when I got the "camera clicks"—but nothing in the clipboard. I eventually found out from Mac Help about Apple's Grab utility, which gave me a .PDF—instead of a .PNG— on the desktop.

I have not yet attached this test .PDF in an e-mail to ShipStation, because I'm not sure whether their User Success Specialist Mia G. knows how to open an e-mail attachment. Kari G., the Mgr. User Support who is Mia G.'s boss, replied to my last e-mail to Mia G.
Regarding the request to reply to your emails and include a copy of your previous reply, I'm afraid that the software we utilize in order to reply to your requests does not allow for this option. I certainly apologize for that.
ShipStation is a software company with many "partners" besides PayPal; my impression is that they hire their User Success Specialists straight from the Midwestern cornfields and strictly choreograph their interactions.

Therefore I don't believe Mia G. when she wrote
I can confirm the system will not allow a harmonization code that is under 6 characters as it is a carrier requirement for the code to be 6-15 characters. After some testing on my side, I received an error message after entering 4904, as intended.

You can create a test label on your side and later void the label for a refund. It is important to test these features on your side to ensure you are no longer able to enter an HS code that is less than 6 characters and to see if the system will allow a code with decimal points.
For one thing, I had previously sent 3 packages to my customer in Western Australia, and the Harmonization code I entered was 4904. It's always possible that ShipStation's developers have very recently added an error message, but the requirement should be 713 characters—because the 5th through 7th characters should be a decimal point followed by a 2-digit sub-category such as .00 . For another thing, early on 22 May I received an unrelated order from a customer in Yorkshire UK; when I immediately ordered the pre-paid label through ShipStation's application, I successfully entered the Harmonization code 4904.00.00.00 to be on the safe side. That implies a test is no longer necessary.

I have not yet informed ShipStation that I created a label for this unrelated order, because of a discovered workflow that is unparalleled in my 40 years as a (now-retired) commercial applications programmer. When a label for an international order is created, ShipStation gives it a South Hackensack NJ address and a USPS tracking code—but prints a Customs tracking code and the order's ultimate destination at the bottom under "Electronic Customs Service" and the logo of sub-contractor GlobalPost. USPS tracking shows that GlobalPost picks up the package in South Hackensack and transports it to Lyndhurst NJ—where it prints a new label with the ultimate destination and Customs number and pastes it over the existing label. The package is then transported back to South Hackensack, and from there to JFK Airport in Queens NYC. :rolleyes: (For those of you unfamiliar with NYC-area geography, New Jersey is West of NYC's Hudson River boundary, but Queens is the farthest-East borough of NYC across a Long Island Bay estuary mis-named the East River.) I don't want ShipStation messing with the progress of this package until it has safely passed through UK Customs, because I think ShipStation's capable of interference merely to make me a liar.

Sorry for the digression in the preceding 3 paragraphs, but IMHO it's generally-useful public information. I'll drop the subject now, unless my latest package is rejected by UK Customs.

Edit: Clarifications in next-to-last paragraph.
 
DavidH, has anyone ever compared you to Gyles Brandreth before?
No, and being an American I had never heard of him. I can't tell from the Wikipedia article whether that's a compliment.

If it's a comment—complimentary or derisive—on my text style, I confess to having taken enthusiastically to semicolons and em-dashes after I encountered them in 8th grade (second form to Brits) English class. I'm trying unsuccessfully to kick the habit. Being a programmer for 40 years didn't help. ;)
 

xoa

Ars Legatus Legionis
12,364
Subscriptor++
I'm trying unsuccessfully to kick the habit. Being a programmer for 40 years didn't help. ;)
Hah! I'm American as well, but one of the very first long series I ever had read to me as a child and then reread myself starting in 7th grade or so was Patrick O'Brian's Aubrey–Maturin series of sea novels. We also had an active subscription to the Economist. Some of the British-isms have stuck with me like a bloody barnacle forevermore!
 

xoa

Ars Legatus Legionis
12,364
Subscriptor++
I was trying to give someone an easy way to get the full path to go directly to a folder/file on a network share, not just the server but also picking a share and then the rest. Then I found the Finder actually has this functionality built right in. If you click on foobar, the regular cmd-c is Copy "foobar", option-cmd-c is Copy "foobar" as Pathname which will then get you ie "/Volumes/ABC share/foobar", and then finally adding control for ctl-option-cmd-c gets Copy "foobar" as Link. That gets you a URL normalized (spaces to %20 etc) full link ala "smb://server-fqdn/ABC%20share/foobar". Handy for a number of things including stuff like Time Machine restores from network drives.
 

skazz

Ars Praefectus
5,418
Subscriptor++
An old trick but it still works. If you want more Windows-like mouse movement, you can completely disable mouse acceleration with:
Code:
defaults write -g com.apple.mouse.scaling -1
It's important to note that you need to restart for this to kick in. Also note that you have to redo this after using a Magic Mouse since the Magic Mouse sometimes overwrites this setting when you connect it (though weirdly, the Magic Mouse itself will work during that session without acceleration. it's just that the next time you go to restart your Mac there may be mouse acceleration again).

You can also disable trackpad acceleration by replacing "mouse" with "trackpad" but I wouldn't recommend it. Apple's trackpads without acceleration are very weird and overly sensitive the point of being almost unusable. It's very obvious they were designed to be used with the acceleration on.

I couldn't find anything which worked to do this, so ended up installing an ancient Steelseries application which overwrites mouse acceleration. Still works even on the M1 Mac in the latest macOS.
But on this subject, is there any way to change mouse scroll wheel acceleration/scaling without affecting the trackpad?
 

cateye

Ars Legatus Legionis
12,727
Moderator
But on this subject, is there any way to change mouse scroll wheel acceleration/scaling without affecting the trackpad?
Maybe overkill for just adjusting the scroll wheel curves, but I've used SteerMouse to control every possible facet of how my mice work for years. It's a great piece of software for absolute fine-grained control and well worth the nominal cost. It has a 30 day free trial.
 
  • Like
Reactions: MrKimo

Mordac

Ars Tribunus Militum
2,787
Subscriptor++
Renaming multiple files at once - select the files, then in a Finder window, look for „Rename“. Excellent and overlooked.

:eek: :eek: :eek:

OMG. I wish I'd known this 20 years ago.

I''m maybe having a slow brain day but if I select multiple files in finder where should I be looking for this rename?
 

JimCampbell

Ars Praefectus
3,336
Subscriptor
Renaming multiple files at once - select the files, then in a Finder window, look for „Rename“. Excellent and overlooked.

:eek: :eek: :eek:

OMG. I wish I'd known this 20 years ago.

I''m maybe having a slow brain day but if I select multiple files in finder where should I be looking for this rename?

Highlight all, right-click. It's just under 'Get Info'.
To be fair, that feature wasn’t always there! From what I can find, it was added in Yosemite, which came out in 2014. So you wouldn’t have been able to do it 20 years ago anyway :D