I did. I downloaded the latest version. Check the one I just shared. If you can, make change on that one, because it's already stripped down to the only stuff I need and with the font. I mean, you can update the one you shared of course, but I'm just saying, if you can use that as a template for my current scenario, that would make it easier to test
The version you uploaded works 100% for me, including launching Notes if not running and triggering the "OK" button by keystroke (using either ⌘-Return or ⌘-Enter). What it doesn't like is the "OK" button being clicked -- in that case, the sub-macro doesn't terminate.
So I'm wondering if the sub-macro got left running, which confused things the next time you tried to run the main macro. @noisneil?
Edit to add: Also, IMO, a good example why you shouldn't break HI Guidelines. Default button should be triggered by the Return key, so either use Shift-Return for line breaks in the text field or do away with the default button entirely -- you can still get from text field to adding the note by doing ⌘-Return, Space. Either does away with the sub-macro entirely. I do like your workround, @noisneil, but I think it's going to lead to problems in general use...
For some reason, the CMD+Enter doesn't work at all. I just replaced that with the Click at Found Image and it's working.
The only issue now @noisneil is that the SUB macro keep running. I tried adding a Cancel This Macro at the end of each macro, but no luck. Any other approach to this? We are getting closer
Nope... I even disabled all my groups except for the Global Macro Group that can't be disabled, and you Test Group.
Here's the thing: if you run your macro and hit TAB, does it go to the Cancel button and if you click Tab again, does it go to OK? Because mine doesn't. Maybe that's the issue. When I hit tab, it just highlights the text area, regardless of how many times I click.
But as I said, I'm using the Click at Found Image and it's working.
Here's my final version. For those interested in using it while using Catalina (which could be the issue with the CMD+Enter not working) - Macro by @noisneil: New Quick Note.kmmacros (59 KB)
Another version (that's not working for me, but it is for other users using Monterey, for example):
Thanks for sharing.
The macro @noisneil created is doing the job for me, 100% accurately
Maybe yours can be helpful to other people with other goals, since I don't really need the note to open after I create it, for example.
Maybe. The tab is not set as trigger anywhere. If it was, then when I hit it while the new note window is open, it would trigger whatever macro is set to use Tab as trigger, which is not the case.
That's the thing, it does cancel. That's probably another OS difference. I tested it before I shared and just in case, tested it again just now and it stopped. I won't mess with it anymore, because it's working haha
I tried that macro you mentioned. It does work with my Found Image action. Now here's the thing (and maybe that's why the OS is relevant here: at the end of the macro you have the Quit Notes action, but Notes never quit so there's something not working.
But it's ok, because I don't care if Notes keeps running.
The version I shared is working 100% on my end, so I will leave it like that
Don't worry about it. You've done a great job. You can leave the house again for 5 minutes hahah
And what happens when you hit Tab in a "standard" OS dialog, like "Open" or "Save" -- does it behave properly there?
This isn't an OS issue -- the macro works fine in 10.13, 10.14, 10.15, 11 and 12 (I have too many test OSs!) -- but something specific to your setup. You may, or may not, want to spend the time to find out what!