Is there any way to remove images from the clipboard without changing the style of the text?
The filter remove style is able to remove the images (seems to change the whole clipboard to plain text). But, I don't want that because I want to keep the text styles. I just want to filter the images from the clipboard, and past the rest.
Is there any ways of removing/deleting images from the clipboard?
I am learning a new language. I want to study the example sentences from Glosbe. But, there are some annoying images that come with the text. I was thinking if there is any way of filtering out those images.
Write the clipboard to an RTF file, and then read the read the file back to the clipboard. RTF supports styles, but not images (RTFD supports styles and images) so this should generally retain (most of) the styles while dropping the images.
Thanks for linking to Shane's script for me. I came back here to do this just now and realized you had beat me to it haha.
For anybody else who stumbles across this thread, the link @ccstone linked to is to a question I posted on the Script Debugger forum, where an AppleScript was provided that accomplishes removing images from the clipboard without removing text styles.
In my limited testing, it works fine, albeit slightly slower than the RTF method that @peternlewis provided. Approximately 0.4 seconds slower. Very minimal, but if speed is your game, then the RTF method might be better suited for you.