Change macros based on clipboard type

I have a ton of macros that let me adjust behavior on paste. The problem is that the quantity of these macros has become, at best, unwieldy.

This macro goes through a series of if/then statements to try to determine if the clipboard is plain text, rich text, a URL, html, or an image, and enables/disables macro groups accordingly.

This goes right along with my paste-special macros which open a palette of lots of paste options. If you sort these into different groups, you'll get a smaller list.

Adjust for your own macro groups and enjoy!

Set Clipboard Context.kmmacros (10 KB)


Hi, this looks really useful. Would I be able to change the macros though based on if the clipboard contains a .jpg or .gif image?

Thanks, Richard