AUTHOR'S NOTE – 2022-01-04 – THIS MACRO WAS SUPERSEDED
I've contributed a similar macro that is considerably more flexible. Refer to:
This macro will open the Apple Notes app and float a selected note. Thus it provides a convenient method to access frequently used notes.
local_Favorite_Folders_Titles : This multiple-line variable is in the format (for each line):
Notes App Folder:::Note Title Substring
Three consecutive colons (:::) should be used to delimit the Notes App Folders and Note Title Substrings (both case-insensitive).
The Notes App Folder (and delimiter) can be excluded on the lines, however, the search will be faster if a note is within a folder and a folder is specified.
The macro will generate a Prompt With List that includes all of the specified Note Title Substrings. The selected note will then be floated.
If local_Favorite_Folders_Titles includes only one line, the Prompt With List will be skipped and the specified note will be immediately floated.
This macro includes an AppleScript which was derived from a template created by @JMichaelTX and shared: What is Best Practice for Handling Script Errors in Execute Script Action?
• Monterey, v12.0.1
• Keyboard Maestro, v10.0.2
1.0 - Initial version
DOWNLOAD Macro File:
Float Selected Apple Note.kmmacros (44 KB)
Note: This macro was uploaded in a DISABLED state. It must be ENABLED before it can be run. If it does not trigger, the macro group might also need to be ENABLED.