Browse the docs

clipboardFlavors

Lists the formats (flavors) the clipboard holds right now, one per line.

Keyboard Maestro: SystemClipboardFlavors, TriggerClipboardFlavors

Details #

clipboardFlavors() takes no arguments and returns text: the type identifiers on the system clipboard, one per line, for example public.utf8-plain-text. Empty text when the clipboard is empty.

Parameters #

Takes 0 arguments. {{ clipboardFlavors() }}

Examples #

clipboardFlavors()
→
contains(clipboardFlavors(), "public.png")
→ false

Gotchas #

  • Takes no arguments.

  • %TriggerClipboardFlavors% imports as this too, so it reports the current clipboard, not the one at trigger time.