I've got a named clipboard with fomatted text and images. I have a macro that pastes that clipboard into Mail.app. I built the macro using some tricks from this thread. In the past it would paste rich text, but today it's pasting plain text.
When I look at the text in Preferences > Clipboard I see my images and formatted text.
Things I've tried:
If I select all the text in Preferences > Clipboard, copy, and paste into Mail.app or TextEdit.app the formatting and images disappear.
If I copy the named clipboard to the system clipboard and paste into Mail.app or TextEdit.app the formatting and images disappear.
If I drag the icon next to the named named clipboard to the system clipboard into Mail.app or TextEdit.app the formatting and images are there.
Thanks. I tried that and it worked a few times, but then I lost the rich text. I kept going and just tried it again. What I found is that it would happen intermittently. Every 2nd-4th time. The lack of rich text might repeat a few times, then I could paste rich text again. I couldn't find a pattern to make sense of it.
I'm using Version 9.2 of Keyboard Maestro
macOS version 11.6
If I deleted the plain text version at the top, it would re-appear.
Now I can't get it to repeat. What shows up in the clipboard history is plain text, every time. No matter where I copy from, that i know has rich text, it shows up as plain text. I do have earlier entries that will, sometimes, show up as rich text that were part of the script I've been working on.
Images copy fine.
I once worked in Q.A. but I am not sure how to track this down or what to try! Any ideas are welcome.
Yes. I made sure the mail.app settings were to open new emails in rich text mode. But then I started going back to see what was being copied. I've noticed this in other applications too so I think it's being copied as plain text.
Great question and I think this is narrowing it down.
I made a quick macro using your Clipboard View (well done by the way). Mine simply activates text edit where I have some rich text, copies what's selected, then runs your macro.
The result is:
"public.utf8-plain-text as string": "This is rich text.",
"public.utf8-plain-text as data": "This is rich text."
So it seems to be only copying in plain text right?
If so, I'm wondering what setting I may have set or program I may be running that would do this? It's happening on my laptop and desktop (though I did copy over a lot of settings).
I heard about TrackerZapper way back when and thought "why not". I have had it running since. But suddenly it was suspect!
I turned it off – I could copy rich text! I updated TrackerZapper – just to see – and I could copy rich text! So I had an old version of TrackerZapper running and just forgot about it. Ugh.
However, @ComplexPoint and others, your help was not in vain! I only really noticed this show up when I was running these macros. By being able to eliminate Keyboard Maestro I was able to narrow it down. (Still not sure why it was intermittent, but I'm ok not knowing now that it's solved.)