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>

No comments: