userHome
Returns the path of the current user's home folder.
Keyboard Maestro: UserHome
Details #
userHome() takes no arguments and returns text: the full path of the home folder of the user running Switchboard, such as /Users/ada. There is no trailing slash.
Parameters #
Takes 0 arguments.
{{ userHome() }}
Examples #
userHome()→
userHome() + "/Documents"→
/DocumentsGotchas #
Calling it with an argument is an error:
userHome() takes 0 arguments, got 1.It is the home folder of the Switchboard engine's user, which is normally you.