PayloadKit

Login Window: Scripts

com.apple.mcxloginscripts

The payload that configures scripts to run at login and logout.

macOS
macOS 10.7+combined

Configuration Keys (4)

KeyTypeTitle
loginscripts

An array of one or more dictionaries of scripts to run at user login time.

Range: 1 – —

arrayLogin script
skipLoginHook

If 'true', the system doesn't execute the login scripts during login.

Default: false

booleanExecute the Mac computer's LoginHook script
logoutscripts

An array of one or more dictionaries of scripts to run at user logout time.

Range: 1 – —

arrayLogout script
skipLogoutHook

If 'true', the system doesn't execute the logout scripts during logout.

Default: false

booleanExecute the Mac computer's LogoutHook script
ScriptsItemsrequired

A dictionary of login scripts.

dictLogin Script
filenamerequired

The filename for display purposes.

stringName
filedatarequired

The UTF-8 encoded data object representing the executable script.

dataScript
ScriptsItemsrequired

A dictionary of login scripts.

dictLogout Script
filenamerequired

The filename for display purposes.

stringName
filedatarequired

The UTF-8 encoded data object representing the executable script.

dataScript