Open Text Field That Then Send Text to New Note Inside Notes App [SOLVED]

@iamdannywyatt How about this?

Catalina Quick Note.kmmacros (41 KB)

Macro screenshot

1 Like

Probably exactly as you think :slight_smile:
You open a note in a separate window. Then you close the main window of the app. Now you just have to add a shortcut to KM show/hide notes. This then only affects this window, whose location and size you can define. the cursor stays where it was last and you can continue writing directly. If you want, you can make it float, so you can also import something with drag and drop, for example from a browser.

It's getting pretty close :slight_smile:
I made some changes, for example I don't need a title, the body only is enough, so I removed some lines.

Now my report and requests:

  • When I click Cancel, even if I use your original macro, I get this:
    Screen Shot 2022-06-23 at 5.23.50 PM

When the window opens, the area is all selected like this:
Screen Shot 2022-06-23 at 5.27.05 PM

Can we make it like this instead (unselected)?
Screen Shot 2022-06-23 at 5.27.09 PM

This is obviously just a visual thing that, if easy to fix, then great. If not, no big deal. I just like seeing it unselected :slight_smile:
I tried adding a Keystroke to hit Delete, but that didn't work, even with a Pause Until action to see if there was an Ok button.

  • When creating the note, the format is set to a particular font: Menlo,sans-serif. I changed it to the font used by Notes, but I would like to see if we delete that info, if the app automatically formats the text like the other notes. How can we remove that info without showing errors? When it's the standard HTML and CSS I know how it works, but in this case, I can't figure it out.
  • Is it possible to make for example CMD+Enter activate the OK button instead of clicking with the mouse?
  • This line is not necessary, because the Notes folder is there by default. You can't delete it or rename it anyway:
	if not (folder "Notes" exists) then make new folder with properties {name:"Notes"}

Here's what I have so far:
Catalina Quick Note (DW) Macro (v10.0.2)
Catalina Quick Note (DW).kmmacros (38 KB)

Summary

Keyboard Maestro Export

Neil's macro is working for me and without all the other stuff in between. It's a cleaner solution :slight_smile:
Thanks for your help

Sure, Neil's macros are always very good :slight_smile:

1 Like

I think he's a KM geek who never leaves the house so he can learn everything about the app so he can then impress us all... haha
And it's been working for me anyway :wink:

I think he is a really nice person who loves to solve problems, even if they are not his own :slight_smile:

Ah, but the note app is open, did you notice that?

1 Like

Do you mean you don't need a title for the input window or for the resultant note?

Done.

No idea. I got as far as I got by using Google.

Done, in a hacky way, but done.

Good point.

Ouch. Too accurate.

Catalina Quick Note.kmmacros (81.7 KB)

Catalina Quick Note

Catalina Quick Note - (SUB!)

Made a small error with the βŒ˜β†΅ part. Fixed now.

It will leave it open if it found it open. If it wasn't running when the macro was triggered, it will be quit.

Sorry, no.

Even the most recent version? Check that the If/Else at the start and the quit action at the end are set to Notes.

But of course :slight_smile: I'm the same (when I have enough expertise in a particular field).
A forum is exactly that, people helping each other out, right?

It doesn't have to. I just tested with the app closed and it worked. It opens the app, but in the background. It didn't really get in the way

Resultant note, because whatever you type, the first line will always be the title so there's no need to have it repeated twice

I tried a different approach, was able to still post it, but the text was way too different so I will leave it like that.

It is what it is... embrace it! :slight_smile:

For some reason, it doesn't work for me... It deletes the text

I removed the first line of the body text to account for that so it shouldn't be repeating. At least it doesn't for me.

Re formatting, you might be able to figure something out from here: AppleScript: The Notes Application

Well I do leave the house. Now and then. :joy:

I'm not sure what you mean. As in it creates an empty note? Maybe try downloading again as I updated it a couple of times.

Hello Guys

I would go another route with the Dialog Window... I would either build that Dialog using Pashua from Carsten BlΓΌm (Application) or Dialog Toolkit Plus (ASObjC Library)

either of those will let you build a Single-Macro Solution...

Greetings from Germany

Tobias

Looking forward to seeing your updated version! :+1:t3:

The other version that I ended up modifying, worked as expected:
If the Notes app is running, it adds the note
If the Notes app is not running, it opens it in the background and creates the note.

I think some of the stuff you added is really not relevant, at least for my particular case, because it was working apart from the Cancel button error, the OK button (still not working) and the field being selected by default.

The cancel button is now fixed, the selected field as well. It's just the OK button.

Here's how it works for me 100%, apart from the OK button.
I don't understand why the macro would quit if the Notes app is not open...?
TEST GROUP Macros.kmmacros (77 KB)