Category Archives: Apple

Watching the clock

I’ve written several times about my enthusiasm for the Apple Watch, but even eight years after getting my first one, I’m still discovering uses for it.

We’ve spent the last few nights in our campervan on a delightful small campsite in Devon.

Picture of campervan in a bucolic setting

There are loo and shower facilities in a nearby building but, unusually these days, you do need to insert a pound coin if you want to use the shower. It’s a fine shower, and I didn’t mind paying, but since the meter is outside in the corridor, you don’t get any warning before the water shuts off suddenly after six minutes, possibly leaving you rather soapy…

So even in this low-tech environment, where we treat an electricity supply as something of a luxury, there’s great benefit to be derived from a waterproof watch which can be instructed, with a couple of clicks or a spoken command, to warn you shortly before your shower is going to finish!

Q Tips

Some simple tricks for Mac users.  Do you know all of these?

 

Direct link

Standalone installers for macOS

This is one of those posts intended to help people Googling for the subject, and to help refresh my memory when I next have to use it!  Non-techie, and especially non-Mac readers, may wish to skip this one!

Monterey installer

Most of us upgrade our Mac operating systems using the automatic software update process which replaces the existing version on our internal hard disk with the next version.

But suppose you don’t want to install it on the same hard disk?  This can be desirable for a variety of reasons: you may want to test a new version before committing to it; you may prefer to keep the existing disk intact; you may wish to boot your machine from one drive when the kids are using it and keep a completely different world when you are using it for work.  I remember, a long time ago, when my laptop’s screen died, I was able to borrow a friend’s spare one and run it for a week using a clone of my hard disk on an external drive before handing it back to him completely unchanged.  (Thanks, John!)

Anyway, I was helping a friend last night who boots her elderly iMac from an external USB drive, because the internal one is dead and she’s not currently in a position to replace it.  I wanted to give her a nice, clean installation on another external disk to use in future, and for that we needed to install Monterey somewhere other than the place where it was currently running.  To do this, you need a standalone installer program, which you can run from your Applications folder and direct as to the installation location.

It’s not always easy to find the right place to download these from Apple’s site.  So here’s a tip I came across which worked nicely.  You need to type a couple of commands into the Terminal, but they’re easy ones.

softwareupdate --list-full-installers

This will give you the list of available installers suitable for your machine.  On my new MacBook Pro it currently looks like this:

$ softwareupdate --list-full-installers

Finding available software
Software Update found the following full installers:
* Title: macOS Ventura, Version: 13.2, Size: 12261428KiB, Build: 22D49
* Title: macOS Ventura, Version: 13.1, Size: 11931164KiB, Build: 22C65
* Title: macOS Ventura, Version: 13.0.1, Size: 11866460KiB, Build: 22A400
* Title: macOS Ventura, Version: 13.0, Size: 11866804KiB, Build: 22A380
* Title: macOS Monterey, Version: 12.6.3, Size: 12115350KiB, Build: 21G419
* Title: macOS Monterey, Version: 12.6.2, Size: 12104568KiB, Build: 21G320
* Title: macOS Monterey, Version: 12.6.1, Size: 12108491KiB, Build: 21G217

Then, once you’ve chosen your version, you run:

softwareupdate --fetch-full-installer --full-installer-version 12.6.3

where ‘12.6.3’ is the version you want.  After quite a while, you’ll find an app named something like ‘Install macOS Monterey’ in your Applications folder.  When you run this, it will think for quite a long time, and then give you various options, including the preferred destination drive for your installation.  

In my case, I had downloaded the installer onto one external drive, and then was installing the OS onto another, and both of these could be done without actually requiring my friend’s machine for which the new disk was intended.

Now, some things to note: 

  • First, pay attention to the sizes listed in the output of the first command.  Most of the recent OSes have installers of around 12GB, which means you don’t want to be on a slow or expensive connection, or in a hurry, to do this.  You also need to have sufficient space free on whichever drive you put the installer.
  • Second, note that the list you get shows the appropriate installers for the machine on which you’re running the command.  If your eventual target for the disk is a different machine, if may not have the same options.  In particular, you can’t do this on an Apple Silicon Mac to get an installer for an Intel one, but even within the Intel world, you need a machine of similar vintage.
  • Finally, when you come to run the installer, it will only do so if the OS is a valid one for the machine on which you’re running it.  So if, like me, you’re doing it on another machine, make sure they’re reasonably similar.  In my case, I knew that Monterey would run happily on both machines. When the installer finishes, the machine will reboot from the disk it’s just created, but you can just shut it down and move the disk to its actual destination.

Finally, if you are using an external drive for your OS, you should probably go into System Preferences > Security & Privacy > FileVault and enable encryption for the disk.  If somebody decides to pinch it, or just unplug it and connect it to another machine, they wan’t be able to get in without your password.

For me, it all worked beautifully, and my friend can now boot into her old world or her new clean one simply by shutting the machine down and swapping disks.

AirTags and Airplanes

I’m a big fan of my Apple AirTags. I have a few of them now, and they’ve been jolly useful on several occasions, enabling me to find things quickly that would otherwise have involved more time and stress, or to notice that something has been left behind and so recover it far sooner than would otherwise have been possible.

They’re very cunning devices. Tilly even has one on her collar now!

For those not familiar with the underlying technology, the general challenge with locating devices in the past has been that it typically involves two components: a GPS receiver (to find out where the item is), and a connection to the mobile phone network (to report that location to whomever may be looking for it). Both of these need significant battery power, so trackers have been bulky, required frequent recharging, and the phone connection generally implied a subscription. In the past, therefore, tracking has generally been reserved for valuable things which can carry big batteries, like cars, or like smartphones which happen already to have the necessary functions built-in and get recharged every night.

Since I have been known, just occasionally, to be a little absent-minded, I have made extensive use of Apple’s ‘Find my…’ system over the years to locate iPhones, iPads, even spouses. And before you scoff, I should mention that my knowledge of how to use it also once won me an enthusiastic embrace in the middle of a field from a rather beautiful young woman who was a complete stranger to me. So there! But that’s a story for another day…

Anyway, the AirTags have neither a GPS nor a big battery, and yet still manage to transmit their location back to you remarkably effectively in most circumstances. How do they do it? Well, they can be detected by any passing iPhone, and there are a billion of those moving around the world, so there’s a surprisingly good chance that if a human passes close to your lost bunch of keys, you’ll get to know about its location fairly soon.

The AirTags are also, I believe, the first large-scale deployment of UWB location technology, the details of which are beyond the scope of this post, but it basically means that if you have a recent iPhone, when you get really close to the Tag, you can be guided to it using a compass-needle-type display, in a way that would not be possible with something like Bluetooth alone. You can find out not just that your wallet is in this room, but that it’s behind this sofa cushion.

Still, my use of AirTags has been very practical and prosaic. Others have had more fun, and a YouTuber calling himself AirtagAlex has done some wonderful experiments over the last few months of mailing AirTags to different parts of the world and seeing the routes they took to reach their destination.

I rather liked his latest video, though, which explores one of those questions you might never have thought of asking in the past: what actually happens if you get on a plane and leave something in the pocket of the seat in front of you?

How to change the default RSS feed reader on your Mac

This is one of those ‘in case you’re Googling for it’ posts.

On the Mac, it’s pretty easy to change the default browser, the default email program, and the app that gets fired up when you double-click on a particular file type in the Finder.

But when you’re in Safari and you click on a link to an RSS Feed, what happens then?

In my case, it starts up ‘Reeder’; a fine app, but not one I currently use, having switched to News Explorer a few years back. At some point in the past, I must have registered Reeder as my default news feed app, though I can’t remember whether the app did it directly; or whether I used the facilities in earlier versions of MacOS or a third-party app to make the association.

So how could I tell Safari (and the Mac more generally) that I now wanted RSS and Atom feeds to be handled by a different app? It’s not exposed in the settings of Safari, and not available in System Preferences.

Well, there used to be a utility called RCDefaultApp, and if you search for solutions to this problem, you’ll find many references to it. Unfortunately, it doesn’t work in recent MacOS versions due to changes in the support for Objective-C — the language in which it was written.

All of which is background information to the fact that Gregorio Litenstein has created a handy new Preference pane that allows you to change these mappings. It’s written in the Swift language, and so is called SwiftDefaultApps.

If you have Homebrew installed, you can get it easily with

brew install --cask swiftdefaultappsprefpane

Otherwise, you can install it following instructions on the site.

It then appears at the bottom of System Preferences, and in my case:

  • I went into the Internet tab and changed the RSS setting to point to NewsExplorer, and then
  • I went into the URI Schemes tab, added an entry for ‘feed’, and set that to point to NewsExplorer.

Sure enough, when I now click on an RSS link, Safari asks if I want to open it in News Explorer, and all is well!

(Note that this is a system-wide setting, but other browsers may not use it; Firefox has its own way of setting up such apps, for example.)

Anyway, if you’re trying this, you probably want an RSS link to test it on, and you’ll find that there’s a convenient one at the top right of this page… 🙂

Accessoreyes

Today, for the first time ever, I’ve been wearing contact lenses. As a new user, I have to say, they’re a jolly impressive technology!

These are multifocal ones, which I hope may save me from the routine of putting on my reading glasses, taking them off, dropping them, picking them up, losing them, finding them, cleaning them etc, which I currently do several times an hour. We’ll see how well they work overall, but you know what was the very first benefit I noticed in the optician’s office? I could read my Apple Watch!

Such a cruel mistress is Fate, that the very moment that I was able to purchase this miracle of technology and strap it to my wrist was the same moment my eyesight deteriorated to the point where only things further away than the end of my arm could be viewed unaided. Since then, yes, I’ve been able to read big digits and press pause buttons, but most of the more detailed displays on the watch have had me reaching for my glasses, which does somewhat tarnish the high-tech coolness of it all. Sigh. Old computer-graphics geeks don’t die, they just lose their resolution.

Another problem I’d like to solve is that of seeing both my SatNav and the road. I don’t need glasses for driving. I do need them to read the dashboard. When I put them on, I can’t see the road. Ça, c’est un problême.

So is needing a spare hand for specs when I’m taking photos. I can use my camera’s viewfinder, which has a diopter correction, or the rear screen, which doesn’t. I often want to switch between these to get the best shot, but by the time I’m ready, the eagle has flown.

In a way, it would be easier if I needed to wear glasses all the time, rather then half the time. But my distance vision isn’t at all bad, and I tried varifocal glasses and they didn’t agree with me. So I hope these prove to be a success. My total contact-lens-wearing experience currently runs to about 6 hours, so it’s too early to say.

But they have at least allowed me to write this post without difficulty, and, perhaps more importantly, they have solved that problem whose critical importance for humans was first identified by Arthur Dent on a spaceship in the late seventies, and encountered by me in central Cambridge in 2015: “How am I going to operate my digital watch now?”

Printing a booklet on a Mac

I had a 47-page PDF document that I wanted to turn into a compact A5 booklet – you know, one of those things where you get out the big stapler and make something like this:

Unfortunately, you need to print page 39 on the same page as page 10, and then pages 40 and 9 on the other side, etc, and when you get to anything more than about 4 pages it’s hard and tedious to do this by hand and get it right. My HP printer driver had a ‘booklet’ facility, and it worked OK for 8 pages, but let me down when given any more.

Now, there are utilities you can buy which can do exactly this, but why would I spend a tenner or two when I could instead use a few otherwise lucrative working hours and build one myself?

So here’s my solution, which could be a lot tidier, but does the only tricky bit of the job: getting the pages in the right order. It’s an Automator script which you can run as a service: once installed, you can right-click on a PDF and select Services, and you should find a ‘Make Booklet PDF’ option. It produces a new PDF on your Desktop with appropriately shuffled pages. You can then just print that using Preview as follows:

  • Go into the Layout section of the Print dialog.
  • Select Two-Sided Printing
  • Set Pages per Sheet to ‘2’
  • Set the ‘Two-Sided’ option to ‘Short-Edge Binding’

Now, please note: You should understand how this works before trying it! It’s not complex, and I could have made it much prettier and self-explanatory, but I was using Automator, which is so far from a real programming language as to be frustrating. It does, however, have a few useful ways of manipulating PDFs without having to install anything else, and my script will at least prompt you with some of the following information when you run it.

(Note too that if you’re reading this in 2022 or later, you definitely want to continue on to read the updates at the bottom of the post!)

OK,

  • First, the number of pages in your starting PDF must be a multiple of 4. Fortunately, you can easily append blank pages in Preview if needed. Select the last page and choose ‘Edit > Insert > Blank Page’ as often as needed and then save. The script will warn you if your page count isn’t right.

  • Then when you run the script, it will create a folder called ‘booklet-pages’ on your desktop. In here, it will create one PDF for each page of your document.

  • Finally, it will work out what order these pages should be in, and create a new ‘booklet.pdf’ on your desktop with the pages reassembled in that order.

  • You can then delete the ‘booklet-pages’ folder.

So, here’s a zip file containing the Automator script. You should be able to double-click it and open it in Automator if you want to see what’s inside, but I think if you put it into your ~/Library/Services folder within your home directory, it will probably just appear as a service if you right-click on a PDF file in the Finder.

Make Booklet PDF on desktop.zip (for pre-Monterey Macs)

Hope it’s useful to someone! Sorry I can’t provide any support if you try it, but recommendations and improvements are welcome from anybody with more Automator stamina than me! All I can say is that it works nicely on my Mac running High Sierra (10.13.6).

Some updates: please read these when you’ve read all of the above

Update:

If you’re doing this kind of thing, you may also like a video of MacOS PDF tips and tricks, which I made back in 2016 but which people still say they find useful.

Update April 2022:

MacOS version 12.3 and onwards doesn’t include Python 2, on which this script depended, and, while it does include Python 3, Apple haven’t updated Automator to make the switch quite as trivial as it should be! However, I’ve created an updated version which works on my Mac; I hope somebody can confirm that it works for them too! (See below.)

Update June 2022

The new version of the ZIP file below tries harder to find a copy of Python 3 on your computer.

For MacOS 12.3 and later:

  • Download this ZIP file: Make booklet PDF on desktop – 2022b.zip.
  • Your browser may uncompress this for you; if not, then double-click on the ZIP file to reveal the ‘Make booklet PDF on desktop’ workflow inside.
  • Double-click on this and you should be asked if you want to install it as a ‘Quick action’
  • This will then be copied into your ~/Library/Services folder as mentioned above, and you should find it in the ‘Quick actions’ submenu if you right-click on a PDF.

Update Sept 2023

Some people were seeing a final PDF that was blurry. I’ve changed the way the individual pages are combined back into a single PDF, which should fix this. It works on my Mac running Ventura 13.5.

For MacOS 13 and later:

Maccents

Having recently come back from France, I’ve been typing a lot more characters with accents on them than I usually do! For common European accents, this is really easy to do on the Mac, but I confess that, for many years, I didn’t know the trick until a friend showed me.

So in case you’re of the anglophone persuasion and you’ve missed it too, let me enlighten you: all you have to do is hold down the appropriate key on the keyboard, and a little menu pops up; you can select the variant you want by clicking on it, or by typing the associated number.

Adding custom ringtones to your iPhone using iTunes

In case you’re Googling for it, or in case I forget how to do it…

If you search online, you can can find various articles about how to take an MP3 or AAC audio file and make a .M4R-format file which an iOS device can then use as a ringtone. I’ve had a bit of Gilbert & Sullivan as mine for years, and have probably infuriated and/or amused those around me in equal measure when my phone starts announcing that I am the Captain of the Pinafore…

I lost this, though, in a recent wipe and re-install of my phone, after which I discovered that iTunes no longer makes it at all obvious how to put these custom ringtones onto your device. It’s easy if you buy them on the iTunes store, of course, but otherwise no amount of dragging and dropping would get my old favourites into iTunes or onto my phone.

But it turns out that there is still a way, and it’s documented some way down on this Apple page. As a quick summary:

  • Connect your phone to your computer, so it appears in the sidebar of your iTunes
  • Go and find your ringtone(s) in the Finder or Windows Explorer and COPY them.
  • Select the ‘Tones’ section of your device in iTunes and PASTE.

This works fine for me in iTunes 12.7 – no dragging and dropping needed. You should then see your ringtones, and be able to choose them in Settings > Sounds on the iPhone.

Setting non-standard screen resolutions on a Mac

I wrote about this a few years ago but it’s still a handy and not-very-well-known hidden feature of the Mac’s System Preferences.

NOTE that on some Macs, especially recent Mac Book Pros, this only works if you have external displays attached.

Money-changing

I was delighted to see, this morning, that my local supermarket, Waitrose, has effectively abolished the transaction limit on Apple Pay & Android Pay. It’s now £10,000, and even with my fondness for some of their products, it’s hard to imagine hitting that limit even on Ben & Jerry’s Chocolate Fudge Brownie ice cream. So today, I paid for our weekly shop with my Apple Watch.

In fact, I pay for most things with my watch, now, when I’m out and about. (I could also use my phone, but that would be like the old-fashioned systems where you had to take something out of your pocket to make a payment.) Since I only really buy clothes about once a year, and I buy almost everything else on Amazon, there are remarkably few occasions when I need to use a physical card any more. (Cash, of course, is long gone: coins are mostly something I keep in the car as a kind of parking-meter token.) I even have an electric car, so I don’t need to buy petrol.

The only places, therefore, where I still regularly used a card + PIN instead of the more modern electronic payment systems (which have hitherto been limited to £30) were when eating out, and when grocery shopping. The latter went away this morning.

If the pubs and restaurants of Great Britain get their act together soon, my wallet will soon be completely redundant, and I will be delighted.

PDF Tips and Tricks for Mac Users

My latest little screencast shows some of the things you might not have discovered in the Preview app on the Mac.

Also available on Vimeo here.

© Copyright Quentin Stafford-Fraser