macName
Returns the Mac's computer name.
Keyboard Maestro: MacName
Details #
macName() takes no arguments and returns text: the name shown in System Settings under Sharing, such as Kyle's iMac.
Parameters #
Takes 0 arguments.
{{ macName() }}
Examples #
macName()→
Gotchas #
Calling it with any argument is an error:
macName() takes 0 arguments, got 1.When no real Mac is behind it (tests, previews) or the Mac can't answer, it returns empty text.