Login Window: Scripts
com.apple.mcxloginscripts
The payload that configures scripts to run at login and logout.
macOS
macOS 10.7+combinedConfiguration Keys (4)
| Key | Type | Title |
|---|---|---|
loginscriptsAn array of one or more dictionaries of scripts to run at user login time. Range: 1 – — | array | Login script |
skipLoginHookIf 'true', the system doesn't execute the login scripts during login. Default: false | boolean | Execute the Mac computer's LoginHook script |
logoutscriptsAn array of one or more dictionaries of scripts to run at user logout time. Range: 1 – — | array | Logout script |
skipLogoutHookIf 'true', the system doesn't execute the logout scripts during logout. Default: false | boolean | Execute the Mac computer's LogoutHook script |
ScriptsItemsrequiredA dictionary of login scripts. | dict | Login Script |
filenamerequiredThe filename for display purposes. | string | Name |
filedatarequiredThe UTF-8 encoded data object representing the executable script. | data | Script |
ScriptsItemsrequiredA dictionary of login scripts. | dict | Logout Script |
filenamerequiredThe filename for display purposes. | string | Name |
filedatarequiredThe UTF-8 encoded data object representing the executable script. | data | Script |