Token or Function to state operating system version

I would like to create a macro which is triggered by Typed String Trigger which shows the current version of macOS using a Function or a Token.


macOS 10.12.5.

Does Keyboard Maestro have a Token or Function which can show this?

There’s no built-in token for this, but you may able to tweak one of these macros to achieve it: Paste System Info (min, med, or max)

Hey Victor,

No. But it's easy enough to get with AppleScript or the shell.

The trigger for this is “osv ” (note the space).

Insert macOS Version.kmmacros (3.1 KB)


1 Like

Chris and gglick,

Thank you very much for the responses.