Save clipboard text AND images to a file

I'd like to be able to copy an article that includes both text and images and save this content to a file (either .doc or .rtf).

If I paste the content directly into a word document, it includes both the text and images, but if I use the "write to file" action with format .doc or .rtf, the images are missing. Is there a way around this?

As in copy something from a web page ?


Might be worth looking at something like:

gildas-lormeau/SingleFile: Web Extension for saving a faithful copy of a complete web page in a single HTML file

1 Like

Yes, as in I would make a selection that includes text and images then press cmd+c.

Not typical, I think, for browsers to create mixed graphic and textual pasteboards on ⌘A ⌘C

You might need to use a browser extension like SingleFile (above).

1 Like

Does the file have to be either .doc or .rtf? Printing/exporting a page as a PDF is built into some Web browsers, for instance, Safari (and other browsers that use WebKit).

2 Likes

That's because the clipboard contains the "public.html" flavour -- Word is effectively translating the HTML from the page, downloading any images, and recreating the web page in the document. You can't write that flavour to disk, so you are left with the text only.

If you don't want the whole page then your best bet is probably to automate the "copy, paste into a new Word doc, save Word doc, close Word doc" that you are doing manually at the moment.

1 Like