clipboardSeed
Returns a number that changes whenever the clipboard changes.
Keyboard Maestro: CLIPBOARDSEED
Details #
clipboardSeed() takes no arguments and returns a number: the system clipboard's change count. It goes up each time anything is copied, so read it, copy something, read it again and compare the two to learn whether the clipboard changed.
Parameters #
Takes 0 arguments.
{{ clipboardSeed() }}
Examples #
clipboardSeed()→
0Gotchas #
The value means nothing on its own; only compare it with an earlier reading.
The count restarts after a restart or logout, so don't save it for later.