Showing posts with label macOS. Show all posts
Showing posts with label macOS. Show all posts

Sunday, July 20, 2025

Tip: Let your ai tell you what's new and novel in an iOS or macOS release

I like to wait a month (iOS) or six months (macOS) before applying major updates. By the time I apply them all the useful tips and tricks I read along the way are ancient history.

Instead of trying to keep track of these things before the OS is installed wait until you are ready to pull the trigger. Then ask your ($20/m) ai to summarize known issues and interesting new features, tips and tricks. You can provide context as needed (ex: I am an expert user, etc).

PS. Apple got away from providing PDF versions of manuals and user guides -- but if they still did that I'd drop the PDFs into my Perplexity macOS Space.

Wednesday, July 16, 2025

New lessons on macOS network home backup: WiFi issues and so many bugs

Recently we had a flurry of home computing issues. They feel typical of our time where multiple bugs interact across multiple environments.

In this case there were 3-4 different bugs and failures that impacted our home network and especially backup. The lessons learned were not in my ai responses so they seem worth sharing. The interacting bugs included:
  1. Apple hardware bugs in the M1 Air that can make the Air WiFi unreliable. (Could be drivers/software but persistence suggests either a very hard problem or hardware with possible software mitigation.)
  2. The odd behavior of Eero wifi
  3. Bugs and limitations in macOS SMB networking and in HPFS mean network share filesystems can be corrupted beyond repair.
  4. A completely unrelated red herring that turned out to be due to CenturyLink's parent org messing up their DNS configuration.
Such is the nature of our times, where complexity and unsustainable share prices combine to decrease reliability of core systems.

At the core was WiFi instability. Our M1 Air WiFi was constantly fluctuating, leading to constant disconnects. I knew there was something wrong as Carbon Copy Cloner would quite often warn that a backup was being transiently disrupted by the network share disappearing. The very frequent write/read failures presumably led to the HPFS hard drive file system corruption. I had to diagnoses and fix the drive connection before focusing on the underlying WiFi issue.

Things I am doing differently now:
  1. Reconfigured physical layout of our Eero base stations so there was a direct "line of sight" short distance between the M1 Air dock location and the Eero base station. The M1 Air needs a much stronger than usual WiFi connection to be stable. The new configuration also offloads some traffic from an overloaded Eero device.
  2. We use a Synology Time Machine server as a secondary (not robust) backup. That backup was also corrupted (happens normally anyway -- because bugs, but WiFi issues sped it up). At least in Sequoia if you remove a Synology TM backup destination and then add it back there's an option to replace the original. This is faster than wiping it from the Synology side.
  3. I used advanced preferences so Carbon Copy Cloner will dismount the network share after a clone/backup is compete. The less that share is open the better because it's hosted from a MacBook Pro that can be disconnected from the network, and macOS/SMB does not handle that disconnect gracefully.
  4. I had configured a user quota for one of our machines that had become too small. Time Machine should have provided guidance about capacity but did not do so in a useful way.
Related

Tuesday, June 24, 2025

Create a macOS desktop shortcut (.inetloc) that deep links to a specific note in Notes.app

Writing this up quickly, I might get back to it later.

I want to have a shortcut to a specific macOS Notes.app note that I can put in a folder.

1. In the note I want to link to hit ⌘K. Search on name of the current note.

2. Do NOT use the note title option. Unclick that and provide your own title. Create link in note.

3. A link is created in the note. Click on that that and then drag it to the desktop. An inetloc file with a deep link is created.

This is what the .inetloc shortcut has in it:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>URL</key>

<string>applenotes:note/fcbf1ab3-4779-49d5-b12f-ab33e9809113?ownerIdentifier=_5e4c6731f56ce6c061ce7014d9bc1b2a</string>

</dict>

</plist>

Thursday, May 08, 2025

Word Services in macOS Sequoia: reenabling after migration

When I migrated from Mojave to Sequoia (with a pause at Monterey I think) I lost the word services I liked. Today I finally investigated and figured out they came from DevonThink's free WordService "app". During the migration they were disabled, so I had to relearn how they work (macOS needs AI for searches of system settings -- because obviously Apple will never do the obvious fixes):

Now go into System Settings > Keyboard > Keyboard Shortcuts > Services > Text and you’ll see several services prefixed with WordService. Enable the ones you’re interested in, e.g., WordService: All Caps. If it’s a command you think you’d use often, you may want to assign a hotkey. Double-click the shortcut field to the right and enter a shortcut for the desired service.

I had to reenable my preferred services. Some of them don't seem to work now but most do. They are big timesavers for me. Reformat is particularly appreciated. From the help file:

A combination of Trim Lines, Remove Line Endings, Remove Multiple Spaces and Remove Quotes preserving paragraphs.

Devon Technologies has several free and valued utilities. I use EasyFind and WordService.

Monday, April 21, 2025

Managing the incredibly annoying Apple Wallet notifications on Sequoia

I loathe Apple's notifications center on macOS. The notifications constantly get in the way of my work, and the most unstoppable ones are related to Daily Cash and Apple Wallet transactions.

The UI to manage these are obscure.  I'll update this post as a I learn more. (I wouldn't mind macOS Notifications if I could see them only when I clicked on something, the current overlay behavior is infuriating.)
  1. On macOS Sequoia: 
    • go to Notifications:Wallet and turn off "allow Notifications"
    • Notifications:Notification Center: turn off "Allow notifications from iPhone" (I turned everything off)
  2. On iOS (iPhone)
    • For each card in Wallet tap on ellipsis and turn off Notifications
    • Notifications:Notification Center: Change Display to "Count" (I made the all the Notification options as restricted as possible).
    • Notifications:Wallet: turn off "Show on Mac".
I'm hoping the above will finally kill Notification Center pop-up notifications on macOS (a typically incompetent Apple UI fail) and the endless Cash/Wallet notifications. Once I get this under control (if that's possible) I will carefully liberalize some of the restrictions starting on the iPhone.

Apple is such a fail whale now.

Thursday, March 13, 2025

RIP Simplenote -- data freedom and the painless plaintext migration to Notes

[UPDATE: Simplenote tech support is working on a fix for the bug that manifested with 15.3.1. I have migrated for several reasons so I will stay with Notes. Which has an annoying migration bug with incorrect style assignment by the way.]

Fifteen years ago Simplenote freed me from Outlook Notes. It was one of the last steps in a long and remarkably painful migration from PalmOS to iOS. [1] Prior to that, in 2008 my Palm Notes moved to Toodledo Notebook.

I considered Evernote at the time, but by 2010 I'd learned about data lock and data freedom. I didn't see an easy migration path from Evernote to anything else. Even then I feared products I could not easily leave. 

In those days Simplenote didn't have an export facility, but it would sync with Notational Velocity and that stored plain text notes in the file system. They were indexed by Spotlight (when it worked) and even by them there were products that would import those plaintext notes. At worse I would have them in the file system. So Simplenote was my choice.

Later Simplenote introduced support for RTF but I stayed with plaintext. Data portability was the key.

Over time macOS Notes slowly, very slowly, improved. It added import facilities (but not export [3]!). Sync worked, more or less [2]. Meanwhile Simplenote kept working, but their business failed and Automattic bought them -- and kept it running without a business model. But it still worked and I knew there was an exit strategy.

Then yesterday Simplenote's macOS client started crashing for me on Sequoia 15.3.1. I would click on a note and the app would through an exception. 100% of the time. It worked on web and iOS. I tried logging out, deleting their Application Support folder, and a few other measures. Nothing worked. There's no email support or way to submit bugs. They had a forum but it was little used. I learned that the web version no longer supported my Simplenote credentials, instead authentication required mailing me an email code. I'm guessing, in the absence of useful documentation, that I needed to create an Wordpress.com account with the same email address and maybe I'd get access to my notes. I also fond the web app wouldn't work in Safari (redirect to Simplenote app I think). 

There were other "red flags", like some erratic behavior by Automattic's CEO, that told me the time had come to leave Simplenote after 15 years of great service for essentially no money (I paid back when  you could still do that).

So I got Simplenote's web app working, exported all my notes (still plaintext) as text files, then imported them into Sequoia's Notes app. All 954 notes showed up in the "On My Mac folder" after import. It seemed to take a minute or two for Notes to digest them, but after that I could drag and drop the files into the iCloud notes folder. After a few seconds they appeared there.

I did run into one bug - incorrect Style applied to Note on import. The imported notes appear with Helvetic Regular 10.3 font in Sequoia Notes with the "Body" Style checked in the UI. They are a bit hard to read my Air, but impossible to read on my iPhone.

This isn't the Body style! Despite these being plaintext notes the import tool assigned them an odd style and mislabeled it as "Body". If you use the "Remove Style" option or assign "Body" they revert to the correct default font (System Font,  Regular, 13). In practice this is only annoying and when I use a Note I just fix the style as desired. One day I might see if I can automate removing the bad style [4]. (I "submitted" the bug via an Apple Discussion post, which at least gets indexed and AI accessed.)

One nice surprise about the migration is that the export process set "data last modified" in Finder metadata to the date the note was last modified. And on import Notes set it's date modified to the Finder value! One of my oldest notes kept it's modified date of 3/9/2010 (it's actually much older but got that data during a 2010 migration). I did not expect that nice detail.

I may run into other bugs, but for now this was the easiest data migration I've ever done. Praise be to Data Freedom and plaintext!

I'm sad to leave Simplenote; if they had had a subscription plan I'd have paid for the service. It was a great product that worked well for 15 years. AND they had a decent export capability. Thanks to all who made Simplenote work. I will remember it fondly.

- fn -

[1] Few remember, but it took several years for iOS to be as useful as PalmOS had been. There was a gap between PalmOS dying and iOS being functional where I went back to paper for several tasks.)

[2] It's possible to create version conflicts in Notes where the conflict notes stop syncing. There's no error message and sometimes they sort-of merge. We live in fallen times.

[3] There are 3rd party solutions and Shortcut/Automator solutions. Not ideal, but in 2025 we don't get ideal any more.

[4] There's no AppleScript or Automator/Shortcut for changing the formatting or style of text in a note that I found or that Perplexity knows about. I was able to create a script for Keyboard Maestro that lets me remove the style on a selected note with a shortcut keystroke. Of course that does set modified date to today, so keeping the old modified date ends up being a transient benefit.

Sunday, January 19, 2025

Creating a macOS Spotlight indexed archive of completed tasks and notes: Microsoft To Do via Outlook.com PDF

I like having local Spotlight indexed "standard" file format archives of completed tasks and calendar items. This is not a popular feature for most people so it's not widely supported. Today I found that this is possible with Microsoft To Do [1] (which replaced old Outlook Tasks).

Microsoft's free To Do.app for macOS has a web store that is shared with Outlook.com (and with Outlook for macOS, but I did not want to install that even though I have a 365 family account).

To Do has no print or archive facility. However Outlook.com does and it shares the To Do sync data. (I think Outlook.com is free for anyone who has a Microsoft ID.)

So:

  1. Go to outlook.com and open task list (same Microsoft ID as To Do)
  2. View All or Completed or whatever list and click ellipsis to see print
  3. When Print choose to include notes. 

I get a multi-MB decently formatted PDF that Spotlight indexes for me.

In the general Outlook.com view has print capabilities the To Do app lacks.

[1] To Do is the only Microsoft product I routinely used. They bought it from somebody a decade or so ago. I could now switch to macOS Reminders but I find it oddly useful to keep Reminders as an aide to my declining short term memory and use To Do for small projects, shopping and so on. I put quite a bit of information in To Do notes and often find value in looking it up.

Sunday, November 24, 2024

Copying a calculated cell from Numbers into Pages - two workarounds and Apple's Copy Snapshot answer

You can't copy a Numbers calculated cell, like one formed by concatenating strings in other cells, into Pages. The formula is pasted instead, typically with an error icon (absent references). It's apparently been a problem for all eternity, though I just ran into it recently.

What about Cmd-Opt-Shift-V?

This pastes without table formatting but Numbers will still put the formulae on the clipboard and the paste will show broken references. Unless you use the Copy Snapshot feature below, then it does nothing.

There are three workarounds I've learned:

Simple

Paste into something like Notes.app or TextEdit.app or pretty much anything but Pages. Then copy/paste that into Pages.

Better

If you create a Sheet that directly references a calculated cell you will be able to paste that into Pages. Numbers doesn't hunt for the formulae, it just puts the calculated cell value on the clipboard. (Thanks Ben O'Matic for the tip!)

Best - Apple actually fixed this

If you choose "Copy Snapshot" in Numbers (it's up on the File menu you and I never look at) it will copy the values, not the formulae. It will paste as a table in Numbers. There's actually documentation of this, but the AIs and Google couldn't find it -- until I figured it out. (How did I figure it out? I realized what Apple needed to do and then it occurred to me that maybe they had done it.)

What should Apple do?

I only found "Copy Snapshot" after I wondered how Apple could fix this. So it could be a bit easier to discover. Something like:
  1. Make the "Copy Snapshot" behavior the default Copy behavior and fix the Cmd-Opt-Shift-V shortcut.
  2. Make the current behavior a separate item (opt-copy?) called something like "Copy Dynamic".

Thursday, November 21, 2024

Stop the stupid: Disabling Microsoft AutoUpdate on macOS as of Nov 2024

Microsoft AutoUpdate is painfully stupid. It makes my teeth hurt stupid.

No matter what setting I use, even after I tell it to "just update everything, I don't care, go away" it launches 100 times a day (ok, at least once, maybe more than that) and leaves an ugly notification window on top of my desktop. Invariably over something I need to get at.

The click to dismiss it is causing me great emotional pain.

I asked Perplexity how to get rid of it and it did as well as Google -- it gave me answers that ought to work but don't. We all know why that is.

This has worked for me.
  1. Go to '/Library/Application Support/Microsoft/MAU2.0'
  2. Cmd-drag Microsoft AutoUpdate.app to desktop.
  3. Create alias of MAU2.0 folder on desktop.
MAU will stop notifications. Every month or so (yearly?) I drag it into the folder, run update, then drag it out.

Sooner or later Microsoft might make MAU less stupid. My theory is MSFT devs / contractors hate Microsoft Office and want it to die faster.

Saturday, July 13, 2024

End of software support for the Fujitsu (Ricoh, PFU) ix500 document scanner

Many years ago I bought a (then) Fujitsu ScanSnap ix500 document scanner. The hardware has been superb but the MacOS desktop software was always ugly and awkward. Infamously there's no API for a third party to use and no standards support. The current version of the desktop software allows only one active WiFi desktop client to protect revenue on their business line.

In contrast to the desktop app the simple iOS app, ScanSnap.app [ScanSnap Connect Application], worked well for me. It was even multi-user -- anyone could scan from their iPhone.

As of 7/2024 the ix500 still works with a single macOS device by cable or WiFi using the current desktop app. The iOS app is end of life however. A year ago it dropped Google Drive support. A few days ago OneDrive auto-upload started to crash the app following upload (it freezes, needs force quit, the document is lost).

The replacement for [ScanSnap Connect Application] is ScanSnap Home. That app does not support the ix500; it will not connect via WiFi. There is also an end-of-life ScanSnap Cloud app that uses PFU's crazy (failed?) cloud document routing service. I did not test that app.

For now we will probably switch our ix500 to a wired machine connection; I have a de facto home server that will work for that.

I'm playing around with iOS ScanSnap.app to see what still works after disabling OneDrive Auto Upload:

  1. If you preview a PDF doc it can be sent to OneDrive from preview without a crash.
  2. If you tap on the ellipsis next to a File you can AirDrop or otherwise move it about in iOS Files. 
  3. If you use the ScanSnap Edit function, select documents, then choose "Save to the Files app" the documents in <On My iPhone / ScanSnap / ScanSnap / .Files> [1] are copied to <On My iPhone / ScanSnap / ScanSnap> and from there can be manipulated using Files.
I'll update if a learn more. ScanSnap Connect Application was last updated 2m ago but I'm pretty sure it worked until 2w ago. I'm guessing something changed in OneDrive recently. Perhaps it will start working again someday -- like Apple Aperture's peculiar and transient Ventura M1 resurrection.

PS. I have never had Apple's scripting/automation software be useful for anything I really needed it for. It would be nice if there was a way to use it to move things from .Files to somewhere useful but I'd be shocked if that were possible.

Wednesday, May 01, 2024

The modest changes that would make macOS Photos.app a good app

I've submitted all of these as feature requests to Apple. If you like them please submit too, because we got nothing else.
  1. For any photo show list of albums that hold it. The UI for Contact/Folder relationships would do.
  2. Include Folder name matches in search results.
  3. Port Photos.iOS feature that shows geo view of images for an album to Photos.mac
  4. Provide a list view of images with metadata
  5. When exporting images also export metadata (ideally in image header, otherwise XMP sidecar
There's a few more I need to add but I'll remember them as I work/curse Photos.app.

Not a modest change but great benefits for customers - extend PhotoKit so third parties can fill gaps better.

Wednesday, February 14, 2024

AppleScript to very slowly list the albums a macOS Photos.app image is associated with

macOS Photos.app does not give users a way to identify which albums contain a selected photo. I found a relatively current AppleScript that works in Ventura; in our broken world there's no repository for these things so I've copied it below. You can select a photos then run the script in ScriptEditor or Export as application and run after selecting an image. On a 2023 Air with a large complex library it takes about 40 seconds to show results.

If you wish you can wrap the AppleScript in a Shortcuts.app Shortcut and from there configure it to show in the Ventura Services menu (all shortcuts can appear there).
 
Please submit a feedback request to Apple. Obviously Photos.app should support this function. Sadly, I suspect Apple goes by its usage data and has learned that most users of Photos do not use or create Albums -- or add any kind of metadata to images. So it will probably never be fixed.

Source: https://discussions.apple.com/docs/DOC-250005659
Author: Jacques Rioux, leonie

-- Jacques Rioux's script  https://discussions.apple.com/message/29601534#29601534

-- modified by leonie for Catalina

--  version 1.01, changed a dialog to a notification

-- version 2, added the support to suppress smart albums


-- Select the photo in Photos, then run this script 

-- by pressing the "Run" button in the script editor 

-- or run it from the scripts menu.

-- The script will show first a panel with the filename of the photo it is searching for.

-- Then it will show a second panel with the list of albums. 

-- if you do not see the panels, click the script Editor icon in the Dock, if it is bouncing.


global allalbums -- the list of all albums

global allfolders -- the list of all folders



set NoSmartAlbums to true -- set this to false, if you want to find the smart albums too


--part 1. get the selected photos

tell application "Photos"

activate

-- Add the photo you want to search for to a top level album as the first item in the album

set resultcaption to "Searching for: "

try

set sel to selection

if sel is {} then error "The selection  is empty" -- no selection 

on error errTexttwo number errNumtwo

display dialog "No photos selected " & errNumtwo & return & errTexttwo

return

end try

set imagename to "unknown filename"

try

set target to item 1 of sel -- the image to seach for

tell target

set imagename to the filename of target

end tell

on error errTexttwo number errNumtwo

display dialog "Cannot get the filename of the first image: " & errNumtwo & return & errTexttwo

end try

set resultcaption to (resultcaption & imagename)

end tell



display notification resultcaption subtitle imagename


-- Part 2: get a list of all albums by searching the nested folders

set allfolders to {}

set allalbums to {}



tell application "Photos"

set allalbums to the albums --  collect all albums

set allfoldernames to {}

set allalbumnames to {}

set level to 0 -- nesting level of folders

set nextlevelFolders to the folders

set currentLevelFolders to {}

repeat while (nextlevelFolders is not {})

set currentLevelFolders to nextlevelFolders

set nextlevelFolders to {}

repeat with fi in currentLevelFolders

tell fi

set ffolders to its folders

set falbums to its albums

set nextlevelFolders to ffolders & nextlevelFolders

set allalbums to falbums & allalbums

end tell

end repeat

set allfolders to currentLevelFolders & allfolders

set level to level + 1

end repeat

-- return allalbums --test

end tell


-- removing albums with "smart" in the name

if NoSmartAlbums then

set without_smart_Albums to {}

repeat with a in allalbums

if (the name of a does not contain "smart") then set without_smart_Albums to {a} & without_smart_Albums

end repeat

set allalbums to without_smart_Albums -- to exclude smart albums 

end if


-- From Jacques Rioux's script:

tell application "Photos"

if sel is {} then return -- no selection 

try

set thisId to id of item 1 of sel

on error errText number errNum

display dialog "Error: cannot get the image ID" & errNum & return & errText & "Trying again"

try

delay 1

set thisId to id of item 1 of sel

on error errTexttwo number errNumtwo

display dialog "Skipping image due to repeated error: " & errNumtwo & return & errTexttwo

error "giving up"

return

end try --second attempt

end try

set theseNames to {}

repeat with a in allalbums

try

tell a

if ((the id of media items) contains thisId) then

set theseNames to {the name of a} & theseNames

end if

end tell

--set theseNames to name of (albums whose id of media items contains thisId)

on error errText number errNum

display dialog "Error: cannot get the albums" & errNum & return & errText & "Trying again"

try

delay 1

tell a

if ((the id of media items) contains thisId) then

set theseNames to {the name of a} & theseNames

end if

end tell

on error errTexttwo number errNumtwo

display dialog "Skipping image due to repeated error: " & errNumtwo & return & errTexttwo

error "giving up"

return

end try

end try

end repeat

end tell


if theseNames is not {} then

set {oTid, text item delimiters} to {text item delimiters, return}

set {t, text item delimiters} to {theseNames as string, oTid}

-- return oTid

else

set t to "No album"

end if

activate


set resultcaption to resultcaption & ", found it in these albums:

" & t as string

set the clipboard to resultcaption

display notification resultcaption subtitle "Saved to the Clipboard"


display dialog resultcaption & ", Saved to the Clipboard" buttons {"OK"} default button "OK"

-- you can press the Enter key or the return Key to close the dialog

return resultcaption -- léonie