Hot Key to Open a Specific Apple Note?

There's also Hook app, has been mentioned here in the forum

Thanks I'll take a look at it.

1 Like

Hey Daron,

A working macro is leagues better than a non-existent or non-working elegant macro.  :wink:

But – for the exercise – let's try for more efficient anyway.

The AppleScript below does everything your macro does in one fell swoop.

I'll let you decide if it's elegant or not.  :sunglasses:


# Auth: Christopher Stone
# dCre: 2020/12/04 13:07
# dMod: 2020/12/04 13:07 
# Appl: Notes, System Events
# Task: Open and Float a Specific Note
# Libs: None
# Osax: None
# Tags: @Applescript, @Script, @Notes, @System_Events, @Open, @Float
# Reqs: Requires Mojave or later.
# Vers: 1.00

property noteName : "Blood Pressure Log"


tell application "Notes"
   set theNote to first note whose name is noteName
   show theNote
   my floatNote()
   close (windows whose name is not noteName)
   set bounds of window noteName to {720, 23, 1440, 900}
end tell

on floatNote()
   tell application "System Events"
      tell application process "Notes"
         tell menu bar 1
            tell menu bar item "Window"
               tell menu 1
                  tell menu item "Float Selected Note"
                     perform action "AXPress"
                  end tell
               end tell
            end tell
         end tell
      end tell
   end tell
end floatNote

Thanks Chris, that is a lot neater :slight_smile: Many thanks!

1 Like

Hey Jarrod,

Welcome to the forum!   :smile:

No!  :sunglasses:

At least not until you show us the AppleScript you're running and tell us which version of macOS you're running it on.


1 Like

made me laugh

@Jarrod_Job as cc says, it'd be faster to fix if we can see the code

1 Like

Although the 'linking to note' is already handled, I'll add a great tip I just picked up for future readers doing similar things. You can generate a unique URL for a note by sharing it. You don't have to actually send the sharing link to anyone, but you can then open it anywhere that takes a URL.

I use it to create links between notes - which makes way more powerful for me. (You can right-click on any link in notes to change its displayed name & hide the long URL.)

(as an aside, does anyone know a quicker way to get a sharing URL? the sharing dialog makes you send it somewhere, so i just send to myself)

here's a macro to open a note I just made, via its sharing URL.

Open Avi's note.kmmacros (1.2 KB)

edit: If you make your own macros to open individual notes, make your Open URL macro action use "Default Application", not the Notes app.

anyone know a quicker way to get a sharing URL

Are you using KM to automate part of the process?

I think your question might be good for a new topic

@ccstone thanks friends. I was able to find a simpler method to what I needed. But it went through this post to find it, so I am super grateful.

I will delete my post from above. <3


1 Like

What did you figure out?

Others might like to know.


I wasn’t accurate there. I put together a script that simply allows me to hot key into a specific note. Unsure if that would be helpful or not. If so, I’ll add to the thread.

F08 = Note A
F09 = Note B

What are you doing?

Just AppleScript and:

show theNoteRef

Or something else?


Tell application “Notes”
Show note “theNoteRef
End tell

1 Like

Those interested in this topic, might also find the following post useful: Float Selected Apple Note - Macro Library - Keyboard Maestro Discourse. It includes a Notes App AppleScript.


Here is what I use. The move and clicks use the "float this note in separate window" functionality. Works Great. You can download the macro below, and put in your own Note name. Also note for some reason I could note get the Float Window to function using a shortcut key and resorted to using move and click. Depending on your resolution, this may need tweaking on your side. Good luck! let me know if you can improve this.

Open a specific Note.kmmacros (8.7 KB)

1 Like

Thanks Avi. I'm really interested in this idea, but I can't get it to. work. My Notes don't share via email, that option is not in the list, and the options that are available just sent the text content of the note, not link to the dynamic note content.

Was there some other setup that you did to make this work? Which OS version? I'm on Mojave and I suspect that's the issue.

AH HA! It's not the Share menu. (Here's from the Notes Help:)

It's the Add People option.
I can click that button and, instead of sending email, there's an option to "Copy Link". I click that and I can paste the link directly into another note.


Thanks for sharing that. I'd like to try it. Could you please upload the macro for downloading? (Ask if you need help with that.)

P.S. Welcome to the KM Forum!

Thanks! I edited the original post to also include the Macro.

Thanks. Now I can try it.

For those "floating" Apple Notes...

Apple has changed the Notes menus in Ventura. I have shared two macros that accommodate this change.

  1. Float Specified Apple Notes

  2. New Apple Note

Both macros include a header comment stating the following:

Modified to accommodate macOS Ventura (v13.x). In this version the Notes app menu item Window>Float Selected Note was changed to Window>Open Note in New Window.