29.12.2017 - I tested the following under macOS 10.13.1 and OS X 10.8.6. osascript -e 'tell application "System Events" to make login item at end with .