[Solved] Notes App: Apply Color to Selected Text?

Is there a way to change the color of selected text in Notes app?

read some forum entries, and it seems like Notes doesn't allow it, but, there's a Copy Style, and Paste and Retain Style, but haven't found a way to use them successfully.

Screen Shot 2020-12-10 at 5.36 PM

this won't work:

image

Weird...

You can use the color-picker.

C

And that can be automated to an extent.

As far as I can see it's NOT possible to use a saved clipboard to save a style and then use Paste-Style.

If you want this bad enough drop in on the Script Debugger Forum, and ask if it's possible to set the Syle-Pasteboard with AppleScriptObjC.

I can get styles to paste between TextEdit and Notes...

-Chris

Thanks @ccstone, thought about going the AppleScript route, maybe for v2 :slight_smile:

Had this itch, couldn't get out the idea of using a saved clipboard with a red style in it, so wrote this down, and when I got back to my computer it worked on almost my first attempt :smiley:

"Notes Style", just a simple red text:
Screen Shot 2020-12-11 at 9.03 AM

Macro:
image

Now if only text wrote itself ha!

Good deal.

That method didn't work for me on macOS 10.12.6 Sierra.

What macOS are you using?

And where did you grab the text swatch from?

-Chris

Worked on MacOS Catalina 10.15.7
Text swatch: grabbed it from Notes (added format to a text, copied to clipboard then pasted it as new in Preferences>Clipboard)

I just tried it out on my MacBook Air running Mojave, and it worked!

All I had to do was this:

Apply Style to Text in Notes.app v1.00.kmmacros (5.1 KB)

It worked on the selected text, and it worked if NO text was selected – so I could initiate a style with no text selected.

-Chris

1 Like

WHOA
this one is 10x much better

thanks!

1 Like

hmmm... oddly enough this macro stopped working after latest Catalina security update...

the previous convoluted one still works

Apple Notes: This is what is working for me, but I would love something simpler. I am trying to append a date stamp in apple notes and match the header size font size with lavender color. The "xmm" is a text expander snippet for date stamp of "// 03-26". So make sure to change the typed text to "// MM/DD".

Two Slashes, Date, and Color.kmmacros (682.9 KB)

The move and click macro will from time to time simply not work. Thus are there any other ways to do this?

I tried the above on BigSur | KBM 9.2 | Toggled Security, however, the clipboard style reverts any styling I add to clipboard history.

All of you are my heroes in how you are solving for these challenges.

Here is an image of my Move and Click Action.

seems like you need to add a Open Menu before the click:

image

Noob here, but how does that differ between the keyboard shortcut of "cmd+shift+c". Also, the menu item shifts (Show Colors / Hide Colors) based on if the color palate is already visible, so I do not know if the macro fails because of the menu item or how to diagnose. w/ cmd+shit+c at least it goes away and I can re-run the macro.

Thank you so much for your help @hello

I see, I use it to center-align text.

This macro below just pastes date and adds color to header:

Note: uploaded in Disabled state, you'll need to enable it

Two Slashes, Date, and Color.kmmacros (684.9 KB)

I disabled some actions, hopefully will be useful as a starting point