Ask Different
launchd and macOS Sessions
A question asked about how a system wide daemon process could create a notification for a user on macOS. The answer is more complicated than you might expect.
Launching a graphical application as another user on macOS
A question was asked about how to launch a graphical application as another user on macOS.
Mac Apps Launching in the Background
An unexpected but consistent way to cause applications to launch in the background on macOS is to enable Secure Keyboard Entry in the Terminal application.
Fastest and safest way to copy a massive amount of data
remote sync, rsync
, is a reliable choice for copying large amounts of data. You can prepare the command and perform a dry-run before committing to the copy; add --dry-run
to simulate the copy.
Why are Script Editor .scpt files not saved as plain text files?
William R. Cook’s paper contains an excellent history and insight from those involved with AppleScript in 1989.
Ad-Hoc Code Signing a Mac Application
For third party applications and binaries that you compile yourself, and that require code signing, use an ad hoc code signature.
Ask Different
My contributions on Ask Different occasionally leads to people reaching out to me.