Clipboard manager + styles

Try Ditto Clipboard Manager.

https://ditto-cp.sourceforge.io/

1 Like

Thanks @Mad_Girl_Disease .

Ditto is indeed an excellent clipboard manager.
I have it installed, I use it regularly, and it is pretty much the first one I’ve tried for that purpose.
But it does unfortunately like all the other ones I found that were able to retain style assignation: it forgets that part on a computer reboot.

[EDIT] Just for the sake of being accurate, I went back and tried it again: it doesn’t even retain style to begin with.
Not to diminish how convenient it is for standard usage. :wink:

That is not my experience at all.

I find that Ditto retains formatting across reboots.

It has an option to paste as plain text, which I have set for Shift+Enter.

It definitely does what you’re looking for. I don’t see a setting that would turn off formatting retention. But maybe look under the Supported Types tab. Mine says

CF_DIB
CF_HDROP
CF_TEXT
CF_UNICODETEXT
HTML Format
Rich Text Format

image

image

image

My supported formats match. Then what ?

If somewhere there is an option to get it to paste properly, I don’t see it.

I updated my previous post with a screenshot showing the full clipboard results of a styled copy from Scrivener, with the MIME type you’d want to whitelist to long-term storage, for any tool that lets you do that: application/scrivener.markuprtf. You’d probably also want *.styleuuidlist and *.stylelist, particularly for cross-project pasting.

1 Like

Thanks @AmberV
This is all gibberish to me, but I will look into it with a rested head.

It’s gibberish to me too.

When I referred to using Shift+Enter to paste plain, that set in Ditto. In Scrivener, I have Ctrl+Shift+V set to paste plain.

I haven’t set anything special in either Scrivener and or Word to get Ditto to work with them as desired/expected.

FYI, pasting from Scrivener into gmail or a google doc strips all formatting. That doesn’t seem to be a factor here, but worth knowing when testing these things.

Ok.
Note that what I am trying to have my paste back retain is the style assignation of the original snippet. Not some highlight, or any font attributes – just so we understand each other.

I see. The Scrivener style assignation behind the rendered text. That was not fully understood when I posted. My enthusiasm for Ditto got the better of me. I so depend on it!

In that case, unfortunately, yes, in Ditto the named style assignment is retained only so long as it remains the last-copied item in the queue. I had never encountered that in Scrivener or noticed it.

In Word, using Ditto, it appears to work as expected.

Interesting about scratch pad.

I like the AHK approaches. Maybe using Scrivener’s bookmarks panel to open each snippet as a document in the other editor?

But it looks like a solution has been found!

1 Like