Enable a helper application located in the main application bundle's Contents/Library/LoginItems directory.
Boolean SMLoginItemSetEnabled( CFStringRef identifier, Boolean enabled);
The bundle identifier of the helper application bundle.
The Boolean enabled state of the helper application. This value is effective only for the currently logged in user. If true, the helper application will be started immediately (and upon subsequent logins) and kept running. If false, the helper application will no longer be kept running.
Returns true if the requested change has taken effect.